pyqt-resource-helper
Setting icons, stylesheets of imported packages based on main module's path to prevent FileNotFoundError
Requirements
PyQt5 >= 5.8
Setup
python -m pip install pyqt-resource-helper
Usage
# set the icon
PyQtResourceHelper.setIcon([closeBtn], ['ico/close.png'])
# set the style
PyQtResourceHelper.setStyleSheet([closeBtn], ['style/button.css'])
Metadata
Release files for pyqt-resource-helper 0.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyqt-resource-helper-0.0.14.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyqt_resource_helper-0.0.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / pyqt-resource-helper-0.0.14.tar.gz
| Download URL | pyqt-resource-helper-0.0.14.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b64720296bbc49bee9bc913892ad3ef4343e20978c45f7498b33060567127a5
|
|
BLAKE2b-256 checksum How to use checksums |
196258b467fafb961f9822d5ccb25ba6c66049808f3ade54c5bdbec7c1938261
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Release files / pyqt_resource_helper-0.0.14-py3-none-any.whl
| Download URL | pyqt_resource_helper-0.0.14-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e846b0125f0356d05d44555f8553ac42b11bcbbb010e1df6adf06b0406a54091
|
|
BLAKE2b-256 checksum How to use checksums |
776a79481cf93990bd49c2a110236496cc267f2de47d1670fa2dbbbdd1a5a3bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|