Git Product home page Git Product logo

qdarkgraystyle's Introduction

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 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.

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

qdarkgraystyle's People

Contributors

colinduquesnoy avatar mstuttgart avatar aaiyer avatar pkev avatar bitdeli-chef avatar mhendricks avatar svenevs avatar devinacker avatar fieldofview avatar polygamma avatar vladimir-kraus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.