diff options
author | fahim | 2015-06-02 11:41:46 +0530 |
---|---|---|
committer | fahim | 2015-06-02 11:41:46 +0530 |
commit | 5357a0cebc493f1fd5e6c232af77269b9b03abd8 (patch) | |
tree | 8773a8d8e201deaa2d8f41e4d41abc47f59d1b84 /src/frontEnd/DockArea.py | |
parent | b55f693aae4b4874e89514b83d59f5566f8d3998 (diff) | |
download | eSim-5357a0cebc493f1fd5e6c232af77269b9b03abd8.tar.gz eSim-5357a0cebc493f1fd5e6c232af77269b9b03abd8.tar.bz2 eSim-5357a0cebc493f1fd5e6c232af77269b9b03abd8.zip |
Subject: CSS changes
Description: CSS changes
Diffstat (limited to 'src/frontEnd/DockArea.py')
-rw-r--r-- | src/frontEnd/DockArea.py | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py index 76216aa6..4e4f038c 100644 --- a/src/frontEnd/DockArea.py +++ b/src/frontEnd/DockArea.py @@ -19,7 +19,10 @@ class DockArea(QtGui.QMainWindow): for dockName in dockList: dock[dockName] = QtGui.QDockWidget(dockName) dock[dockName].setWidget(QtGui.QTextEdit()) - + #CSS + dock[dockName].setStyleSheet(" \ + QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ + ") self.addDockWidget(QtCore.Qt.TopDockWidgetArea, dock[dockName]) #self.tabifyDockWidget(dock['Notes'],dock['Blank']) @@ -44,6 +47,13 @@ class DockArea(QtGui.QMainWindow): self.addDockWidget(QtCore.Qt.TopDockWidgetArea, dock['Tips-'+str(count)]) self.tabifyDockWidget(dock['Welcome'],dock['Tips-'+str(count)]) + """ + #CSS + dock['Tips-'+str(count)].setStyleSheet(" \ + QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ + ") + """ + dock['Tips-'+str(count)].setVisible(True) dock['Tips-'+str(count)].setFocus() dock['Tips-'+str(count)].raise_() @@ -72,6 +82,12 @@ class DockArea(QtGui.QMainWindow): self.addDockWidget(QtCore.Qt.TopDockWidgetArea, dock['Plotting-'+str(count)]) self.tabifyDockWidget(dock['Welcome'],dock['Plotting-'+str(count)]) + """ + #CSS + dock['Plotting-'+str(count)].setStyleSheet(" \ + QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ + ") + """ dock['Plotting-'+str(count)].setVisible(True) dock['Plotting-'+str(count)].setFocus() dock['Plotting-'+str(count)].raise_() @@ -103,6 +119,12 @@ class DockArea(QtGui.QMainWindow): 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; } \ + ") + """ dock['NgSpice-'+str(count)].setVisible(True) dock['NgSpice-'+str(count)].setFocus() dock['NgSpice-'+str(count)].raise_() |