diff options
author | Tanay Mathur | 2015-06-25 16:53:08 +0530 |
---|---|---|
committer | Tanay Mathur | 2015-06-25 16:53:08 +0530 |
commit | be20e206432d2fd91b0d20df4f8b611ea238fa7f (patch) | |
tree | dbcb027c32c2a441c4d8c053df6acfc83e382929 /src/frontEnd/DockArea.py | |
parent | f7cf0e9a67627ed6ce73892a75445ba84e6b9b21 (diff) | |
download | eSim-be20e206432d2fd91b0d20df4f8b611ea238fa7f.tar.gz eSim-be20e206432d2fd91b0d20df4f8b611ea238fa7f.tar.bz2 eSim-be20e206432d2fd91b0d20df4f8b611ea238fa7f.zip |
GUI changes for Dock Area, added FOSSEE logo
Diffstat (limited to 'src/frontEnd/DockArea.py')
-rw-r--r-- | src/frontEnd/DockArea.py | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py index e87fea99..fcaf1f0f 100644 --- a/src/frontEnd/DockArea.py +++ b/src/frontEnd/DockArea.py @@ -51,7 +51,7 @@ class DockArea(QtGui.QMainWindow): """ #CSS dock['Tips-'+str(count)].setStyleSheet(" \ - QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ + .QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ ") """ @@ -86,7 +86,7 @@ class DockArea(QtGui.QMainWindow): """ #CSS dock['Plotting-'+str(count)].setStyleSheet(" \ - QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ + .QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ ") """ dock['Plotting-'+str(count)].setVisible(True) @@ -119,13 +119,12 @@ class DockArea(QtGui.QMainWindow): dock['NgSpice-'+str(count)].setWidget(self.ngspiceWidget) self.addDockWidget(QtCore.Qt.TopDockWidgetArea, dock['NgSpice-'+str(count)]) self.tabifyDockWidget(dock['Welcome'],dock['NgSpice-'+str(count)]) - - """ + #CSS dock['NgSpice-'+str(count)].setStyleSheet(" \ - QWidget { border-radius: 15px; border: 1px solid gray; padding: 0px; width: 200px; height: 150px; } \ + .QWidget { border-radius: 15px; border: 1px solid gray; padding: 0px; width: 200px; height: 150px; } \ ") - """ + dock['NgSpice-'+str(count)].setVisible(True) dock['NgSpice-'+str(count)].setFocus() dock['NgSpice-'+str(count)].raise_() @@ -148,6 +147,11 @@ class DockArea(QtGui.QMainWindow): self.addDockWidget(QtCore.Qt.TopDockWidgetArea, dock['Model Editor-'+str(count)]) self.tabifyDockWidget(dock['Welcome'],dock['Model Editor-'+str(count)]) + #CSS + dock['Model Editor-'+str(count)].setStyleSheet(" \ + .QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ + ") + dock['Model Editor-'+str(count)].setVisible(True) dock['Model Editor-'+str(count)].setFocus() dock['Model Editor-'+str(count)].raise_() @@ -169,12 +173,12 @@ class DockArea(QtGui.QMainWindow): dock['Subcircuit-'+str(count)].setWidget(self.subcktWidget) self.addDockWidget(QtCore.Qt.TopDockWidgetArea, dock['Subcircuit-'+str(count)]) self.tabifyDockWidget(dock['Welcome'],dock['Subcircuit-'+str(count)]) - """ + #CSS - dock['Plotting-'+str(count)].setStyleSheet(" \ - QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ + dock['Subcircuit-'+str(count)].setStyleSheet(" \ + .QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ ") - """ + dock['Subcircuit-'+str(count)].setVisible(True) dock['Subcircuit-'+str(count)].setFocus() dock['Subcircuit-'+str(count)].raise_() |