50 lines
1.9 KiB
Python
50 lines
1.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'D:\QGroup_432987409\WoHowLearn\0.M_I_pyqt\partner_625781186\15_Plugins\Plugins\page1\PluginPage1.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.10.1
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
class Ui_Form(object):
|
|
def setupUi(self, Form):
|
|
Form.setObjectName("Form")
|
|
Form.resize(400, 300)
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(Form)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.pushButton = QtWidgets.QPushButton(Form)
|
|
self.pushButton.setObjectName("pushButton")
|
|
self.verticalLayout.addWidget(self.pushButton)
|
|
self.pushButton_2 = QtWidgets.QPushButton(Form)
|
|
self.pushButton_2.setObjectName("pushButton_2")
|
|
self.verticalLayout.addWidget(self.pushButton_2)
|
|
self.pushButton_3 = QtWidgets.QPushButton(Form)
|
|
self.pushButton_3.setObjectName("pushButton_3")
|
|
self.verticalLayout.addWidget(self.pushButton_3)
|
|
self.lineEdit = QtWidgets.QLineEdit(Form)
|
|
self.lineEdit.setObjectName("lineEdit")
|
|
self.verticalLayout.addWidget(self.lineEdit)
|
|
|
|
self.retranslateUi(Form)
|
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
|
|
|
def retranslateUi(self, Form):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Form.setWindowTitle(_translate("Form", "Form"))
|
|
self.pushButton.setText(_translate("Form", "btn1"))
|
|
self.pushButton_2.setText(_translate("Form", "btn2"))
|
|
self.pushButton_3.setText(_translate("Form", "btn3"))
|
|
self.lineEdit.setText(_translate("Form", "测试页面1"))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
app = QtWidgets.QApplication(sys.argv)
|
|
Form = QtWidgets.QWidget()
|
|
ui = Ui_Form()
|
|
ui.setupUi(Form)
|
|
Form.show()
|
|
sys.exit(app.exec_())
|
|
|