1 Star 0 Fork 0

Michael Ji/Temperature Monitor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mainUi.py 5.04 KB
一键复制 编辑 原始数据 按行查看 历史
Tommy.Hui 提交于 2018-09-20 22:09 . 1, 去掉“heat”chart
# -*- 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/jibintao/Temperature-Monitor.git
git@gitee.com:jibintao/Temperature-Monitor.git
jibintao
Temperature-Monitor
Temperature Monitor
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385