Metadata-Version: 1.1
Name: qdarkgraystyle
Version: 0.0.2
Summary: A dark gray stylesheet for PyQt/PySide applications
Home-page: https://github.com/mstuttgart/qdarkgray-stylesheet
Author: Michell Stuttgart
Author-email: michellstut@gmail.com
License: MIT License
Description: QDarkGray Stylesheet
        ====================
        
        .. image:: https://img.shields.io/travis/mstuttgart/qdarkgray-stylesheet/master.svg?style=flat-square
            :target: https://travis-ci.org/mstuttgart/qdarkgray-stylesheet
        
        .. image:: https://img.shields.io/pypi/v/qdarkgraystyle.svg?style=flat-square
            :target: https://pypi.python.org/pypi/QDarkGrayStyle
        
        .. image:: https://img.shields.io/pypi/pyversions/qdarkgraystyle.svg?style=flat-square
            :target: https://pypi.python.org/pypi/QDarkGrayStyle
        
        .. image:: https://img.shields.io/pypi/l/qdarkgraystyle.svg?style=flat-square
            :target: https://github.com/mstuttgart/qdarkgraystyle/blob/master/LICENSE
        
        A dark gray stylesheet for Qt applications (Qt4, Qt5, PySide, PyQt4 and PyQt5).
        
        Installation
        ============
        
        Python
        -----------
        
        Install **qdarkgraystyle** package using the *setup* script or using *pip*
        
        .. code:: bash
        
            python setup.py install
        
        or
        
        .. code:: bash
        
            pip install qdarkgraystyle
        
        C++
        ---------
        
        1) Download/clone the project and copy the following files to your application directory (keep the existing directory hierarchy):
        
         - **qdarkgraystyle/style.qss**
         - **qdarkgraystyle/style.qrc**
         - **qdarkgraystyle/rc/** (the whole directory)
        
        2) Add **qdarkgraystyle/style.qrc** to your **.pro file**
        
        3) Load the stylesheet
        
        .. code:: cpp
        
            QFile f(":qdarkgraystyle/style.qss");
            if (!f.exists())
            {
                printf("Unable to set stylesheet, file not found\n");
            }
            else
            {
                f.open(QFile::ReadOnly | QFile::Text);
                QTextStream ts(&f);
                qApp->setStyleSheet(ts.readAll());
            }
        
        Usage
        ============
        
        Here is an example using PySide
        
        .. code:: python
        
            import sys
            import qdarkgraystyle
            from PySide 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_()
        
        To use PyQt4 instead of PySide, you just need to replace
        
        .. code:: python
        
            app.setStyleSheet(qdarkgraystyle.load_stylesheet())
        
        by
        
        .. code:: python
        
            app.setStyleSheet(qdarkgraystyle.load_stylesheet(pyside=False))
        
        and
        
        .. code:: python
        
            from PySide import QtGui
        
        by
        
        .. code:: python
        
            from PyQt4 import QtGui 
        
        To use PyQt5, you need to use ``load_stylesheet_pyqt5`` instead of
        ``load_stylesheet``.
        
        .. code:: python
        
            app.setStyleSheet(qdarkgraystyle.load_stylesheet_pyqt5())
        
        There is an example included in the *example* folder.
        You can run the script without installing `qdarkgraystyle`. You only need to have
        PySide (or PyQt4 or PyQt5) installed on your system.
        
        Contribute
        ==========
        
        - Issue Tracker: https://github.com/mstuttgart/qdarkgray-stylesheet/issues
        - Source Code: https://github.com/mstuttgart/qdarkgray-stylesheet
        
        Snapshots
        =========
        
        Here are a few snapshots:
        
        * `Screenshot 1 <https://github.com/mstuttgart/qdarkgray-stylesheet/blob/master/screenshots/screen-01.png>`_
        * `Screenshot 2 <https://github.com/mstuttgart/qdarkgray-stylesheet/blob/master/screenshots/screen-02.png>`_
        * `Screenshot 3 <https://github.com/mstuttgart/qdarkgray-stylesheet/blob/master/screenshots/screen-03.png>`_
        
        Credits
        =======
        This package is totally based on `QDarkStyleSheet <https://github.com/ColinDuquesnoy/QDarkStyleSheet>`_ theme created by `Colin Duquesnoy <https://github.com/ColinDuquesnoy>`_.
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: X11 Applications :: Qt
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
