X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface.py;h=a66d7393865f3bc7eeb7a6c085d887e8bff42e42;hp=e6112cd2832b8511cbd0aa61310c557e1a361e69;hb=32eb5fc79ad9745b7b1c3da1c96f442b0feb965c;hpb=b09988e1840c80455eef1e745a4205b49c03d6d0 diff --git a/sface.py b/sface.py index e6112cd..a66d739 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_())