mirror of
https://github.com/pythonguis/pythonguis-examples.git
synced 2025-01-13 16:42:55 +08:00
b74592ea41
Break down examples into module files to make easier to read. Use full-definitions on Enums (PyQt6 compatible, better documenting). Add fixes for Qt6 versions & some general bugfixes.
13 lines
205 B
Python
13 lines
205 B
Python
import sys
|
|
|
|
from PyQt6.QtWidgets import QApplication
|
|
from range_slider import RangeSlider
|
|
|
|
app = QApplication(sys.argv)
|
|
|
|
slider = RangeSlider()
|
|
slider.valueChanged.connect(print)
|
|
slider.show()
|
|
|
|
app.exec()
|