qdarkgraystyle

A dark gray stylesheet for PyQt/PySide applications


Keywords
pyqt4, pyqt5, pyside, python, theme
License
Other
Install
pip install qdarkgraystyle==1.0.0

Documentation



Darkgrey Stylesheet for PyQt5

GitHub Workflow Status Downloads Ratings Version

About | Install | How to Use | Contribute | Credits

About

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

Install

Install qdarkgraystyle package using using pip

pip install qdarkgraystyle

This package work on PyQt5 >=5.6.

How to Use

Here is an example using PyQt5.

import sys
import qdarkgraystyle
from PyQt5 import QtWidgets

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

# setup stylesheet
app.setStyleSheet(qdarkgraystyle.load_stylesheet())

# run
window.show()
app.exec_()

There is an example included in the example folder.

python3 setup.py test

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

Contribute

See this guideline here.

Credits

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

Copyright (C) 2017-2024 by Michell Stuttgart