AddPG.py 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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.horizontalLayout_3 = QtWidgets.QHBoxLayout()
  19. self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetMaximumSize)
  20. self.horizontalLayout_3.setObjectName("horizontalLayout_3")
  21. self.label_2 = QtWidgets.QLabel(parent=FormAddPG)
  22. self.label_2.setMaximumSize(QtCore.QSize(50, 16777215))
  23. self.label_2.setObjectName("label_2")
  24. self.horizontalLayout_3.addWidget(self.label_2)
  25. self.dateTimeEdit = QtWidgets.QDateTimeEdit(parent=FormAddPG)
  26. self.dateTimeEdit.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
  27. self.dateTimeEdit.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
  28. self.dateTimeEdit.setCalendarPopup(True)
  29. self.dateTimeEdit.setObjectName("dateTimeEdit")
  30. self.horizontalLayout_3.addWidget(self.dateTimeEdit)
  31. self.gridLayout.addLayout(self.horizontalLayout_3, 2, 0, 1, 1)
  32. self.pushButton = QtWidgets.QPushButton(parent=FormAddPG)
  33. self.pushButton.setObjectName("pushButton")
  34. self.gridLayout.addWidget(self.pushButton, 8, 0, 1, 1)
  35. self.verticalLayout = QtWidgets.QVBoxLayout()
  36. self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetDefaultConstraint)
  37. self.verticalLayout.setObjectName("verticalLayout")
  38. self.horizontalLayout = QtWidgets.QHBoxLayout()
  39. self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetFixedSize)
  40. self.horizontalLayout.setObjectName("horizontalLayout")
  41. self.label = QtWidgets.QLabel(parent=FormAddPG)
  42. self.label.setObjectName("label")
  43. self.horizontalLayout.addWidget(self.label)
  44. self.textEdit = QtWidgets.QTextEdit(parent=FormAddPG)
  45. self.textEdit.setObjectName("textEdit")
  46. self.horizontalLayout.addWidget(self.textEdit)
  47. self.verticalLayout.addLayout(self.horizontalLayout)
  48. self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
  49. self.retranslateUi(FormAddPG)
  50. QtCore.QMetaObject.connectSlotsByName(FormAddPG)
  51. def retranslateUi(self, FormAddPG):
  52. _translate = QtCore.QCoreApplication.translate
  53. FormAddPG.setWindowTitle(_translate("FormAddPG", "添加待办提醒"))
  54. self.label_2.setText(_translate("FormAddPG", "提醒时间"))
  55. self.pushButton.setText(_translate("FormAddPG", "提交"))
  56. self.label.setText(_translate("FormAddPG", "待办内容"))