Skip to content

ClemensBeute/blender-qt-stylesheet

 
 

Repository files navigation

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.

About

A Blender Qt stylesheet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%