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 setup.py 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 app.setStyleSheet(qdarkgraystyle.load_stylesheet()) # run window.show() app.exec_()
There is an example included in the example folder.
You can run the script without installing qdarkgraystyle. You only need to have PyQt5 installed on your system.
- Issue Tracker: https://github.com/mstuttgart/qdarkgraystyle/issues
- Source Code: https://github.com/mstuttgart/qdarkgraystyle
Here are a few snapshots:
- Fork it (https://github.com/mstuttgart/qdarkgraystyle/fork)
- Create your feature branch (
git checkout -b feature/fooBar)
- Commit your changes (
git commit -am 'Add some fooBar')
- Push to the branch (
git push origin feature/fooBar)
- Create a new Pull Request
Copyright (C) 2017-2018 by Michell Stuttgart