Add style for QPushButton:checked

and update example

Fix #26
This commit is contained in:
ColinDuquesnoy
2015-06-23 21:44:34 +02:00
parent 47e67fc8a6
commit f3bf9129d3
11 changed files with 1185 additions and 1017 deletions
Executable → Regular
+2 -3
View File
@@ -32,7 +32,7 @@ Requirements:
- Python 2 or Python 3
- PyQt4
.. note.. :: qdarkstyle does not have to be installed to run
.. note.. :: qdarkstyle does not have to be installed to run
the example
"""
@@ -55,7 +55,7 @@ def main():
# create the application and the main window
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()
# setup ui
ui = example_ui.Ui_MainWindow()
ui.setupUi(window)
@@ -90,4 +90,3 @@ def main():
if __name__ == "__main__":
main()