Skip to main content

A dark gray stylesheet for PyQt/PySide applications

Project description

QDarkGray Stylesheet

A dark gray stylesheet for PyQt5 applications. This theme is a gray variation of QDarkStyleSheet theme.


Install qdarkgraystyle package using the setup script or using pip

python install


pip install qdarkgraystyle

The PySide and PyQt4 support was dropped in version 1.0.0. To use qdarkgraystyle with PySide or PyQt4 or with Python 2.7, please use the version 0.0.3.

pip install qdarkgraystyle==0.0.3

The support to PySide2 will be add in future.


Here is an example using PyQt5.

import sys
import qdarkgraystyle
from PyQt5 import QtGui

# create the application and the main window
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()

# setup stylesheet

# run

There is an example included in the example folder.

python example/

You can run the script without installing qdarkgraystyle. You only need to have PyQt5 installed on your system.



Here are a few snapshots:


  1. Fork it (

  2. Create your feature branch (git checkout -b feature/fooBar)

  3. Commit your changes (git commit -am 'Add some fooBar')

  4. Push to the branch (git push origin feature/fooBar)

  5. Create a new Pull Request


This package is totally based on QDarkStyleSheet theme created by Colin Duquesnoy.

Copyright (C) 2017-2018 by Michell Stuttgart

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

qdarkgraystyle-1.0.2.tar.gz (47.2 kB view hashes)

Uploaded source

Built Distribution

qdarkgraystyle-1.0.2-py2.py3-none-any.whl (32.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page