git://git.onelab.eu
/
sface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fixes
[sface.git]
/
sface.py
diff --git
a/sface.py
b/sface.py
index
d90c634
..
256c8be
100644
(file)
--- a/
sface.py
+++ b/
sface.py
@@
-10,11
+10,6
@@
from sface.config import config
def main(args):
app = QApplication(args)
def main(args):
app = QApplication(args)
-
- win = MainWindow()
- win.show()
- win.setWindowTitle("Sface: SFA Interface")
- app.setActiveWindow(win)
app.setStyleSheet('''
QTreeView, QLineEdit {
border: 2px solid gray;
app.setStyleSheet('''
QTreeView, QLineEdit {
border: 2px solid gray;
@@
-23,11
+18,32
@@
QTreeView, QLineEdit {
margin: 2px;
}
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_())
sys.exit(app.exec_())