mirror of
https://github.com/pyapp-kit/superqt.git
synced 2026-01-05 03:40:47 +01:00
35 lines
1.5 KiB
Markdown
35 lines
1.5 KiB
Markdown
# PyQRangeSlider
|
|
|
|
[](https://github.com/tlambert03/PyQRangeSlider/raw/master/LICENSE)
|
|
[](https://pypi.org/project/PyQRangeSlider)
|
|
[](https://python.org)
|
|
[](https://github.com/tlambert03/PyQRangeSlider/actions/workflows/test_and_deploy.yml)
|
|
[](https://codecov.io/gh/tlambert03/PyQRangeSlider)
|
|
|
|
Multi-handle range slider widget for PyQt/PySide
|
|
|
|
The goal of this package is to provide a QRangeSlider that feels as "native"
|
|
as possible. Styles should match the OS by default, and the slider should
|
|
behave like a standard QSlider... just with multiple handles.
|
|
|
|
- Supports more than 2 handles (e.g. `slider.setValue([0, 10, 60, 80])`)
|
|
- Attempts to match QSlider API as closely as possible
|
|
- Uses platform-specific styles (for handle, groove, & ticks) but also supports QSS style sheets.
|
|
- Supports mouse wheel and keypress (soon) events
|
|
- Supports PyQt5, PyQt6, PySide2 and PySide6
|
|
|
|
|
|
## Installation
|
|
|
|
You can install `PyQRangeSlider` via pip:
|
|
|
|
pip install pyqrangeslider
|
|
|
|
|
|
## Issues
|
|
|
|
If you encounter any problems, please [file an issue] along with a detailed description.
|
|
|
|
|
|
[file an issue]: https://github.com/tlambert03/PyQRangeSlider/issues
|