style qt like Blender
Project description
Blender Qt stylesheet
A Blender Qt stylesheet for PySide2, PySide6 PyQt5, PyQt6 (using qtpy)
The top 3 images are this style in PySide6 & PySide2
| Blender PySide6 | Blender PySide2 | Blender PySide2 + dark title bar |
|---|---|---|
| notice bug with dial and scrollbar | ||
| Default qt style | PySide6 fusion style | |
Instructions
import blender_stylesheet
blender_stylesheet.setup()
see example/example.py
Features
- apply dark style to QApplication
- apply Blender Icon to QApplication
Dark title bar in PySide2
Optional in PySide2: Make your title bar dark when creating your QApplication
Happens automatically in PySide6
app = QApplication(sys.argv + ['-platform', 'windows:darkmode=2'])
Ported the original stylesheet from the BQt project, to allow stylesheet use outside Blender.
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
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 blender-qt-stylesheet-0.0.3.tar.gz.
File metadata
- Download URL: blender-qt-stylesheet-0.0.3.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b84ca21b70bbfeb0fd1b89bf77c7c79f1eb766d73110bcf9a2ba7b2c9ff577a0
|
|
| MD5 |
2a0be0c6c2082a02cdcd756b5fd90f49
|
|
| BLAKE2b-256 |
57c752cd7750e6903afb279c968f63a5a2711923d1af01a63b62a1f575e247c1
|
File details
Details for the file blender_qt_stylesheet-0.0.3-py3-none-any.whl.
File metadata
- Download URL: blender_qt_stylesheet-0.0.3-py3-none-any.whl
- Upload date:
- Size: 45.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f89864645fb19af2e41c8895ff00ad042dd0e5c40923a5bdf176099d72769477
|
|
| MD5 |
523f20e007eafbaba599ffd7080ebc23
|
|
| BLAKE2b-256 |
ec36008533dc3738699f37a424ce33e8a6ffdcdc20a0a94877e41676bf0d917c
|