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
remove debug print
[sface.git]
/
sface.py
diff --git
a/sface.py
b/sface.py
index
ae4770d
..
ee21b2f
100644
(file)
--- a/
sface.py
+++ b/
sface.py
@@
-11,6
+11,12
@@
from sface.config import config
def main(args):
app = QApplication(args)
app.setStyleSheet('''
def main(args):
app = QApplication(args)
app.setStyleSheet('''
+/* transparency
+QDialog, MainWindow {
+ background-color:rgba(255,255,255,120);
+}
+*/
+
QTreeView, QLineEdit {
border: 2px solid gray;
border-radius: 4px;
QTreeView, QLineEdit {
border: 2px solid gray;
border-radius: 4px;
@@
-18,24
+24,30
@@
QTreeView, QLineEdit {
margin: 2px;
}
margin: 2px;
}
- QPushButton {
- background-color: white;
- border: 2px solid gray;
- border-radius: 4px;
- padding: 6px;
- margin: 5px;
- }
+QPushButton {
+ background-color: white;
+ border: 2px solid gray;
+ border-radius: 4px;
+ padding: 6px;
+}
+
+QPushButton:pressed {
+ background-color: #5599FF;
+}
-
QPushButton:pressed
{
-
background-color: #5599FF
;
-
}
+
QLabel
{
+
font-size: 14px
;
+}
''')
win = MainWindow()
''')
win = MainWindow()
+ win.redirectOutputToLog()
win.setWindowTitle("Sface: SFA Interface")
win.show()
win.setWindowTitle("Sface: SFA Interface")
win.show()
+ win.raise_()
+ win.activateWindow()
app.setActiveWindow(win)
sys.exit(app.exec_())
app.setActiveWindow(win)
sys.exit(app.exec_())