Welcome to qt-range-slider’s documentation!¶
QtRangeSlider¶
-
class
qt_range_slider.
QtRangeSlider
(parent, left_value, right_value, left_thumb_value=0, right_thumb_value=None)¶ QtRangeSlider is a class which implements a slider with 2 thumbs.
Methods
__init__ (self, QWidget parent, left_value, right_value, left_thumb_value=0, right_thumb_value=None)
set_left_thumb_value (self, int value):
set_right_thumb_value (self, int value):
(int) get_left_thumb_value (self):
(int) get_right_thumb_value (self):
Signals
left_thumb_value_changed (int)
right_thumb_value_changed (int)
-
__init__
(parent, left_value, right_value, left_thumb_value=0, right_thumb_value=None)¶ Blah blah blah.
- Parameters
name – A string to assign to the name instance attribute.
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
paintEvent
(self, QPaintEvent)¶
-
sizeHint
(self) → QSize¶