Skip to main content

style qt like Blender

Project description

Blender Qt stylesheet

PyPI version latest tag

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
image image image
notice bug with dial and scrollbar
Default qt style PySide6 fusion style
image image

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blender-qt-stylesheet-0.0.3.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

blender_qt_stylesheet-0.0.3-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

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

Hashes for blender-qt-stylesheet-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b84ca21b70bbfeb0fd1b89bf77c7c79f1eb766d73110bcf9a2ba7b2c9ff577a0
MD5 2a0be0c6c2082a02cdcd756b5fd90f49
BLAKE2b-256 57c752cd7750e6903afb279c968f63a5a2711923d1af01a63b62a1f575e247c1

See more details on using hashes here.

File details

Details for the file blender_qt_stylesheet-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for blender_qt_stylesheet-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f89864645fb19af2e41c8895ff00ad042dd0e5c40923a5bdf176099d72769477
MD5 523f20e007eafbaba599ffd7080ebc23
BLAKE2b-256 ec36008533dc3738699f37a424ce33e8a6ffdcdc20a0a94877e41676bf0d917c

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