X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface.py;h=256c8be7279d334dcf34f76ec46ca04ad1c84ac2;hp=e6112cd2832b8511cbd0aa61310c557e1a361e69;hb=be96cc0a7b9a9fc857698998c01dc4f227d3ca93;hpb=b09988e1840c80455eef1e745a4205b49c03d6d0 diff --git a/sface.py b/sface.py index e6112cd..256c8be 100644 --- a/sface.py +++ b/sface.py @@ -18,15 +18,30 @@ QTreeView, QLineEdit { margin: 2px; } -QLabel { +QPushButton { + background-color: white; + border: 2px solid gray; + border-radius: 4px; + padding: 6px; +} +QPushButton:pressed { + background-color: #5599FF; } + +QLabel { + font-size: 14px; +} + ''') win = MainWindow() +# win.redirectOutputToLog() win.setWindowTitle("Sface: SFA Interface") win.show() + win.raise_() + win.activateWindow() app.setActiveWindow(win) sys.exit(app.exec_())