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
pip3 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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e950918b84b8943830cea2d2db9a2e77d031e3bed18ed4d57ff4aceb868ea0 |
|
MD5 | 388a32b98f45c45a0a268bfe73e28977 |
|
BLAKE2b-256 | ec33ec3aefffcc7b373826445ef3ead5cf5da76514dbfaec2db38c6adc8e5886 |
Close
Hashes for pyqt_resource_helper-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72249532084fffb63b831fa7a7e1b4b9b09275735c13cc6807591884b8868b3a |
|
MD5 | 77ff72592bf1e894152fae68b4a6f496 |
|
BLAKE2b-256 | d08e8390deff7c707baa619993371ded13a34d5db87a2d4233c08b8cf2b9f50d |