代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainUi.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(782, 600)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/img/app"), QtGui.QIcon.Normal, QtGui.QIcon.On)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.vlayout = QtWidgets.QVBoxLayout()
self.vlayout.setSpacing(0)
self.vlayout.setObjectName("vlayout")
self.mdi_area = QtWidgets.QMdiArea(self.centralwidget)
self.mdi_area.setEnabled(True)
self.mdi_area.setLayoutDirection(QtCore.Qt.LeftToRight)
self.mdi_area.setAutoFillBackground(True)
self.mdi_area.setFrameShape(QtWidgets.QFrame.NoFrame)
self.mdi_area.setFrameShadow(QtWidgets.QFrame.Plain)
self.mdi_area.setLineWidth(0)
self.mdi_area.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.mdi_area.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.mdi_area.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
brush = QtGui.QBrush(QtGui.QColor(160, 160, 160))
brush.setStyle(QtCore.Qt.SolidPattern)
self.mdi_area.setBackground(brush)
self.mdi_area.setViewMode(QtWidgets.QMdiArea.SubWindowView)
self.mdi_area.setTabShape(QtWidgets.QTabWidget.Rounded)
self.mdi_area.setTabPosition(QtWidgets.QTabWidget.East)
self.mdi_area.setObjectName("mdi_area")
self.vlayout.addWidget(self.mdi_area)
self.horizontalLayout.addLayout(self.vlayout)
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtWidgets.QToolBar(MainWindow)
self.toolBar.setMovable(False)
self.toolBar.setIconSize(QtCore.QSize(36, 32))
self.toolBar.setObjectName("toolBar")
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.actionRun = QtWidgets.QAction(MainWindow)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/img/run"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionRun.setIcon(icon1)
self.actionRun.setObjectName("actionRun")
self.actionAbort = QtWidgets.QAction(MainWindow)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/img/stop"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionAbort.setIcon(icon2)
self.actionAbort.setObjectName("actionAbort")
self.actionSetting = QtWidgets.QAction(MainWindow)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/img/cfg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.actionSetting.setIcon(icon3)
self.actionSetting.setObjectName("actionSetting")
self.actionHelp = QtWidgets.QAction(MainWindow)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/img/help"), QtGui.QIcon.Normal, QtGui.QIcon.On)
self.actionHelp.setIcon(icon4)
self.actionHelp.setObjectName("actionHelp")
self.actionLogin = QtWidgets.QAction(MainWindow)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/img/login"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
icon5.addPixmap(QtGui.QPixmap(":/img/login"), QtGui.QIcon.Normal, QtGui.QIcon.On)
self.actionLogin.setIcon(icon5)
self.actionLogin.setObjectName("actionLogin")
self.toolBar.addAction(self.actionLogin)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionRun)
self.toolBar.addAction(self.actionAbort)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionSetting)
self.toolBar.addAction(self.actionHelp)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "光纤场温度测试系统"))
self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar"))
self.actionRun.setText(_translate("MainWindow", "Start"))
self.actionRun.setToolTip(_translate("MainWindow", "Run"))
self.actionAbort.setText(_translate("MainWindow", "Abort"))
self.actionSetting.setText(_translate("MainWindow", "Setting"))
self.actionHelp.setText(_translate("MainWindow", "Help"))
self.actionLogin.setText(_translate("MainWindow", "Login"))
import res_rc
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。