@@ -54,6 +54,9 @@ def setupUi(self, MainWindow):
5454 self .actionNormal_View .setVisible (True )
5555 self .actionRun_Test = QAction (MainWindow )
5656 self .actionRun_Test .setObjectName (u"actionRun_Test" )
57+ self .actionAbout = QAction (MainWindow )
58+ self .actionAbout .setObjectName (u"actionAbout" )
59+ self .actionAbout .setMenuRole (QAction .AboutRole )
5760 self .centralwidget = QWidget (MainWindow )
5861 self .centralwidget .setObjectName (u"centralwidget" )
5962 self .verticalLayout = QVBoxLayout (self .centralwidget )
@@ -76,6 +79,9 @@ def setupUi(self, MainWindow):
7679 self .menuView .setObjectName (u"menuView" )
7780 self .menuTest = QMenu (self .menubar )
7881 self .menuTest .setObjectName (u"menuTest" )
82+ self .menuTest .setEnabled (False )
83+ self .menuHelp = QMenu (self .menubar )
84+ self .menuHelp .setObjectName (u"menuHelp" )
7985 MainWindow .setMenuBar (self .menubar )
8086 self .statusbar = QStatusBar (MainWindow )
8187 self .statusbar .setObjectName (u"statusbar" )
@@ -87,6 +93,7 @@ def setupUi(self, MainWindow):
8793 self .menubar .addAction (self .menuFile .menuAction ())
8894 self .menubar .addAction (self .menuView .menuAction ())
8995 self .menubar .addAction (self .menuTest .menuAction ())
96+ self .menubar .addAction (self .menuHelp .menuAction ())
9097 self .menuFile .addAction (self .actionOpen )
9198 self .menuFile .addAction (self .menuOpen_Recent .menuAction ())
9299 self .menuFile .addAction (self .actionSave_As )
@@ -97,6 +104,7 @@ def setupUi(self, MainWindow):
97104 self .menuView .addAction (self .actionSharp )
98105 self .menuView .addAction (self .actionFull_Screen )
99106 self .menuTest .addAction (self .actionRun_Test )
107+ self .menuHelp .addAction (self .actionAbout )
100108 self .toolBar .addAction (self .actionOpen )
101109 self .toolBar .addAction (self .actionSave_As )
102110 self .toolBar .addAction (self .actionPrevious )
@@ -132,10 +140,12 @@ def retranslateUi(self, MainWindow):
132140 self .actionNormal_View .setShortcut (QCoreApplication .translate ("MainWindow" , u"Esc" , None ))
133141#endif // QT_CONFIG(shortcut)
134142 self .actionRun_Test .setText (QCoreApplication .translate ("MainWindow" , u"Run Test" , None ))
143+ self .actionAbout .setText (QCoreApplication .translate ("MainWindow" , u"About" , None ))
135144 self .menuFile .setTitle (QCoreApplication .translate ("MainWindow" , u"File" , None ))
136145 self .menuOpen_Recent .setTitle (QCoreApplication .translate ("MainWindow" , u"Open Recent" , None ))
137146 self .menuView .setTitle (QCoreApplication .translate ("MainWindow" , u"View" , None ))
138147 self .menuTest .setTitle (QCoreApplication .translate ("MainWindow" , u"Test" , None ))
148+ self .menuHelp .setTitle (QCoreApplication .translate ("MainWindow" , u"Help" , None ))
139149 self .toolBar .setWindowTitle (QCoreApplication .translate ("MainWindow" , u"toolBar" , None ))
140150 pass
141151 # retranslateUi
0 commit comments