A dark gray style sheet for PyQt5 application
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example [DEL] Drop pyside and pyqt4 support Apr 29, 2018
qdarkgraystyle [IMP] Update version to 1.0.2 May 2, 2018
screenshots [NEW] Update screenshoots images Apr 30, 2017
svg Move svg source out of the package Jun 25, 2015
tests
.gitignore [IMP] Add qdarkgraystyle.egg-info in .gitignore Apr 30, 2018
.travis.yml [IMP] Add python version condition in deploy section Apr 30, 2018
LICENSE [DEL] Delete unused files Apr 29, 2018
MANIFEST.in [FIX] README.md renamed to README.rst Apr 30, 2018
README.rst [FIX] Update install instructions with notes about PySide and PyQt4 May 2, 2018
requirements.txt [NEW] Add deprecated lib May 2, 2018
setup.cfg Add wheel support May 1, 2015
setup.py [NEW] Add deprecated lib May 2, 2018

README.rst

QDarkGray Stylesheet

https://img.shields.io/travis/mstuttgart/qdarkgraystyle/master.svg?style=flat-square https://img.shields.io/pypi/v/qdarkgraystyle.svg?style=flat-square https://img.shields.io/pypi/pyversions/qdarkgraystyle.svg?style=flat-square https://img.shields.io/pypi/l/qdarkgraystyle.svg?style=flat-square

A dark gray stylesheet for PyQt5 applications. This theme is a gray variation of QDarkStyleSheet theme.

Installation

Install qdarkgraystyle package using the setup script or using pip

python setup.py install

or

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.

Usage

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.

python example/example_pyqt5.py

You can run the script without installing qdarkgraystyle. You only need to have PyQt5 installed on your system.

Contribute

Snapshots

Here are a few snapshots:

Contributing

  1. Fork it (https://github.com/mstuttgart/qdarkgraystyle/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Credits

This package is totally based on QDarkStyleSheet theme created by Colin Duquesnoy.

Copyright (C) 2017-2018 by Michell Stuttgart