summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontEnd/Application.py')
-rw-r--r--src/frontEnd/Application.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index d3ef020f..1a887eaa 100644
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -160,6 +160,21 @@ class Application(QtWidgets.QMainWindow):
self.topToolbar.addAction(self.switchmode)
self.topToolbar.addAction(self.helpfile)
+ 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()
@@ -247,6 +262,17 @@ class Application(QtWidgets.QMainWindow):
self.lefttoolbar.setOrientation(QtCore.Qt.Vertical)
self.lefttoolbar.setIconSize(QSize(40, 40))
+
+ def showSoCRelease(self):
+ msg = '<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!!!'
+ QtWidgets.QMessageBox.information(
+ self, 'SoC Generation', msg, QtWidgets.QMessageBox.Ok
+ )
+
+
def closeEvent(self, event):
'''
This function closes the ongoing program (process).