summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
authorTanay Mathur2015-06-25 16:53:08 +0530
committerTanay Mathur2015-06-25 16:53:08 +0530
commitbe20e206432d2fd91b0d20df4f8b611ea238fa7f (patch)
treedbcb027c32c2a441c4d8c053df6acfc83e382929 /src/frontEnd/Application.py
parentf7cf0e9a67627ed6ce73892a75445ba84e6b9b21 (diff)
downloadeSim-be20e206432d2fd91b0d20df4f8b611ea238fa7f.tar.gz
eSim-be20e206432d2fd91b0d20df4f8b611ea238fa7f.tar.bz2
eSim-be20e206432d2fd91b0d20df4f8b611ea238fa7f.zip
GUI changes for Dock Area, added FOSSEE logo
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-xsrc/frontEnd/Application.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 9fce17b0..a90dd1a7 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -89,7 +89,16 @@ class Application(QtGui.QMainWindow):
self.topToolbar.addAction(self.openproj)
self.topToolbar.addAction(self.exitproj)
self.topToolbar.addAction(self.helpfile)
-
+
+ self.spacer = QtGui.QWidget()
+ self.spacer.setSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
+ self.topToolbar.addWidget(self.spacer)
+ self.logo = QtGui.QLabel()
+ self.logopic = QtGui.QPixmap(os.path.join(os.path.abspath('../..'),'images','fosseeLogo.png'))
+ self.logopic = self.logopic.scaled(QSize(150,150),QtCore.Qt.KeepAspectRatio)
+ self.logo.setPixmap(self.logopic)
+ self.topToolbar.addWidget(self.logo)
+
#Left Tool bar Action Widget
self.kicad = QtGui.QAction(QtGui.QIcon('../../images/kicad.png'),'<b>Open Schematic</b>',self)
self.kicad.triggered.connect(self.obj_kicad.openSchematic)
@@ -246,8 +255,8 @@ class MainView(QtGui.QWidget):
self.obj_appconfig.noteArea['Note'].append(' eSim Started......')
self.obj_appconfig.noteArea['Note'].append('Project Selected : None')
self.obj_appconfig.noteArea['Note'].append('\n')
- #CSS
+ #CSS
self.noteArea.setStyleSheet(" \
QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; } \
")