Skip to main content

pyqt-label-slider

PyQt QSlider with QLabel(QLabel is on the left side, QSlider is on the right side, horizontal direction only) QLabel's value synchronizes with QSlider's value.

Requirements

PyQt5 >= 5.8

Setup

python pip -m install pyqt-label-slider

Usage

  • getSlider() to get QSlider.

  • getLabel() to get QLabel.

Note

  • Tick interval is set at 10.

Example

Code Sample

from PyQt5.QtWidgets import QApplication, QMainWindow

from pyqt_label_slider.labelSlider import LabelSlider





class Example(QMainWindow):

    def __init__(self):

        super().__init__()

        self.__initUi()



    def __initUi(self):

        widget = LabelSlider()

        slider = widget.getSlider()

        slider.setMaximumWidth(150)

        slider.setRange(10, 200)

        self.setCentralWidget(widget)





if __name__ == "__main__":

    import sys



    app = QApplication(sys.argv)

    ex = Example()

    ex.show()

    sys.exit(app.exec_())

Result

https://user-images.githubusercontent.com/55078043/148164060-30f842f1-a64e-4553-abba-f37c7d0f8365.mp4

Metadata

Release files for pyqt-label-slider 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyqt-label-slider 0.0.1
File Size Uploaded Provenance Actions
pyqt-label-slider-0.0.1.tar.gz 2.8 kB Without provenance Details for pyqt-label-slider-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyqt-label-slider 0.0.1
File Interpreter ABI Platform Actions
pyqt_label_slider-0.0.1-py3-none-any.whl Python 3 none any Details for pyqt_label_slider-0.0.1-py3-none-any.whl

Total release size: 6.3 kB

Release files / pyqt-label-slider-0.0.1.tar.gz

Download URL pyqt-label-slider-0.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
85b50123b48a169cd9a263da7e64b9f117f8445727f9e69cfe4734803a3ddf59
BLAKE2b-256 checksum
How to use checksums
e166efef0717ad87a1c4ab5414b73e85eab0e300718733d255c0cd90b675716c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.7.6

Release files / pyqt_label_slider-0.0.1-py3-none-any.whl

Download URL pyqt_label_slider-0.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3fd171ad8c0e33a3f824939b536556ed08e3f279c9bfe3bcf1867520573f202
BLAKE2b-256 checksum
How to use checksums
2f50ede094859add05b7774e59f2c62673c1fe599beb119f23fac2352a905429
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.7.6

Security for pyqt-label-slider 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page