Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yjg30737/pyqt-modern-slider

PyQt modern styled slider
https://github.com/yjg30737/pyqt-modern-slider

modern-slider pyqt pyqt-examples pyqt5 qslider qt qt5

Last synced: 3 days ago
JSON representation

PyQt modern styled slider

Awesome Lists containing this project

README

        

# pyqt-modern-slider
PyQt modern styled slider

## Requirements
* PyQt5 >= 5.8

## Setup
`python -m pip install pyqt-modern-slider`

## Example
```python
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

![image](https://user-images.githubusercontent.com/55078043/180106917-8d1fc889-b748-4213-aa68-42f4af00cd72.png)

## See Also
* pyqt-media-slider - QSlider which is good to use in media player
* pyqt-label-slider - QSlider which is connected with QLabel