AddPG2.py 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Form implementation generated from reading ui file 'AddPG.ui'
  2. #
  3. # Created by: PyQt6 UI code generator 6.5.1
  4. #
  5. # WARNING: Any manual changes made to this file will be lost when pyuic6 is
  6. # run again. Do not edit this file unless you know what you are doing.
  7. from PyQt6 import QtCore, QtWidgets
  8. from PyQt6.QtGui import QIcon
  9. class Ui_FormAddPG(object):
  10. def setupUi(self, FormAddPG):
  11. FormAddPG.setObjectName("FormAddPG")
  12. FormAddPG.resize(360, 160)
  13. FormAddPG.setWindowIcon(QIcon(':/icon/1.ico'))
  14. FormAddPG.setMinimumSize(QtCore.QSize(360, 140))
  15. FormAddPG.setMaximumSize(QtCore.QSize(360, 160))
  16. self.gridLayout = QtWidgets.QGridLayout(FormAddPG)
  17. self.gridLayout.setObjectName("gridLayout")
  18. self.verticalLayout = QtWidgets.QVBoxLayout()
  19. self.verticalLayout.setObjectName("verticalLayout")
  20. self.horizontalLayout = QtWidgets.QHBoxLayout()
  21. self.horizontalLayout.setObjectName("horizontalLayout")
  22. self.label = QtWidgets.QLabel(parent=FormAddPG)
  23. self.label.setObjectName("label")
  24. self.horizontalLayout.addWidget(self.label)
  25. self.textEdit = QtWidgets.QTextEdit(parent=FormAddPG)
  26. self.textEdit.setObjectName("textEdit")
  27. self.horizontalLayout.addWidget(self.textEdit)
  28. self.verticalLayout.addLayout(self.horizontalLayout)
  29. self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
  30. self.pushButton = QtWidgets.QPushButton(parent=FormAddPG)
  31. self.pushButton.setObjectName("pushButton")
  32. self.gridLayout.addWidget(self.pushButton, 1, 0, 1, 1)
  33. self.retranslateUi(FormAddPG)
  34. QtCore.QMetaObject.connectSlotsByName(FormAddPG)
  35. def retranslateUi(self, FormAddPG):
  36. _translate = QtCore.QCoreApplication.translate
  37. FormAddPG.setWindowTitle(_translate("FormAddPG", "Form"))
  38. self.label.setText(_translate("FormAddPG", "待办内容"))
  39. self.pushButton.setText(_translate("FormAddPG", "提交"))