pyqt-color-button
Circle-shaped color button
Requirements
- PyQt5 >= 5.8
Setup
python -m pip install pyqt-color-button
Class and Method Overview
Constructor - ColorButton(size=20, r=255, g=255, b=255)
You can make a new instance of ColorButton like below.
btn = ColorButton(size=40, r=0, g=0, b=0)
Size argument is value(px) of border-radius, color is value of background-color.
With setColor(rgb: tuple) or setColor(rgb: QColor), you can set the color after you made a new instance.
getColor() let you get the current color of the box.
There is colorChanged(QColor) signal to detect the color of box changed.
Preview
Metadata
Release files for pyqt-color-button 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyqt-color-button-0.0.1.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyqt_color_button-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Security for pyqt-color-button 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.