Merge pull request #27 from swizzorable/master

Missing line for using QDarkStyleSheet with PyQt4
This commit is contained in:
Colin Duquesnoy 2015-06-26 14:55:28 +02:00
commit c86f6b1437

View File

@ -98,6 +98,17 @@ by
app.setStyleSheet(qdarkstyle.load_stylesheet(pyside=False)) app.setStyleSheet(qdarkstyle.load_stylesheet(pyside=False))
``` ```
and
```
from PySide import QtGui
```
by
```
from PyQt4 import QtGui
```
To use PyQt5, you need to use ``load_stylesheet_pyqt5`` instead of To use PyQt5, you need to use ``load_stylesheet_pyqt5`` instead of
``load_stylesheet``. ``load_stylesheet``.