X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface%2Fmainwindow.py;h=d23c7b3823b1d641ca5567d159533dbb11d8aa10;hp=6a0175ea2f933e2b8b6f8a55688512e6eef42b23;hb=309628a04d6ea96e70d48baccf0b870b4a704ce9;hpb=5d9d4374df91f919e5c744906186b2769b6d09ae diff --git a/sface/mainwindow.py b/sface/mainwindow.py index 6a0175e..d23c7b3 100644 --- a/sface/mainwindow.py +++ b/sface/mainwindow.py @@ -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))