Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A dark stylesheet for Python and Qt applications

Project description

QDarkStyle is a dark stylesheet for Python and Qt applications.

This module provides a function to transparently load the stylesheets with the correct rc file.

First, start importing our module

import qdarkstyle

Then you can get stylesheet provided by QDarkStyle for various Qt wrappers as shown bellow

# PySide
dark_stylesheet = qdarkstyle.load_stylesheet_pyside()
# PyQt4
dark_stylesheet = qdarkstyle.load_stylesheet_pyqt()
# PyQt5
dark_stylesheet = qdarkstyle.load_stylesheet_pyqt5()

Or from environment variables provided for QtPy or PyQtGraph, see

# QtPy
dark_stylesheet = qdarkstyle.load_stylesheet_from_environment()
# PyQtGraph
dark_stylesheet = qdarkstyle.load_stylesheet_from_environment(is_pyqtgraph)

Finally, set your QApplication with it

app.setStyleSheet(dark_stylesheet)

Enjoy!

Release history Release notifications

This version
History Node

2.5.4

History Node

2.5.3

History Node

2.5.1

History Node

2.3.1

History Node

2.3.0

History Node

2.2.2

History Node

2.2.1

History Node

2.2

History Node

2.1

History Node

2.0

History Node

1.16

History Node

1.15

History Node

1.14

History Node

1.13

History Node

1.12

History Node

1.11

History Node

1.10

History Node

1.9

History Node

1.8

History Node

1.7

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
QDarkStyle-2.5.4-py2.py3-none-any.whl (118.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 10, 2018
QDarkStyle-2.5.4.tar.gz (140.4 kB) Copy SHA256 hash SHA256 Source None May 10, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page