#-*- coding: utf-8 -*-
#Form implementation generated from reading ui file 'query.ui'#
#Created by: PyQt5 UI code generator 5.11.3#
#WARNING! All changes made in this file will be lost!
from PyQt5 importQtCore, QtGui, QtWidgetsclassUi_MainWindow(object):defsetupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1119, 616)
self.centralwidget=QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout=QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout.setObjectName("gridLayout")
self.text_netype=QtWidgets.QLineEdit(self.centralwidget)
self.text_netype.setObjectName("text_netype")
self.gridLayout.addWidget(self.text_netype, 0,1, 1, 1)
self.label_indicator_id=QtWidgets.QLabel(self.centralwidget)
font=QtGui.QFont()
font.setPointSize(13)
self.label_indicator_id.setFont(font)
self.label_indicator_id.setLayoutDirection(QtCore.Qt.RightToLeft)
self.label_indicator_id.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_indicator_id.setObjectName("label_indicator_id")
self.gridLayout.addWidget(self.label_indicator_id, 0,2, 1, 1)
self.text_indicator_id=QtWidgets.QLineEdit(self.centralwidget)
self.text_indicator_id.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)
self.text_indicator_id.setObjectName("text_indicator_id")
self.gridLayout.addWidget(self.text_indicator_id, 0,3, 1, 1)
self.pushButton=QtWidgets.QPushButton(self.centralwidget)
font=QtGui.QFont()
font.setPointSize(13)
self.pushButton.setFont(font)
self.pushButton.setObjectName("pushButton")
self.gridLayout.addWidget(self.pushButton, 0,4, 1, 1)
self.tableWidget=QtWidgets.QTableWidget(self.centralwidget)
self.tableWidget.setObjectName("tableWidget")
self.tableWidget.setColumnCount(9)
self.tableWidget.setRowCount(0)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(0, item)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(1, item)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(2, item)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(3, item)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(4, item)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(5, item)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(6, item)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(7, item)
item=QtWidgets.QTableWidgetItem()
self.tableWidget.setHorizontalHeaderItem(8, item)
self.gridLayout.addWidget(self.tableWidget,1, 0, 1, 5)
self.label_netype=QtWidgets.QLabel(self.centralwidget)
font=QtGui.QFont()
font.setPointSize(13)
self.label_netype.setFont(font)
self.label_netype.setLayoutDirection(QtCore.Qt.RightToLeft)
self.label_netype.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_netype.setObjectName("label_netype")
self.gridLayout.addWidget(self.label_netype, 0, 0,1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar=QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0,1119, 26))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar=QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)defretranslateUi(self, MainWindow):
_translate=QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "查询性能指标公式"))
self.label_indicator_id.setText(_translate("MainWindow", "指标ID"))
self.pushButton.setText(_translate("MainWindow", "查询"))
item=self.tableWidget.horizontalHeaderItem(0)
item.setText(_translate("MainWindow", "DEV_TYPE_NAME"))
item= self.tableWidget.horizontalHeaderItem(1)
item.setText(_translate("MainWindow", "DEV_TYPE_ID"))
item= self.tableWidget.horizontalHeaderItem(2)
item.setText(_translate("MainWindow", "DEV_TYPE_VERSION"))
item= self.tableWidget.horizontalHeaderItem(3)
item.setText(_translate("MainWindow", "INDICATOR_GRP_ID"))
item= self.tableWidget.horizontalHeaderItem(4)
item.setText(_translate("MainWindow", "OS_VERSION"))
item= self.tableWidget.horizontalHeaderItem(5)
item.setText(_translate("MainWindow", "PRIORITY"))
item= self.tableWidget.horizontalHeaderItem(6)
item.setText(_translate("MainWindow", "PROTOCOL"))
item= self.tableWidget.horizontalHeaderItem(7)
item.setText(_translate("MainWindow", "INDICATOR_ID"))
item= self.tableWidget.horizontalHeaderItem(8)
item.setText(_translate("MainWindow", "FORMULA"))
self.label_netype.setText(_translate("MainWindow", "设备类型"))