QLabeledDoubleRangeSlider#
Labeled Float variant of QRangeSlider
. (see that page for more details).
from qtpy.QtCore import Qt
from qtpy.QtWidgets import QApplication
from superqt import QLabeledDoubleRangeSlider
app = QApplication([])
slider = QLabeledDoubleRangeSlider(Qt.Orientation.Horizontal)
slider.setRange(0, 1)
slider.setValue((0.2, 0.8))
slider.show()
app.exec_()
Qt Class#
Enums#
QLabeledDoubleRangeSlider.EdgeLabelMode
#
-
LabelIsRange
-
LabelIsValue
QLabeledDoubleRangeSlider.LabelPosition
#
-
NoLabel
-
LabelsAbove
-
LabelsBelow