Setting icons, stylesheets of imported packages based on main module to prevent FileNotFoundError
Project description
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'])
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyqt-resource-helper-0.0.14.tar.gz.
File metadata
- Download URL: pyqt-resource-helper-0.0.14.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b64720296bbc49bee9bc913892ad3ef4343e20978c45f7498b33060567127a5
|
|
| MD5 |
fa2c64e7bb11ba56c8c034f0a0d9ecfb
|
|
| BLAKE2b-256 |
196258b467fafb961f9822d5ccb25ba6c66049808f3ade54c5bdbec7c1938261
|
File details
Details for the file pyqt_resource_helper-0.0.14-py3-none-any.whl.
File metadata
- Download URL: pyqt_resource_helper-0.0.14-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e846b0125f0356d05d44555f8553ac42b11bcbbb010e1df6adf06b0406a54091
|
|
| MD5 |
95c5b9048fcc450f5588bc1e15bdf151
|
|
| BLAKE2b-256 |
776a79481cf93990bd49c2a110236496cc267f2de47d1670fa2dbbbdd1a5a3bc
|