updata pyqtgraph Demo
This commit is contained in:
parent
c7aa482deb
commit
d9d4f40b38
1 changed files with 53 additions and 0 deletions
53
PyQtGraph/Data/graphTest.py
Normal file
53
PyQtGraph/Data/graphTest.py
Normal file
|
@ -0,0 +1,53 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'graphTest.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.11.3
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
class graph_Form(object):
|
||||
def setupUi(self, Form):
|
||||
Form.setObjectName("Form")
|
||||
Form.resize(1024, 768)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(Form)
|
||||
self.verticalLayout.setContentsMargins(20, 20, 20, 20)
|
||||
self.verticalLayout.setSpacing(20)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.label = QtWidgets.QLabel(Form)
|
||||
font = QtGui.QFont()
|
||||
font.setPointSize(15)
|
||||
self.label.setFont(font)
|
||||
self.label.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label.setObjectName("label")
|
||||
self.verticalLayout.addWidget(self.label)
|
||||
self.tabWidget = QtWidgets.QTabWidget(Form)
|
||||
self.tabWidget.setObjectName("tabWidget")
|
||||
self.tab = QtWidgets.QWidget()
|
||||
self.tab.setObjectName("tab")
|
||||
self.tabWidget.addTab(self.tab, "")
|
||||
self.tab_2 = QtWidgets.QWidget()
|
||||
self.tab_2.setObjectName("tab_2")
|
||||
self.tabWidget.addTab(self.tab_2, "")
|
||||
self.verticalLayout.addWidget(self.tabWidget)
|
||||
self.pushButton_7 = QtWidgets.QPushButton(Form)
|
||||
self.pushButton_7.setMinimumSize(QtCore.QSize(0, 80))
|
||||
font = QtGui.QFont()
|
||||
font.setPointSize(15)
|
||||
self.pushButton_7.setFont(font)
|
||||
self.pushButton_7.setObjectName("pushButton_7")
|
||||
self.verticalLayout.addWidget(self.pushButton_7)
|
||||
|
||||
self.retranslateUi(Form)
|
||||
self.tabWidget.setCurrentIndex(0)
|
||||
QtCore.QMetaObject.connectSlotsByName(Form)
|
||||
|
||||
def retranslateUi(self, Form):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
Form.setWindowTitle(_translate("Form", "Form"))
|
||||
self.label.setText(_translate("Form", "图形分析"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Form", "折线图"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Form", "Tab 2"))
|
||||
self.pushButton_7.setText(_translate("Form", "分析"))
|
||||
|
Loading…
Reference in a new issue