Skip to main content

style qt like Blender

Project description

Blender Qt stylesheet

A Blender Qt stylesheet for PySide2.

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.1.tar.gz (39.4 kB view hashes)

Uploaded Source

Built Distribution

blender_qt_stylesheet-0.0.1-py3-none-any.whl (44.8 kB view hashes)

Uploaded Python 3

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