diff --git a/PyQtGraph/Data/graphAnalysis.py b/PyQtGraph/Data/graphAnalysis.py deleted file mode 100644 index 9503f17..0000000 --- a/PyQtGraph/Data/graphAnalysis.py +++ /dev/null @@ -1,54 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file '' -# -# 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", "分析")) - diff --git a/PyQtGraph/Data/graphAnalysis.ui b/PyQtGraph/Data/graphTest.ui similarity index 100% rename from PyQtGraph/Data/graphAnalysis.ui rename to PyQtGraph/Data/graphTest.ui diff --git a/PyQtGraph/graph1.py b/PyQtGraph/graph1.py index c1e915f..521ec41 100644 --- a/PyQtGraph/graph1.py +++ b/PyQtGraph/graph1.py @@ -12,9 +12,7 @@ import sys from PyQt5.QtWidgets import QDialog, QApplication, QWidget from qtpy import QtWidgets import pyqtgraph as pg - -from PyQtGraph.Data.graphAnalysis import graph_Form - +from PyQtGraph.Data.graphTest import graph_Form class CustomViewBox(pg.ViewBox): def __init__(self, *args, **kwds):