add support for PyQt6 and PySide6

This commit is contained in:
Talley Lambert
2021-04-24 11:36:31 -04:00
parent 0f1be2fe89
commit cec8a7f7d0
11 changed files with 331 additions and 15 deletions

14
examples/basic.py Normal file
View File

@@ -0,0 +1,14 @@
from pyqrangeslider import QRangeSlider
from pyqrangeslider.qtcompat import API_NAME
from pyqrangeslider.qtcompat.QtWidgets import QApplication
print(API_NAME)
app = QApplication([])
slider = QRangeSlider()
slider.setMinimum(0)
slider.setMaximum(100)
slider.setValue((20, 80))
slider.show()
app.exec_()