A collection of themes for Qt applications in Python.
Project description
qt-themes
This is a collection of themes for Qt in Python.
The color schemes are applied with a QPalette which avoids the conflicts that can happen when using stylesheets.
Installation
Install using pip:
pip install qt-themes
Usage
Apply a theme for the QApplication:
from PySide6 import QtWidgets
import qt_themes
app = QtWidgets.QApplication()
qt_themes.set_theme('nord')
widget = QtWidgets.QWidget()
widget.show()
app.exec()
Get a color from a theme:
import qt_themes
theme = qt_themes.get_theme('atom_one')
green = theme.green
Additional themes can be provided using the environment variable QT_THEMES.
Themes
These are some of the themes that are included in the package.
Contributing
To contribute please refer to the Contributing Guide.
License
MIT License. Copyright 2024 - Beat Reichenbach. See the License file for details.
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 qt_themes-0.3.0.tar.gz.
File metadata
- Download URL: qt_themes-0.3.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06eaa3c9a5feb5738f382f0093e09ad4c2d6865edf8c3421d7240f1472966223
|
|
| MD5 |
dbb67a1efa958655ac029619f0751d84
|
|
| BLAKE2b-256 |
fd68fda9ba495ca278846c139c7983c0e82159d327c7854ebcf00b4db6551716
|
Provenance
The following attestation bundles were made for qt_themes-0.3.0.tar.gz:
Publisher:
publish.yml on beatreichenbach/qt-themes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qt_themes-0.3.0.tar.gz -
Subject digest:
06eaa3c9a5feb5738f382f0093e09ad4c2d6865edf8c3421d7240f1472966223 - Sigstore transparency entry: 178128626
- Sigstore integration time:
-
Permalink:
beatreichenbach/qt-themes@df73b5a19b556ea0228550194dcef1484017db30 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/beatreichenbach
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@df73b5a19b556ea0228550194dcef1484017db30 -
Trigger Event:
release
-
Statement type:
File details
Details for the file qt_themes-0.3.0-py3-none-any.whl.
File metadata
- Download URL: qt_themes-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc8567ee00cd369b9bd81abdc18c15a724938a7e0c46456865de92b72c96180d
|
|
| MD5 |
05a03cd367cff9e93b9bdfc1f18fe0f6
|
|
| BLAKE2b-256 |
eaf1cad6cc5ddb6824dc77a8bd1c10c30a716734d78cef7fcb4160898ff1b4a1
|
Provenance
The following attestation bundles were made for qt_themes-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on beatreichenbach/qt-themes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qt_themes-0.3.0-py3-none-any.whl -
Subject digest:
fc8567ee00cd369b9bd81abdc18c15a724938a7e0c46456865de92b72c96180d - Sigstore transparency entry: 178128629
- Sigstore integration time:
-
Permalink:
beatreichenbach/qt-themes@df73b5a19b556ea0228550194dcef1484017db30 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/beatreichenbach
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@df73b5a19b556ea0228550194dcef1484017db30 -
Trigger Event:
release
-
Statement type: