PyQt modern styled slider
- PyQt5 >= 5.8
python -m pip install pyqt-modern-slider
from PyQt5.QtWidgets import QApplication, QVBoxLayout, QPushButton, QWidget
from pyqt_modern_slider import ModernSlider
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
example = ModernSlider()
btn = QPushButton('Play')
lay = QVBoxLayout()
lay.addWidget(example)
lay.addWidget(btn)
mainWidget = QWidget()
mainWidget.setLayout(lay)
mainWidget.show()
app.exec_()
Preview
- pyqt-media-slider - QSlider which is good to use in media player
- pyqt-label-slider - QSlider which is connected with QLabel