mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-08-09 03:51:38 +02:00
* wip * wip * more wip * progress * more docs * more changes * add link * more examples and improvements * fix check-manifest * sort members * remove autogen images * remove _images * add font docs * add link to utils
15 lines
270 B
Python
15 lines
270 B
Python
from qtpy.QtCore import Qt
|
|
from qtpy.QtWidgets import QApplication
|
|
|
|
from superqt import QDoubleSlider
|
|
|
|
app = QApplication([])
|
|
|
|
slider = QDoubleSlider(Qt.Orientation.Horizontal)
|
|
slider.setRange(0, 1)
|
|
slider.setValue(0.5)
|
|
slider.resize(500, 50)
|
|
slider.show()
|
|
|
|
app.exec_()
|