margin: 2px;
}
- QPushButton {
- background-color: white;
- border: 2px solid gray;
- border-radius: 4px;
- padding: 6px;
- margin: 5px;
- }
-
- QPushButton:pressed {
- background-color: #5599FF;
- }
+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_())