加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
client_window_ui.py 66.28 KB
一键复制 编辑 原始数据 按行查看 历史
test201610 提交于 2021-02-27 20:57 . Init client project
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ClientWindow.ui',
# licensing of 'ClientWindow.ui' applies.
#
# Created: Mon Feb 15 18:14:37 2021
# by: pyside2-uic running on PySide2 5.12.6
#
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(460, 283)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("images/app.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Triangular)
self.tabWidget.setDocumentMode(False)
self.tabWidget.setTabsClosable(True)
self.tabWidget.setMovable(True)
self.tabWidget.setTabBarAutoHide(True)
self.tabWidget.setObjectName("tabWidget")
self.defaultTab = QtWidgets.QWidget()
self.defaultTab.setObjectName("defaultTab")
self.tabWidget.addTab(self.defaultTab, "")
self.horizontalLayout.addWidget(self.tabWidget)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 460, 18))
self.menubar.setObjectName("menubar")
self.menuFile = QtWidgets.QMenu(self.menubar)
self.menuFile.setObjectName("menuFile")
self.menuEdit = QtWidgets.QMenu(self.menubar)
self.menuEdit.setObjectName("menuEdit")
self.menuView_V = QtWidgets.QMenu(self.menubar)
self.menuView_V.setObjectName("menuView_V")
self.menuHelp_H = QtWidgets.QMenu(self.menubar)
self.menuHelp_H.setObjectName("menuHelp_H")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtWidgets.QToolBar(MainWindow)
self.toolBar.setObjectName("toolBar")
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.actionOptions = QtWidgets.QAction(MainWindow)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icon/images/option.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionOptions.setIcon(icon1)
self.actionOptions.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
self.actionOptions.setShortcutVisibleInContextMenu(True)
self.actionOptions.setObjectName("actionOptions")
self.actionNewWindow = QtWidgets.QAction(MainWindow)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icon/images/window.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewWindow.setIcon(icon2)
self.actionNewWindow.setObjectName("actionNewWindow")
self.actionNewTab = QtWidgets.QAction(MainWindow)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/icon/images/newtab.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewTab.setIcon(icon3)
self.actionNewTab.setObjectName("actionNewTab")
self.actionReconnect = QtWidgets.QAction(MainWindow)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/icon/images/reconnect.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionReconnect.setIcon(icon4)
self.actionReconnect.setObjectName("actionReconnect")
self.actionSaveAsBMP = QtWidgets.QAction(MainWindow)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icon/images/storebmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionSaveAsBMP.setIcon(icon5)
self.actionSaveAsBMP.setObjectName("actionSaveAsBMP")
self.actionLogMetafilesAsBMP = QtWidgets.QAction(MainWindow)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/icon/images/logbmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsBMP.setIcon(icon6)
self.actionLogMetafilesAsBMP.setObjectName("actionLogMetafilesAsBMP")
self.actionLogMetafilesAsPVM = QtWidgets.QAction(MainWindow)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/icon/images/logpvm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsPVM.setIcon(icon7)
self.actionLogMetafilesAsPVM.setObjectName("actionLogMetafilesAsPVM")
self.actionPrint = QtWidgets.QAction(MainWindow)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/icon/images/print.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionPrint.setIcon(icon8)
self.actionPrint.setShortcutContext(QtCore.Qt.ApplicationShortcut)
self.actionPrint.setObjectName("actionPrint")
self.actionExit = QtWidgets.QAction(MainWindow)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/icon/images/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionExit.setIcon(icon9)
self.actionExit.setMenuRole(QtWidgets.QAction.QuitRole)
self.actionExit.setObjectName("actionExit")
self.actionCopy = QtWidgets.QAction(MainWindow)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/icon/images/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionCopy.setIcon(icon10)
self.actionCopy.setObjectName("actionCopy")
self.actionMaximized = QtWidgets.QAction(MainWindow)
self.actionMaximized.setCheckable(True)
self.actionMaximized.setObjectName("actionMaximized")
self.actionMenu = QtWidgets.QAction(MainWindow)
self.actionMenu.setCheckable(True)
self.actionMenu.setObjectName("actionMenu")
self.actionToolbar = QtWidgets.QAction(MainWindow)
self.actionToolbar.setCheckable(True)
self.actionToolbar.setObjectName("actionToolbar")
self.actionStatusbar = QtWidgets.QAction(MainWindow)
self.actionStatusbar.setCheckable(True)
self.actionStatusbar.setObjectName("actionStatusbar")
self.actionFullscreen = QtWidgets.QAction(MainWindow)
self.actionFullscreen.setCheckable(True)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/icon/images/fullscreen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionFullscreen.setIcon(icon11)
self.actionFullscreen.setObjectName("actionFullscreen")
self.actionManual = QtWidgets.QAction(MainWindow)
self.actionManual.setObjectName("actionManual")
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setMenuRole(QtWidgets.QAction.AboutRole)
self.actionAbout.setObjectName("actionAbout")
self.actionAboutQt = QtWidgets.QAction(MainWindow)
self.actionAboutQt.setMenuRole(QtWidgets.QAction.AboutQtRole)
self.actionAboutQt.setObjectName("actionAboutQt")
self.actionWhatIsThis = QtWidgets.QAction(MainWindow)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(":/icon/images/whatsthis.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionWhatIsThis.setIcon(icon12)
self.actionWhatIsThis.setObjectName("actionWhatIsThis")
self.actionHome = QtWidgets.QAction(MainWindow)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(":/icon/images/gohome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionHome.setIcon(icon13)
self.actionHome.setObjectName("actionHome")
self.menuFile.addAction(self.actionOptions)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionNewWindow)
self.menuFile.addAction(self.actionNewTab)
self.menuFile.addAction(self.actionReconnect)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionSaveAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsPVM)
self.menuFile.addAction(self.actionPrint)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionExit)
self.menuEdit.addAction(self.actionCopy)
self.menuView_V.addAction(self.actionMaximized)
self.menuView_V.addAction(self.actionMenu)
self.menuView_V.addAction(self.actionToolbar)
self.menuView_V.addAction(self.actionStatusbar)
self.menuView_V.addAction(self.actionFullscreen)
self.menuHelp_H.addAction(self.actionManual)
self.menuHelp_H.addAction(self.actionAbout)
self.menuHelp_H.addAction(self.actionAboutQt)
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuEdit.menuAction())
self.menubar.addAction(self.menuView_V.menuAction())
self.menubar.addAction(self.menuHelp_H.menuAction())
self.toolBar.addAction(self.actionHome)
self.toolBar.addAction(self.actionSaveAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsPVM)
self.toolBar.addAction(self.actionPrint)
self.toolBar.addAction(self.actionNewTab)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionCopy)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionReconnect)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionOptions)
self.toolBar.addAction(self.actionWhatIsThis)
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "MainWindow", None, -1))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.defaultTab), QtWidgets.QApplication.translate("MainWindow", "Default Tab", None, -1))
self.menuFile.setTitle(QtWidgets.QApplication.translate("MainWindow", "&File", None, -1))
self.menuEdit.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Edit", None, -1))
self.menuView_V.setTitle(QtWidgets.QApplication.translate("MainWindow", "&View", None, -1))
self.menuHelp_H.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Help", None, -1))
self.toolBar.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "toolBar", None, -1))
self.actionOptions.setText(QtWidgets.QApplication.translate("MainWindow", "&Options", None, -1))
self.actionOptions.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+O", None, -1))
self.actionNewWindow.setText(QtWidgets.QApplication.translate("MainWindow", "&New Window", None, -1))
self.actionNewTab.setText(QtWidgets.QApplication.translate("MainWindow", "New &Tab", None, -1))
self.actionReconnect.setText(QtWidgets.QApplication.translate("MainWindow", "&Reconnect", None, -1))
self.actionSaveAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "&Save As BMP ...", None, -1))
self.actionLogMetafilesAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &BMP ...", None, -1))
self.actionLogMetafilesAsPVM.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &PVM ...", None, -1))
self.actionPrint.setText(QtWidgets.QApplication.translate("MainWindow", "&Print", None, -1))
self.actionPrint.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+P", None, -1))
self.actionExit.setText(QtWidgets.QApplication.translate("MainWindow", "Exit", None, -1))
self.actionCopy.setText(QtWidgets.QApplication.translate("MainWindow", "&Copy", None, -1))
self.actionCopy.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+C", None, -1))
self.actionMaximized.setText(QtWidgets.QApplication.translate("MainWindow", "Ma&ximized", None, -1))
self.actionMenu.setText(QtWidgets.QApplication.translate("MainWindow", "&Menu", None, -1))
self.actionToolbar.setText(QtWidgets.QApplication.translate("MainWindow", "Tool&bar", None, -1))
self.actionStatusbar.setText(QtWidgets.QApplication.translate("MainWindow", "&Statusbar", None, -1))
self.actionFullscreen.setText(QtWidgets.QApplication.translate("MainWindow", "&Fullscreen", None, -1))
self.actionManual.setText(QtWidgets.QApplication.translate("MainWindow", "&Manual", None, -1))
self.actionManual.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+H", None, -1))
self.actionAbout.setText(QtWidgets.QApplication.translate("MainWindow", "&About ...", None, -1))
self.actionAboutQt.setText(QtWidgets.QApplication.translate("MainWindow", "About &Qt", None, -1))
self.actionWhatIsThis.setText(QtWidgets.QApplication.translate("MainWindow", "What\'s this", None, -1))
self.actionHome.setText(QtWidgets.QApplication.translate("MainWindow", "Home", None, -1))
import hmi_client_rc
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Client_Window.ui',
# licensing of 'Client_Window.ui' applies.
#
# Created: Mon Feb 15 18:46:44 2021
# by: pyside2-uic running on PySide2 5.12.6
#
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(460, 283)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("images/app.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Triangular)
self.tabWidget.setDocumentMode(False)
self.tabWidget.setTabsClosable(True)
self.tabWidget.setMovable(True)
self.tabWidget.setTabBarAutoHide(True)
self.tabWidget.setObjectName("tabWidget")
self.defaultTab = QtWidgets.QWidget()
self.defaultTab.setObjectName("defaultTab")
self.tabWidget.addTab(self.defaultTab, "")
self.horizontalLayout.addWidget(self.tabWidget)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 460, 18))
self.menubar.setObjectName("menubar")
self.menuFile = QtWidgets.QMenu(self.menubar)
self.menuFile.setObjectName("menuFile")
self.menuEdit = QtWidgets.QMenu(self.menubar)
self.menuEdit.setObjectName("menuEdit")
self.menuView_V = QtWidgets.QMenu(self.menubar)
self.menuView_V.setObjectName("menuView_V")
self.menuHelp_H = QtWidgets.QMenu(self.menubar)
self.menuHelp_H.setObjectName("menuHelp_H")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtWidgets.QToolBar(MainWindow)
self.toolBar.setObjectName("toolBar")
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.actionOptions = QtWidgets.QAction(MainWindow)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icon/images/option.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionOptions.setIcon(icon1)
self.actionOptions.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
self.actionOptions.setShortcutVisibleInContextMenu(True)
self.actionOptions.setObjectName("actionOptions")
self.actionNewWindow = QtWidgets.QAction(MainWindow)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icon/images/window.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewWindow.setIcon(icon2)
self.actionNewWindow.setObjectName("actionNewWindow")
self.actionNewTab = QtWidgets.QAction(MainWindow)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/icon/images/newtab.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewTab.setIcon(icon3)
self.actionNewTab.setObjectName("actionNewTab")
self.actionReconnect = QtWidgets.QAction(MainWindow)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/icon/images/reconnect.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionReconnect.setIcon(icon4)
self.actionReconnect.setObjectName("actionReconnect")
self.actionSaveAsBMP = QtWidgets.QAction(MainWindow)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icon/images/storebmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionSaveAsBMP.setIcon(icon5)
self.actionSaveAsBMP.setObjectName("actionSaveAsBMP")
self.actionLogMetafilesAsBMP = QtWidgets.QAction(MainWindow)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/icon/images/logbmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsBMP.setIcon(icon6)
self.actionLogMetafilesAsBMP.setObjectName("actionLogMetafilesAsBMP")
self.actionLogMetafilesAsPVM = QtWidgets.QAction(MainWindow)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/icon/images/logpvm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsPVM.setIcon(icon7)
self.actionLogMetafilesAsPVM.setObjectName("actionLogMetafilesAsPVM")
self.actionPrint = QtWidgets.QAction(MainWindow)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/icon/images/print.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionPrint.setIcon(icon8)
self.actionPrint.setShortcutContext(QtCore.Qt.ApplicationShortcut)
self.actionPrint.setObjectName("actionPrint")
self.actionExit = QtWidgets.QAction(MainWindow)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/icon/images/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionExit.setIcon(icon9)
self.actionExit.setMenuRole(QtWidgets.QAction.QuitRole)
self.actionExit.setObjectName("actionExit")
self.actionCopy = QtWidgets.QAction(MainWindow)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/icon/images/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionCopy.setIcon(icon10)
self.actionCopy.setObjectName("actionCopy")
self.actionMaximized = QtWidgets.QAction(MainWindow)
self.actionMaximized.setCheckable(True)
self.actionMaximized.setObjectName("actionMaximized")
self.actionMenu = QtWidgets.QAction(MainWindow)
self.actionMenu.setCheckable(True)
self.actionMenu.setObjectName("actionMenu")
self.actionToolbar = QtWidgets.QAction(MainWindow)
self.actionToolbar.setCheckable(True)
self.actionToolbar.setObjectName("actionToolbar")
self.actionStatusbar = QtWidgets.QAction(MainWindow)
self.actionStatusbar.setCheckable(True)
self.actionStatusbar.setObjectName("actionStatusbar")
self.actionFullscreen = QtWidgets.QAction(MainWindow)
self.actionFullscreen.setCheckable(True)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/icon/images/fullscreen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionFullscreen.setIcon(icon11)
self.actionFullscreen.setObjectName("actionFullscreen")
self.actionManual = QtWidgets.QAction(MainWindow)
self.actionManual.setObjectName("actionManual")
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setMenuRole(QtWidgets.QAction.AboutRole)
self.actionAbout.setObjectName("actionAbout")
self.actionAboutQt = QtWidgets.QAction(MainWindow)
self.actionAboutQt.setMenuRole(QtWidgets.QAction.AboutQtRole)
self.actionAboutQt.setObjectName("actionAboutQt")
self.actionWhatIsThis = QtWidgets.QAction(MainWindow)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(":/icon/images/whatsthis.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionWhatIsThis.setIcon(icon12)
self.actionWhatIsThis.setObjectName("actionWhatIsThis")
self.actionHome = QtWidgets.QAction(MainWindow)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(":/icon/images/gohome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionHome.setIcon(icon13)
self.actionHome.setObjectName("actionHome")
self.menuFile.addAction(self.actionOptions)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionNewWindow)
self.menuFile.addAction(self.actionNewTab)
self.menuFile.addAction(self.actionReconnect)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionSaveAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsPVM)
self.menuFile.addAction(self.actionPrint)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionExit)
self.menuEdit.addAction(self.actionCopy)
self.menuView_V.addAction(self.actionMaximized)
self.menuView_V.addAction(self.actionMenu)
self.menuView_V.addAction(self.actionToolbar)
self.menuView_V.addAction(self.actionStatusbar)
self.menuView_V.addAction(self.actionFullscreen)
self.menuHelp_H.addAction(self.actionManual)
self.menuHelp_H.addAction(self.actionAbout)
self.menuHelp_H.addAction(self.actionAboutQt)
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuEdit.menuAction())
self.menubar.addAction(self.menuView_V.menuAction())
self.menubar.addAction(self.menuHelp_H.menuAction())
self.toolBar.addAction(self.actionHome)
self.toolBar.addAction(self.actionSaveAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsPVM)
self.toolBar.addAction(self.actionPrint)
self.toolBar.addAction(self.actionNewTab)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionCopy)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionReconnect)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionOptions)
self.toolBar.addAction(self.actionWhatIsThis)
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "Process View Browser", None, -1))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.defaultTab), QtWidgets.QApplication.translate("MainWindow", "Default Tab", None, -1))
self.menuFile.setTitle(QtWidgets.QApplication.translate("MainWindow", "&File", None, -1))
self.menuEdit.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Edit", None, -1))
self.menuView_V.setTitle(QtWidgets.QApplication.translate("MainWindow", "&View", None, -1))
self.menuHelp_H.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Help", None, -1))
self.toolBar.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "toolBar", None, -1))
self.actionOptions.setText(QtWidgets.QApplication.translate("MainWindow", "&Options", None, -1))
self.actionOptions.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+O", None, -1))
self.actionNewWindow.setText(QtWidgets.QApplication.translate("MainWindow", "&New Window", None, -1))
self.actionNewTab.setText(QtWidgets.QApplication.translate("MainWindow", "New &Tab", None, -1))
self.actionReconnect.setText(QtWidgets.QApplication.translate("MainWindow", "&Reconnect", None, -1))
self.actionSaveAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "&Save As BMP ...", None, -1))
self.actionLogMetafilesAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &BMP ...", None, -1))
self.actionLogMetafilesAsPVM.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &PVM ...", None, -1))
self.actionPrint.setText(QtWidgets.QApplication.translate("MainWindow", "&Print", None, -1))
self.actionPrint.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+P", None, -1))
self.actionExit.setText(QtWidgets.QApplication.translate("MainWindow", "Exit", None, -1))
self.actionCopy.setText(QtWidgets.QApplication.translate("MainWindow", "&Copy", None, -1))
self.actionCopy.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+C", None, -1))
self.actionMaximized.setText(QtWidgets.QApplication.translate("MainWindow", "Ma&ximized", None, -1))
self.actionMenu.setText(QtWidgets.QApplication.translate("MainWindow", "&Menu", None, -1))
self.actionToolbar.setText(QtWidgets.QApplication.translate("MainWindow", "Tool&bar", None, -1))
self.actionStatusbar.setText(QtWidgets.QApplication.translate("MainWindow", "&Statusbar", None, -1))
self.actionFullscreen.setText(QtWidgets.QApplication.translate("MainWindow", "&Fullscreen", None, -1))
self.actionManual.setText(QtWidgets.QApplication.translate("MainWindow", "&Manual", None, -1))
self.actionManual.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+H", None, -1))
self.actionAbout.setText(QtWidgets.QApplication.translate("MainWindow", "&About ...", None, -1))
self.actionAboutQt.setText(QtWidgets.QApplication.translate("MainWindow", "About &Qt", None, -1))
self.actionWhatIsThis.setText(QtWidgets.QApplication.translate("MainWindow", "What\'s this", None, -1))
self.actionHome.setText(QtWidgets.QApplication.translate("MainWindow", "Home", None, -1))
import hmi_client_rc
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Client_Window.ui',
# licensing of 'Client_Window.ui' applies.
#
# Created: Mon Feb 15 19:05:58 2021
# by: pyside2-uic running on PySide2 5.12.6
#
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(800, 600)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("images/app.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Triangular)
self.tabWidget.setDocumentMode(False)
self.tabWidget.setTabsClosable(True)
self.tabWidget.setMovable(True)
self.tabWidget.setTabBarAutoHide(True)
self.tabWidget.setObjectName("tabWidget")
self.defaultTab = QtWidgets.QWidget()
self.defaultTab.setObjectName("defaultTab")
self.tabWidget.addTab(self.defaultTab, "")
self.horizontalLayout.addWidget(self.tabWidget)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 18))
self.menubar.setObjectName("menubar")
self.menuFile = QtWidgets.QMenu(self.menubar)
self.menuFile.setObjectName("menuFile")
self.menuEdit = QtWidgets.QMenu(self.menubar)
self.menuEdit.setObjectName("menuEdit")
self.menuView_V = QtWidgets.QMenu(self.menubar)
self.menuView_V.setObjectName("menuView_V")
self.menuHelp_H = QtWidgets.QMenu(self.menubar)
self.menuHelp_H.setObjectName("menuHelp_H")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtWidgets.QToolBar(MainWindow)
self.toolBar.setObjectName("toolBar")
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.actionOptions = QtWidgets.QAction(MainWindow)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icon/images/option.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionOptions.setIcon(icon1)
self.actionOptions.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
self.actionOptions.setShortcutVisibleInContextMenu(True)
self.actionOptions.setObjectName("actionOptions")
self.actionNewWindow = QtWidgets.QAction(MainWindow)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icon/images/window.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewWindow.setIcon(icon2)
self.actionNewWindow.setObjectName("actionNewWindow")
self.actionNewTab = QtWidgets.QAction(MainWindow)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/icon/images/newtab.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewTab.setIcon(icon3)
self.actionNewTab.setObjectName("actionNewTab")
self.actionReconnect = QtWidgets.QAction(MainWindow)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/icon/images/reconnect.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionReconnect.setIcon(icon4)
self.actionReconnect.setObjectName("actionReconnect")
self.actionSaveAsBMP = QtWidgets.QAction(MainWindow)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icon/images/storebmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionSaveAsBMP.setIcon(icon5)
self.actionSaveAsBMP.setObjectName("actionSaveAsBMP")
self.actionLogMetafilesAsBMP = QtWidgets.QAction(MainWindow)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/icon/images/logbmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsBMP.setIcon(icon6)
self.actionLogMetafilesAsBMP.setObjectName("actionLogMetafilesAsBMP")
self.actionLogMetafilesAsPVM = QtWidgets.QAction(MainWindow)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/icon/images/logpvm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsPVM.setIcon(icon7)
self.actionLogMetafilesAsPVM.setObjectName("actionLogMetafilesAsPVM")
self.actionPrint = QtWidgets.QAction(MainWindow)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/icon/images/print.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionPrint.setIcon(icon8)
self.actionPrint.setShortcutContext(QtCore.Qt.ApplicationShortcut)
self.actionPrint.setObjectName("actionPrint")
self.actionExit = QtWidgets.QAction(MainWindow)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/icon/images/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionExit.setIcon(icon9)
self.actionExit.setMenuRole(QtWidgets.QAction.QuitRole)
self.actionExit.setObjectName("actionExit")
self.actionCopy = QtWidgets.QAction(MainWindow)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/icon/images/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionCopy.setIcon(icon10)
self.actionCopy.setObjectName("actionCopy")
self.actionMaximized = QtWidgets.QAction(MainWindow)
self.actionMaximized.setCheckable(True)
self.actionMaximized.setObjectName("actionMaximized")
self.actionMenu = QtWidgets.QAction(MainWindow)
self.actionMenu.setCheckable(True)
self.actionMenu.setObjectName("actionMenu")
self.actionToolbar = QtWidgets.QAction(MainWindow)
self.actionToolbar.setCheckable(True)
self.actionToolbar.setObjectName("actionToolbar")
self.actionStatusbar = QtWidgets.QAction(MainWindow)
self.actionStatusbar.setCheckable(True)
self.actionStatusbar.setObjectName("actionStatusbar")
self.actionFullscreen = QtWidgets.QAction(MainWindow)
self.actionFullscreen.setCheckable(True)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/icon/images/fullscreen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionFullscreen.setIcon(icon11)
self.actionFullscreen.setObjectName("actionFullscreen")
self.actionManual = QtWidgets.QAction(MainWindow)
self.actionManual.setObjectName("actionManual")
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setMenuRole(QtWidgets.QAction.AboutRole)
self.actionAbout.setObjectName("actionAbout")
self.actionAboutQt = QtWidgets.QAction(MainWindow)
self.actionAboutQt.setMenuRole(QtWidgets.QAction.AboutQtRole)
self.actionAboutQt.setObjectName("actionAboutQt")
self.actionWhatIsThis = QtWidgets.QAction(MainWindow)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(":/icon/images/whatsthis.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionWhatIsThis.setIcon(icon12)
self.actionWhatIsThis.setObjectName("actionWhatIsThis")
self.actionHome = QtWidgets.QAction(MainWindow)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(":/icon/images/gohome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionHome.setIcon(icon13)
self.actionHome.setObjectName("actionHome")
self.menuFile.addAction(self.actionOptions)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionNewWindow)
self.menuFile.addAction(self.actionNewTab)
self.menuFile.addAction(self.actionReconnect)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionSaveAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsPVM)
self.menuFile.addAction(self.actionPrint)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionExit)
self.menuEdit.addAction(self.actionCopy)
self.menuView_V.addAction(self.actionMaximized)
self.menuView_V.addAction(self.actionMenu)
self.menuView_V.addAction(self.actionToolbar)
self.menuView_V.addAction(self.actionStatusbar)
self.menuView_V.addAction(self.actionFullscreen)
self.menuHelp_H.addAction(self.actionManual)
self.menuHelp_H.addAction(self.actionAbout)
self.menuHelp_H.addAction(self.actionAboutQt)
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuEdit.menuAction())
self.menubar.addAction(self.menuView_V.menuAction())
self.menubar.addAction(self.menuHelp_H.menuAction())
self.toolBar.addAction(self.actionHome)
self.toolBar.addAction(self.actionSaveAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsPVM)
self.toolBar.addAction(self.actionPrint)
self.toolBar.addAction(self.actionNewTab)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionCopy)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionReconnect)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionOptions)
self.toolBar.addAction(self.actionWhatIsThis)
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "Process View Browser", None, -1))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.defaultTab), QtWidgets.QApplication.translate("MainWindow", "Default Tab", None, -1))
self.menuFile.setTitle(QtWidgets.QApplication.translate("MainWindow", "&File", None, -1))
self.menuEdit.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Edit", None, -1))
self.menuView_V.setTitle(QtWidgets.QApplication.translate("MainWindow", "&View", None, -1))
self.menuHelp_H.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Help", None, -1))
self.toolBar.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "toolBar", None, -1))
self.actionOptions.setText(QtWidgets.QApplication.translate("MainWindow", "&Options", None, -1))
self.actionOptions.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+O", None, -1))
self.actionNewWindow.setText(QtWidgets.QApplication.translate("MainWindow", "&New Window", None, -1))
self.actionNewTab.setText(QtWidgets.QApplication.translate("MainWindow", "New &Tab", None, -1))
self.actionReconnect.setText(QtWidgets.QApplication.translate("MainWindow", "&Reconnect", None, -1))
self.actionSaveAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "&Save As BMP ...", None, -1))
self.actionLogMetafilesAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &BMP ...", None, -1))
self.actionLogMetafilesAsPVM.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &PVM ...", None, -1))
self.actionPrint.setText(QtWidgets.QApplication.translate("MainWindow", "&Print", None, -1))
self.actionPrint.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+P", None, -1))
self.actionExit.setText(QtWidgets.QApplication.translate("MainWindow", "Exit", None, -1))
self.actionCopy.setText(QtWidgets.QApplication.translate("MainWindow", "&Copy", None, -1))
self.actionCopy.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+C", None, -1))
self.actionMaximized.setText(QtWidgets.QApplication.translate("MainWindow", "Ma&ximized", None, -1))
self.actionMenu.setText(QtWidgets.QApplication.translate("MainWindow", "&Menu", None, -1))
self.actionToolbar.setText(QtWidgets.QApplication.translate("MainWindow", "Tool&bar", None, -1))
self.actionStatusbar.setText(QtWidgets.QApplication.translate("MainWindow", "&Statusbar", None, -1))
self.actionFullscreen.setText(QtWidgets.QApplication.translate("MainWindow", "&Fullscreen", None, -1))
self.actionManual.setText(QtWidgets.QApplication.translate("MainWindow", "&Manual", None, -1))
self.actionManual.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+H", None, -1))
self.actionAbout.setText(QtWidgets.QApplication.translate("MainWindow", "&About ...", None, -1))
self.actionAboutQt.setText(QtWidgets.QApplication.translate("MainWindow", "About &Qt", None, -1))
self.actionWhatIsThis.setText(QtWidgets.QApplication.translate("MainWindow", "What\'s this", None, -1))
self.actionHome.setText(QtWidgets.QApplication.translate("MainWindow", "Home", None, -1))
import hmi_client_rc
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Client_Window.ui',
# licensing of 'Client_Window.ui' applies.
#
# Created: Mon Feb 15 19:59:07 2021
# by: pyside2-uic running on PySide2 5.12.6
#
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(800, 600)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("images/app.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Triangular)
self.tabWidget.setDocumentMode(False)
self.tabWidget.setTabsClosable(True)
self.tabWidget.setMovable(True)
self.tabWidget.setTabBarAutoHide(True)
self.tabWidget.setObjectName("tabWidget")
self.defaultTab = QtWidgets.QWidget()
self.defaultTab.setObjectName("defaultTab")
self.tabWidget.addTab(self.defaultTab, "")
self.horizontalLayout.addWidget(self.tabWidget)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 18))
self.menubar.setObjectName("menubar")
self.menuFile = QtWidgets.QMenu(self.menubar)
self.menuFile.setObjectName("menuFile")
self.menuEdit = QtWidgets.QMenu(self.menubar)
self.menuEdit.setObjectName("menuEdit")
self.menuView_V = QtWidgets.QMenu(self.menubar)
self.menuView_V.setObjectName("menuView_V")
self.menuHelp_H = QtWidgets.QMenu(self.menubar)
self.menuHelp_H.setObjectName("menuHelp_H")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtWidgets.QToolBar(MainWindow)
self.toolBar.setObjectName("toolBar")
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.actionOptions = QtWidgets.QAction(MainWindow)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icon/images/option.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionOptions.setIcon(icon1)
self.actionOptions.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
self.actionOptions.setShortcutVisibleInContextMenu(True)
self.actionOptions.setObjectName("actionOptions")
self.actionNewWindow = QtWidgets.QAction(MainWindow)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icon/images/window.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewWindow.setIcon(icon2)
self.actionNewWindow.setObjectName("actionNewWindow")
self.actionNewTab = QtWidgets.QAction(MainWindow)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/icon/images/newtab.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewTab.setIcon(icon3)
self.actionNewTab.setObjectName("actionNewTab")
self.actionReconnect = QtWidgets.QAction(MainWindow)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/icon/images/reconnect.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionReconnect.setIcon(icon4)
self.actionReconnect.setObjectName("actionReconnect")
self.actionSaveAsBMP = QtWidgets.QAction(MainWindow)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icon/images/storebmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionSaveAsBMP.setIcon(icon5)
self.actionSaveAsBMP.setObjectName("actionSaveAsBMP")
self.actionLogMetafilesAsBMP = QtWidgets.QAction(MainWindow)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/icon/images/logbmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsBMP.setIcon(icon6)
self.actionLogMetafilesAsBMP.setObjectName("actionLogMetafilesAsBMP")
self.actionLogMetafilesAsPVM = QtWidgets.QAction(MainWindow)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/icon/images/logpvm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsPVM.setIcon(icon7)
self.actionLogMetafilesAsPVM.setObjectName("actionLogMetafilesAsPVM")
self.actionPrint = QtWidgets.QAction(MainWindow)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/icon/images/print.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionPrint.setIcon(icon8)
self.actionPrint.setShortcutContext(QtCore.Qt.ApplicationShortcut)
self.actionPrint.setObjectName("actionPrint")
self.actionExit = QtWidgets.QAction(MainWindow)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/icon/images/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionExit.setIcon(icon9)
self.actionExit.setMenuRole(QtWidgets.QAction.QuitRole)
self.actionExit.setObjectName("actionExit")
self.actionCopy = QtWidgets.QAction(MainWindow)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/icon/images/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionCopy.setIcon(icon10)
self.actionCopy.setObjectName("actionCopy")
self.actionMaximized = QtWidgets.QAction(MainWindow)
self.actionMaximized.setCheckable(True)
self.actionMaximized.setObjectName("actionMaximized")
self.actionMenu = QtWidgets.QAction(MainWindow)
self.actionMenu.setCheckable(True)
self.actionMenu.setObjectName("actionMenu")
self.actionToolbar = QtWidgets.QAction(MainWindow)
self.actionToolbar.setCheckable(True)
self.actionToolbar.setObjectName("actionToolbar")
self.actionStatusbar = QtWidgets.QAction(MainWindow)
self.actionStatusbar.setCheckable(True)
self.actionStatusbar.setObjectName("actionStatusbar")
self.actionFullscreen = QtWidgets.QAction(MainWindow)
self.actionFullscreen.setCheckable(True)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/icon/images/fullscreen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionFullscreen.setIcon(icon11)
self.actionFullscreen.setObjectName("actionFullscreen")
self.actionManual = QtWidgets.QAction(MainWindow)
self.actionManual.setObjectName("actionManual")
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setMenuRole(QtWidgets.QAction.AboutRole)
self.actionAbout.setObjectName("actionAbout")
self.actionAboutQt = QtWidgets.QAction(MainWindow)
self.actionAboutQt.setMenuRole(QtWidgets.QAction.AboutQtRole)
self.actionAboutQt.setObjectName("actionAboutQt")
self.actionWhatIsThis = QtWidgets.QAction(MainWindow)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(":/icon/images/whatsthis.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionWhatIsThis.setIcon(icon12)
self.actionWhatIsThis.setObjectName("actionWhatIsThis")
self.actionHome = QtWidgets.QAction(MainWindow)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(":/icon/images/gohome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionHome.setIcon(icon13)
self.actionHome.setObjectName("actionHome")
self.menuFile.addAction(self.actionOptions)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionNewWindow)
self.menuFile.addAction(self.actionNewTab)
self.menuFile.addAction(self.actionReconnect)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionSaveAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsPVM)
self.menuFile.addAction(self.actionPrint)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionExit)
self.menuEdit.addAction(self.actionCopy)
self.menuView_V.addAction(self.actionMaximized)
self.menuView_V.addAction(self.actionMenu)
self.menuView_V.addAction(self.actionToolbar)
self.menuView_V.addAction(self.actionStatusbar)
self.menuView_V.addAction(self.actionFullscreen)
self.menuHelp_H.addAction(self.actionManual)
self.menuHelp_H.addAction(self.actionAbout)
self.menuHelp_H.addAction(self.actionAboutQt)
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuEdit.menuAction())
self.menubar.addAction(self.menuView_V.menuAction())
self.menubar.addAction(self.menuHelp_H.menuAction())
self.toolBar.addAction(self.actionHome)
self.toolBar.addAction(self.actionSaveAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsPVM)
self.toolBar.addAction(self.actionPrint)
self.toolBar.addAction(self.actionNewTab)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionCopy)
self.toolBar.addSeparator()
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "Process View Browser", None, -1))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.defaultTab), QtWidgets.QApplication.translate("MainWindow", "Default Tab", None, -1))
self.menuFile.setTitle(QtWidgets.QApplication.translate("MainWindow", "&File", None, -1))
self.menuEdit.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Edit", None, -1))
self.menuView_V.setTitle(QtWidgets.QApplication.translate("MainWindow", "&View", None, -1))
self.menuHelp_H.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Help", None, -1))
self.toolBar.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "toolBar", None, -1))
self.actionOptions.setText(QtWidgets.QApplication.translate("MainWindow", "&Options", None, -1))
self.actionOptions.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+O", None, -1))
self.actionNewWindow.setText(QtWidgets.QApplication.translate("MainWindow", "&New Window", None, -1))
self.actionNewTab.setText(QtWidgets.QApplication.translate("MainWindow", "New &Tab", None, -1))
self.actionReconnect.setText(QtWidgets.QApplication.translate("MainWindow", "&Reconnect", None, -1))
self.actionSaveAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "&Save As BMP ...", None, -1))
self.actionLogMetafilesAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &BMP ...", None, -1))
self.actionLogMetafilesAsPVM.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &PVM ...", None, -1))
self.actionPrint.setText(QtWidgets.QApplication.translate("MainWindow", "&Print", None, -1))
self.actionPrint.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+P", None, -1))
self.actionExit.setText(QtWidgets.QApplication.translate("MainWindow", "Exit", None, -1))
self.actionCopy.setText(QtWidgets.QApplication.translate("MainWindow", "&Copy", None, -1))
self.actionCopy.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+C", None, -1))
self.actionMaximized.setText(QtWidgets.QApplication.translate("MainWindow", "Ma&ximized", None, -1))
self.actionMenu.setText(QtWidgets.QApplication.translate("MainWindow", "&Menu", None, -1))
self.actionToolbar.setText(QtWidgets.QApplication.translate("MainWindow", "Tool&bar", None, -1))
self.actionStatusbar.setText(QtWidgets.QApplication.translate("MainWindow", "&Statusbar", None, -1))
self.actionFullscreen.setText(QtWidgets.QApplication.translate("MainWindow", "&Fullscreen", None, -1))
self.actionManual.setText(QtWidgets.QApplication.translate("MainWindow", "&Manual", None, -1))
self.actionManual.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+H", None, -1))
self.actionAbout.setText(QtWidgets.QApplication.translate("MainWindow", "&About ...", None, -1))
self.actionAboutQt.setText(QtWidgets.QApplication.translate("MainWindow", "About &Qt", None, -1))
self.actionWhatIsThis.setText(QtWidgets.QApplication.translate("MainWindow", "What\'s this", None, -1))
self.actionHome.setText(QtWidgets.QApplication.translate("MainWindow", "Home", None, -1))
import hmi_client_rc
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Client_Window.ui',
# licensing of 'Client_Window.ui' applies.
#
# Created: Tue Feb 16 08:25:09 2021
# by: pyside2-uic running on PySide2 5.12.6
#
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(800, 600)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("images/app.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Triangular)
self.tabWidget.setDocumentMode(False)
self.tabWidget.setTabsClosable(True)
self.tabWidget.setMovable(True)
self.tabWidget.setTabBarAutoHide(True)
self.tabWidget.setObjectName("tabWidget")
self.defaultTab = QtWidgets.QWidget()
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.defaultTab.sizePolicy().hasHeightForWidth())
self.defaultTab.setSizePolicy(sizePolicy)
self.defaultTab.setObjectName("defaultTab")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.defaultTab)
self.horizontalLayout_2.setSpacing(0)
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.tabWidget.addTab(self.defaultTab, "")
self.horizontalLayout.addWidget(self.tabWidget)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 18))
self.menubar.setObjectName("menubar")
self.menuFile = QtWidgets.QMenu(self.menubar)
self.menuFile.setObjectName("menuFile")
self.menuEdit = QtWidgets.QMenu(self.menubar)
self.menuEdit.setObjectName("menuEdit")
self.menuView_V = QtWidgets.QMenu(self.menubar)
self.menuView_V.setObjectName("menuView_V")
self.menuHelp_H = QtWidgets.QMenu(self.menubar)
self.menuHelp_H.setObjectName("menuHelp_H")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtWidgets.QToolBar(MainWindow)
self.toolBar.setObjectName("toolBar")
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.actionOptions = QtWidgets.QAction(MainWindow)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icon/images/option.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionOptions.setIcon(icon1)
self.actionOptions.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
self.actionOptions.setShortcutVisibleInContextMenu(True)
self.actionOptions.setObjectName("actionOptions")
self.actionNewWindow = QtWidgets.QAction(MainWindow)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icon/images/window.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewWindow.setIcon(icon2)
self.actionNewWindow.setObjectName("actionNewWindow")
self.actionNewTab = QtWidgets.QAction(MainWindow)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/icon/images/newtab.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionNewTab.setIcon(icon3)
self.actionNewTab.setObjectName("actionNewTab")
self.actionReconnect = QtWidgets.QAction(MainWindow)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/icon/images/reconnect.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionReconnect.setIcon(icon4)
self.actionReconnect.setObjectName("actionReconnect")
self.actionSaveAsBMP = QtWidgets.QAction(MainWindow)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icon/images/storebmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionSaveAsBMP.setIcon(icon5)
self.actionSaveAsBMP.setObjectName("actionSaveAsBMP")
self.actionLogMetafilesAsBMP = QtWidgets.QAction(MainWindow)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/icon/images/logbmp.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsBMP.setIcon(icon6)
self.actionLogMetafilesAsBMP.setObjectName("actionLogMetafilesAsBMP")
self.actionLogMetafilesAsPVM = QtWidgets.QAction(MainWindow)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/icon/images/logpvm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionLogMetafilesAsPVM.setIcon(icon7)
self.actionLogMetafilesAsPVM.setObjectName("actionLogMetafilesAsPVM")
self.actionPrint = QtWidgets.QAction(MainWindow)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/icon/images/print.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionPrint.setIcon(icon8)
self.actionPrint.setShortcutContext(QtCore.Qt.ApplicationShortcut)
self.actionPrint.setObjectName("actionPrint")
self.actionExit = QtWidgets.QAction(MainWindow)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/icon/images/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionExit.setIcon(icon9)
self.actionExit.setMenuRole(QtWidgets.QAction.QuitRole)
self.actionExit.setObjectName("actionExit")
self.actionCopy = QtWidgets.QAction(MainWindow)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/icon/images/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionCopy.setIcon(icon10)
self.actionCopy.setObjectName("actionCopy")
self.actionMaximized = QtWidgets.QAction(MainWindow)
self.actionMaximized.setCheckable(True)
self.actionMaximized.setObjectName("actionMaximized")
self.actionMenu = QtWidgets.QAction(MainWindow)
self.actionMenu.setCheckable(True)
self.actionMenu.setObjectName("actionMenu")
self.actionToolbar = QtWidgets.QAction(MainWindow)
self.actionToolbar.setCheckable(True)
self.actionToolbar.setObjectName("actionToolbar")
self.actionStatusbar = QtWidgets.QAction(MainWindow)
self.actionStatusbar.setCheckable(True)
self.actionStatusbar.setObjectName("actionStatusbar")
self.actionFullscreen = QtWidgets.QAction(MainWindow)
self.actionFullscreen.setCheckable(True)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/icon/images/fullscreen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionFullscreen.setIcon(icon11)
self.actionFullscreen.setObjectName("actionFullscreen")
self.actionManual = QtWidgets.QAction(MainWindow)
self.actionManual.setObjectName("actionManual")
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setMenuRole(QtWidgets.QAction.AboutRole)
self.actionAbout.setObjectName("actionAbout")
self.actionAboutQt = QtWidgets.QAction(MainWindow)
self.actionAboutQt.setMenuRole(QtWidgets.QAction.AboutQtRole)
self.actionAboutQt.setObjectName("actionAboutQt")
self.actionWhatIsThis = QtWidgets.QAction(MainWindow)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(":/icon/images/whatsthis.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionWhatIsThis.setIcon(icon12)
self.actionWhatIsThis.setObjectName("actionWhatIsThis")
self.actionHome = QtWidgets.QAction(MainWindow)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(":/icon/images/gohome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionHome.setIcon(icon13)
self.actionHome.setObjectName("actionHome")
self.menuFile.addAction(self.actionOptions)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionNewWindow)
self.menuFile.addAction(self.actionNewTab)
self.menuFile.addAction(self.actionReconnect)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionSaveAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsBMP)
self.menuFile.addAction(self.actionLogMetafilesAsPVM)
self.menuFile.addAction(self.actionPrint)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionExit)
self.menuEdit.addAction(self.actionCopy)
self.menuView_V.addAction(self.actionMaximized)
self.menuView_V.addAction(self.actionMenu)
self.menuView_V.addAction(self.actionToolbar)
self.menuView_V.addAction(self.actionStatusbar)
self.menuView_V.addAction(self.actionFullscreen)
self.menuHelp_H.addAction(self.actionManual)
self.menuHelp_H.addAction(self.actionAbout)
self.menuHelp_H.addAction(self.actionAboutQt)
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuEdit.menuAction())
self.menubar.addAction(self.menuView_V.menuAction())
self.menubar.addAction(self.menuHelp_H.menuAction())
self.toolBar.addAction(self.actionHome)
self.toolBar.addAction(self.actionSaveAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsBMP)
self.toolBar.addAction(self.actionLogMetafilesAsPVM)
self.toolBar.addAction(self.actionPrint)
self.toolBar.addAction(self.actionNewTab)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionCopy)
self.toolBar.addSeparator()
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "Process View Browser", None, -1))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.defaultTab), QtWidgets.QApplication.translate("MainWindow", "Default Tab", None, -1))
self.menuFile.setTitle(QtWidgets.QApplication.translate("MainWindow", "&File", None, -1))
self.menuEdit.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Edit", None, -1))
self.menuView_V.setTitle(QtWidgets.QApplication.translate("MainWindow", "&View", None, -1))
self.menuHelp_H.setTitle(QtWidgets.QApplication.translate("MainWindow", "&Help", None, -1))
self.toolBar.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "toolBar", None, -1))
self.actionOptions.setText(QtWidgets.QApplication.translate("MainWindow", "&Options", None, -1))
self.actionOptions.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+O", None, -1))
self.actionNewWindow.setText(QtWidgets.QApplication.translate("MainWindow", "&New Window", None, -1))
self.actionNewTab.setText(QtWidgets.QApplication.translate("MainWindow", "New &Tab", None, -1))
self.actionReconnect.setText(QtWidgets.QApplication.translate("MainWindow", "&Reconnect", None, -1))
self.actionSaveAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "&Save As BMP ...", None, -1))
self.actionLogMetafilesAsBMP.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &BMP ...", None, -1))
self.actionLogMetafilesAsPVM.setText(QtWidgets.QApplication.translate("MainWindow", "Log Metafiles As &PVM ...", None, -1))
self.actionPrint.setText(QtWidgets.QApplication.translate("MainWindow", "&Print", None, -1))
self.actionPrint.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+P", None, -1))
self.actionExit.setText(QtWidgets.QApplication.translate("MainWindow", "Exit", None, -1))
self.actionCopy.setText(QtWidgets.QApplication.translate("MainWindow", "&Copy", None, -1))
self.actionCopy.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+C", None, -1))
self.actionMaximized.setText(QtWidgets.QApplication.translate("MainWindow", "Ma&ximized", None, -1))
self.actionMenu.setText(QtWidgets.QApplication.translate("MainWindow", "&Menu", None, -1))
self.actionToolbar.setText(QtWidgets.QApplication.translate("MainWindow", "Tool&bar", None, -1))
self.actionStatusbar.setText(QtWidgets.QApplication.translate("MainWindow", "&Statusbar", None, -1))
self.actionFullscreen.setText(QtWidgets.QApplication.translate("MainWindow", "&Fullscreen", None, -1))
self.actionManual.setText(QtWidgets.QApplication.translate("MainWindow", "&Manual", None, -1))
self.actionManual.setShortcut(QtWidgets.QApplication.translate("MainWindow", "Ctrl+H", None, -1))
self.actionAbout.setText(QtWidgets.QApplication.translate("MainWindow", "&About ...", None, -1))
self.actionAboutQt.setText(QtWidgets.QApplication.translate("MainWindow", "About &Qt", None, -1))
self.actionWhatIsThis.setText(QtWidgets.QApplication.translate("MainWindow", "What\'s this", None, -1))
self.actionHome.setText(QtWidgets.QApplication.translate("MainWindow", "Home", None, -1))
import hmi_client_rc
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化