@@ -138,6 +138,10 @@ def setupUi(self, MainWindow):
138138 icon17 = QIcon (QIcon .fromTheme (u"applications-internet" ))
139139 self .actionConfigure_web_interface .setIcon (icon17 )
140140 self .actionConfigure_web_interface .setMenuRole (QAction .MenuRole .NoRole )
141+ self .actionExit = QAction (MainWindow )
142+ self .actionExit .setObjectName (u"actionExit" )
143+ icon18 = QIcon (QIcon .fromTheme (u"application-exit" ))
144+ self .actionExit .setIcon (icon18 )
141145 self .centralwidget = QWidget (MainWindow )
142146 self .centralwidget .setObjectName (u"centralwidget" )
143147 self .gridLayout = QGridLayout (self .centralwidget )
@@ -318,6 +322,8 @@ def setupUi(self, MainWindow):
318322 self .menuFile .addAction (self .actionSave_configuration_menu )
319323 self .menuFile .addSeparator ()
320324 self .menuFile .addAction (self .actionRecent_configuration )
325+ self .menuFile .addSeparator ()
326+ self .menuFile .addAction (self .actionExit )
321327 self .menuHelp .addAction (self .actionAbout )
322328 self .menuHelp .addAction (self .actionLicense )
323329 self .toolBar .addAction (self .actionOpen_configuration_file )
@@ -424,6 +430,7 @@ def retranslateUi(self, MainWindow):
424430#if QT_CONFIG(tooltip)
425431 self .actionConfigure_web_interface .setToolTip (QCoreApplication .translate ("MainWindow" , u"Configure web interface" , None ))
426432#endif // QT_CONFIG(tooltip)
433+ self .actionExit .setText (QCoreApplication .translate ("MainWindow" , u"Exit" , None ))
427434 self .label_image .setText (QCoreApplication .translate ("MainWindow" , u"Detecion viewer" , None ))
428435 self .label_op_mode_title .setText (QCoreApplication .translate ("MainWindow" , u"Operation mode:" , None ))
429436 self .label_op_mode .setText ("" )
0 commit comments