mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-07-21 20:21:07 +02:00
* add other modules * add qtsvg * more changes for qt6 support * add qaction * more enum namespacing * more ns fixes * updating qtcompat * more minimal * wip * update typing * fix one more namespace * update types * update exports * add stubs * fix * fix exec
14 lines
301 B
Python
14 lines
301 B
Python
from superqt import QRangeSlider
|
|
from superqt.qtcompat.QtCore import Qt
|
|
from superqt.qtcompat.QtWidgets import QApplication
|
|
|
|
app = QApplication([])
|
|
|
|
slider = QRangeSlider(Qt.Orientation.Horizontal)
|
|
slider = QRangeSlider(Qt.Orientation.Horizontal)
|
|
|
|
slider.setValue((20, 80))
|
|
slider.show()
|
|
|
|
app.exec_()
|