sip the graphics file for showing a logo
[sface.git] / sface / mainwindow.py
index 6a0175e..d23c7b3 100644 (file)
@@ -1,4 +1,3 @@
-
 import os
 import sys
 import time
@@ -18,6 +17,10 @@ class Nav(QWidget):
         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)
 
@@ -28,6 +31,7 @@ class Nav(QWidget):
         self.help.setAlignment(Qt.AlignRight)
 
         hlayout = QHBoxLayout()
+        hlayout.addWidget(logolabel)
         hlayout.addWidget(self.title)
         hlayout.addStretch()
         hlayout.addWidget(QLabel("Go to: ", self))