About | Install | How to Use | Contribute | Credits
A dark gray stylesheet for PyQt5 applications. This theme is a gray variation of QDarkStyleSheet theme.
Install qdarkgraystyle package using using pip
pip install qdarkgraystyle
This package work on PyQt5 >=5.6.
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.
See this guideline here.
This package is totally based on QDarkStyleSheet theme created by Colin Duquesnoy.
Copyright (C) 2017-2024 by Michell Stuttgart