https://github.com/mstuttgart/qdarkgraystyle
A dark gray style sheet for PyQt5 application
https://github.com/mstuttgart/qdarkgraystyle
pyqt4 pyqt5 pyside python theme
Last synced: about 1 year ago
JSON representation
A dark gray style sheet for PyQt5 application
- Host: GitHub
- URL: https://github.com/mstuttgart/qdarkgraystyle
- Owner: mstuttgart
- License: mit
- Created: 2017-04-30T03:12:35.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-05-06T11:51:24.000Z (about 2 years ago)
- Last Synced: 2024-10-10T19:09:56.319Z (over 1 year ago)
- Topics: pyqt4, pyqt5, pyside, python, theme
- Language: Python
- Homepage:
- Size: 2.68 MB
- Stars: 82
- Watchers: 6
- Forks: 58
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Darkgrey Stylesheet for PyQt5
About |
Install |
How to Use |
Contribute |
Credits
# About
A dark gray stylesheet for PyQt5 applications. This theme is a gray variation of [QDarkStyleSheet](https://github.com/ColinDuquesnoy/QDarkStyleSheet) theme.
Screenshots (Click to expand!)



# 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.
```python
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](https://github.com/mstuttgart/qdarkgraystyle/blob/develop/CONTRIBUTING.md).
# Credits
This package is totally based on [QDarkStyleSheet](https://github.com/ColinDuquesnoy/QDarkStyleSheet) theme created by [Colin Duquesnoy](https://github.com/ColinDuquesnoy).
Copyright (C) 2017-2024 by Michell Stuttgart