Skip to main content

A dark gray stylesheet for PyQt/PySide applications

Project description



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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

qdarkgraystyle-2.0.0-py3-none-any.whl (217.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page