Skip to content

Commit

Permalink
update .gitignore README.md setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RedFalsh committed Dec 3, 2016
1 parent 0631cec commit e6b45d0
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 50 deletions.
34 changes: 1 addition & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Pycharm
#Pycharm
.idea/

# C extensions
Expand Down Expand Up @@ -46,47 +45,16 @@ htmlcov/
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject
60 changes: 59 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,59 @@
# PyQt5_stylesheets
PyQt5_stylesheetssheet
==================

[![Build Status](https://travis-ci.org/ColinDuquesnoy/PyQt5_stylesheetsSheet.png?branch=master)](https://travis-ci.org/ColinDuquesnoy/PyQt5_stylesheetsSheet)
[![Number of PyPI downloads](https://img.shields.io/pypi/dm/PyQt5_stylesheets.svg)](https://pypi.python.org/pypi/PyQt5_stylesheets)
[![Latest PyPI version](https://img.shields.io/pypi/v/PyQt5_stylesheets.svg)](https://pypi.python.org/pypi/PyQt5_stylesheets)

A dark stylesheet for Qt applications (Qt4, Qt5, PySide, PyQt4 and PyQt5).


License
===========

This project is licensed under the MIT license.


Installation
==============

Python
-----------

Install ``PyQt5_stylesheets`` package using the *setup* script or using *pip*:

```bash
python setup.py install
```

or

```bash
pip install PyQt5_stylesheets
```

Usage
============
```Python

import PyQt5_stylesheets

app.setStyleSheet(PyQt5_stylesheets.load_stylesheet_pyqt5(style="style_black"))




Contact information:
=========================

- Maintainer: 13693421942@163.com
- Homepage: https://github.com/xiongbigboss/PyQt5_stylesheets.git


Snapshots
=================

Here are a few snapshots:

![alt text](/screenshots/PyQt5_stylesheets example 1.png "PyQt5_stylesheets example 1")
![alt text](/screenshots/PyQt5_stylesheets example 2.png "PyQt5_stylesheets example 2")
27 changes: 11 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# THE SOFTWARE.
#
"""
QDarkStyle is a darks stylesheet for python qt applications
PyQt5_stylesheets is a darks stylesheet for python qt applications
"""
from setuptools import setup, find_packages
from PyQt5_stylesheets import __version__
Expand All @@ -33,36 +33,31 @@
name='PyQt5_stylesheets',
version=__version__,
packages=find_packages(),
url='https://github.com/ColinDuquesnoy/QDarkStyleSheet',
url='https://github.com/xiongbigboss/PyQt5_stylesheets.git',
license='MIT',
author='Colin Duquesnoy',
author_email='colin.duquesnoy@gmail.com',
description='A dark stylesheet for PyQt/PySide applications',
author='xiongbigboss',
author_email='13693421942@163.com',
description='A dark stylesheet for PyQt5 applications',
long_description="""
This package provides a dark style sheet for PySide/PyQt4/PyQt5 applications.
This package provides a dark style sheet for PyQt5 applications.
All you have to do is the following::
import qdarkstyle
import PyQt5_stylesheets
app = QtGui.QApplication().instance()
# PySide
app.setStyleSheet(qdarkstyle.load_stylesheet())
# PyQt4
app.setStyleSheet(qdarkstyle.load_stylesheet(pyside=False))
# PyQt5
app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
app.setStyleSheet(PyQt5_stylesheets.load_stylesheet_pyqt5(style="style_black"))
""",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: X11 Applications :: Qt',
'Environment :: X11 Applications :: Qt5',
'Environment :: Win32 (MS Windows)',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Application Frameworks'])

0 comments on commit e6b45d0

Please sign in to comment.