Modern styles for PyQt5.
Project description
About
This package provides a modern light and dark theme for PyQt5. I made this because I was not satisfied with alternatives:
- qtmodern overrides QPalette but I needed a purely stylesheet-based solution
- QDarkStyleSheet and BreezeStyleSheets had some visual bugs and a different aesthetic than what I wanted
Screenshots
Installation
pip install qtstylish
Usage
import qtstylish
my_widget.setStyleSheet(qtstylish.light())
More Info
- Works best with app style set to Fusion
- Icons are mostly modified from https://github.com/microsoft/fluentui-system-icons
- Uses qtsass for compiling to QSS https://github.com/spyder-ide/qtsass
- Took some SCSS & ideas from https://github.com/ColinDuquesnoy/QDarkStyleSheet and https://github.com/Alexhuszagh/BreezeStyleSheets
Alternatives
- QDarkStyleSheet
- BreezeStyleSheets
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qtstylish-0.1.5.tar.gz
(983.9 kB
view details)
File details
Details for the file qtstylish-0.1.5.tar.gz
.
File metadata
- Download URL: qtstylish-0.1.5.tar.gz
- Upload date:
- Size: 983.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3402562d8b92d0de3706a8478323a998bfe92f29572bdf07ef205895b1a1a29a |
|
MD5 | 0b148f85832cb63ad1cd14022f3bfcc5 |
|
BLAKE2b-256 | b5b677b24a0111fbfa7f1822c70070c91f0f00fcda696f35ecc13e806e0ac54d |