Skip to main content

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

pyqt-resource-helper-0.0.14.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

pyqt_resource_helper-0.0.14-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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

Hashes for pyqt-resource-helper-0.0.14.tar.gz
Algorithm Hash digest
SHA256 7b64720296bbc49bee9bc913892ad3ef4343e20978c45f7498b33060567127a5
MD5 fa2c64e7bb11ba56c8c034f0a0d9ecfb
BLAKE2b-256 196258b467fafb961f9822d5ccb25ba6c66049808f3ade54c5bdbec7c1938261

See more details on using hashes here.

File details

Details for the file pyqt_resource_helper-0.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for pyqt_resource_helper-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 e846b0125f0356d05d44555f8553ac42b11bcbbb010e1df6adf06b0406a54091
MD5 95c5b9048fcc450f5588bc1e15bdf151
BLAKE2b-256 776a79481cf93990bd49c2a110236496cc267f2de47d1670fa2dbbbdd1a5a3bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page