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
Close
Hashes for pyqt-resource-helper-0.0.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38fd46ccc271a8b85a927cecafa3decce745af6282596f659a5157654240ee70 |
|
MD5 | 984d984d0b35d487fb130fa360c8d1d5 |
|
BLAKE2b-256 | c3478d1908798b07cb28a6a4fdcf8e7207790f16e79834a39a1583bac86e73c6 |
Close
Hashes for pyqt_resource_helper-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e861d91ac4bd91988e67b877326062492e4feb66d8015be4edf4b77632d94b1e |
|
MD5 | 675ab8457dc8f42170ef8cff020a1221 |
|
BLAKE2b-256 | 5388e86965ad04f397d7fb448fa7b7043b7a9135960162d1388ca30b6ce46c44 |