summaryrefslogtreecommitdiff
path: root/src/frontEnd
diff options
context:
space:
mode:
authorRahul P2023-06-13 18:24:33 +0530
committerGitHub2023-06-13 18:24:33 +0530
commit4a276b252d84a0b7dd24588e56dc7e214ea2d7c6 (patch)
treee9cf9d33ed2c137f3ac463c7b272e27fe23be75d /src/frontEnd
parent9a5f3dabc357277b384c51ccf047f5580772f454 (diff)
parent3436aa4615dcc1310db8dc8a85f36418db641fb4 (diff)
downloadeSim-4a276b252d84a0b7dd24588e56dc7e214ea2d7c6.tar.gz
eSim-4a276b252d84a0b7dd24588e56dc7e214ea2d7c6.tar.bz2
eSim-4a276b252d84a0b7dd24588e56dc7e214ea2d7c6.zip
Merge pull request #251 from FOSSEE/sky130-dev
Merge Sky130 PDK development
Diffstat (limited to 'src/frontEnd')
-rw-r--r--src/frontEnd/Application.py17
-rwxr-xr-xsrc/frontEnd/ProjectExplorer.py2
2 files changed, 18 insertions, 1 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 790bf779..96be7ca4 100644
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -163,6 +163,23 @@ class Application(QtWidgets.QMainWindow):
self.topToolbar.addAction(self.switchmode)
self.topToolbar.addAction(self.helpfile)
+ # ## This part is meant for SoC Generation which is currently ##
+ # ## under development and will be will be required in future. ##
+ # self.soc = QtWidgets.QToolButton(self)
+ # self.soc.setText('Generate SoC')
+ # self.soc.setToolTip(
+ # '<b>SPICE to Verilog Conversion</b><br>' + \
+ # '<br>The feature is under development.' + \
+ # '<br>It will be released soon.' + \
+ # '<br><br>Thank you for your patience!!!'
+ # )
+ # self.soc.setStyleSheet(" \
+ # QWidget { border-radius: 15px; border: 1px \
+ # solid gray; padding: 10px; margin-left: 20px; } \
+ # ")
+ # self.soc.clicked.connect(self.showSoCRelease)
+ # self.topToolbar.addWidget(self.soc)
+
# This part is setting fossee logo to the right
# corner in the application window.
self.spacer = QtWidgets.QWidget()
diff --git a/src/frontEnd/ProjectExplorer.py b/src/frontEnd/ProjectExplorer.py
index 77c9352e..99772378 100755
--- a/src/frontEnd/ProjectExplorer.py
+++ b/src/frontEnd/ProjectExplorer.py
@@ -78,7 +78,7 @@ class ProjectExplorer(QtWidgets.QWidget):
def refreshInstant(self):
for i in range(self.treewidget.topLevelItemCount()):
- if(self.treewidget.topLevelItem(i).isExpanded()):
+ if self.treewidget.topLevelItem(i).isExpanded():
index = self.treewidget.indexFromItem(
self.treewidget.topLevelItem(i))
self.refreshProject(indexItem=index)