mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-12-15 18:50:05 +01:00
* remove qtcompat * change imports * change codecov * add dep * run tests against dalthviz branch * update * more replace * pin pyside6 for sake of test * add deprecation * drop qt 5.11 * unpin pyside6
14 lines
228 B
Python
14 lines
228 B
Python
from qtpy.QtWidgets import QApplication
|
|
|
|
from superqt import QRangeSlider
|
|
|
|
app = QApplication([])
|
|
|
|
slider = QRangeSlider()
|
|
slider.setMinimum(0)
|
|
slider.setMaximum(200)
|
|
slider.setValue((0, 40, 80, 160))
|
|
slider.show()
|
|
|
|
app.exec_()
|