mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-08-13 05:51:39 +02:00
* ex * add mouse drag * more lenient values * use tp == * skip mouse move windows CI * fix dragging to edges * fix for pyqt6 * comment out tests
13 lines
258 B
Python
13 lines
258 B
Python
from qtrangeslider import QRangeSlider
|
|
from qtrangeslider.qtcompat.QtCore import Qt
|
|
from qtrangeslider.qtcompat.QtWidgets import QApplication
|
|
|
|
app = QApplication([])
|
|
|
|
slider = QRangeSlider(Qt.Horizontal)
|
|
|
|
slider.setValue((20, 80))
|
|
slider.show()
|
|
|
|
app.exec_()
|