qdarkgraystyle

A dark gray style sheet for PyQt5 application

MIT License

Downloads
560
Stars
82
Committers
14

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

Package Rankings
Top 7.69% on Pypi.org