update todo
[sface.git] / sface.py
index ae4770d..a66d739 100644 (file)
--- a/sface.py
+++ b/sface.py
@@ -18,24 +18,30 @@ QTreeView, QLineEdit {
   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_())