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
just putting a style here..
[sface.git]
/
sface.py
diff --git
a/sface.py
b/sface.py
index
e6112cd
..
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,15
+24,30
@@
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 = 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_())