mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-07-21 04:01:07 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e8594d8b40 | ||
|
01f496bc18 | ||
|
75b29bc600 |
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
# pyproject.toml
|
||||
[build-system]
|
||||
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
|
@@ -35,17 +35,16 @@ class QRangeSlider(QSlider):
|
||||
sliderMoved = Signal(tuple)
|
||||
|
||||
_NULL_CTRL = ("None", -1)
|
||||
_DEFAULT_VALUE = (20, 80)
|
||||
|
||||
def __init__(self, *args):
|
||||
super().__init__(*args)
|
||||
|
||||
# list of values
|
||||
self._value: List[int] = self._DEFAULT_VALUE
|
||||
self._value: List[int] = [20, 80]
|
||||
|
||||
# list of current positions of each handle. same length as _value
|
||||
# If tracking is enabled (the default) this will be identical to _value
|
||||
self._position: List[int] = self._DEFAULT_VALUE
|
||||
self._position: List[int] = [20, 80]
|
||||
self._pressedControl: ControlType = self._NULL_CTRL
|
||||
self._hoverControl: ControlType = self._NULL_CTRL
|
||||
|
||||
|
@@ -45,8 +45,7 @@ testing =
|
||||
tox
|
||||
tox-conda
|
||||
pytest
|
||||
# https://github.com/pytest-dev/pytest-qt/pull/340
|
||||
pytest-qt @ git+https://github.com/The-Compiler/pytest-qt.git@pyqt6
|
||||
pytest-qt
|
||||
pytest-cov
|
||||
dev =
|
||||
ipython
|
||||
|
Reference in New Issue
Block a user