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
sip the graphics file for showing a logo
[sface.git]
/
sface
/
mainwindow.py
diff --git
a/sface/mainwindow.py
b/sface/mainwindow.py
index
6a0175e
..
d23c7b3
100644
(file)
--- a/
sface/mainwindow.py
+++ b/
sface/mainwindow.py
@@
-1,4
+1,3
@@
-
import os
import sys
import time
import os
import sys
import time
@@
-18,6
+17,10
@@
class Nav(QWidget):
QWidget.__init__(self, parent)
self.title = QLabel("", self)
QWidget.__init__(self, parent)
self.title = QLabel("", self)
+ scene=QGraphicsScene()
+ pixmap = QPixmap('/Users/parmentelat/git/sface/macos/graphic-sfa64.png')
+ logolabel=QLabel("",self)
+ logolabel.setPixmap(pixmap)
self.main = QLabel("", self)
self.main.setAlignment(Qt.AlignRight)
self.main = QLabel("", self)
self.main.setAlignment(Qt.AlignRight)
@@
-28,6
+31,7
@@
class Nav(QWidget):
self.help.setAlignment(Qt.AlignRight)
hlayout = QHBoxLayout()
self.help.setAlignment(Qt.AlignRight)
hlayout = QHBoxLayout()
+ hlayout.addWidget(logolabel)
hlayout.addWidget(self.title)
hlayout.addStretch()
hlayout.addWidget(QLabel("Go to: ", self))
hlayout.addWidget(self.title)
hlayout.addStretch()
hlayout.addWidget(QLabel("Go to: ", self))