changePassword.py 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Form implementation generated from reading ui file 'changePassword.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_FormChangePssword(object):
  10. def setupUi(self, FormChangePssword):
  11. FormChangePssword.setObjectName("FormChangePssword")
  12. FormChangePssword.resize(360, 160)
  13. FormChangePssword.setWindowIcon(QIcon(':/icon/1.ico'))
  14. FormChangePssword.setMinimumSize(QtCore.QSize(360, 140))
  15. FormChangePssword.setMaximumSize(QtCore.QSize(360, 160))
  16. self.gridLayout = QtWidgets.QGridLayout(FormChangePssword)
  17. self.gridLayout.setObjectName("gridLayout")
  18. self.verticalLayout = QtWidgets.QVBoxLayout()
  19. self.verticalLayout.setObjectName("verticalLayout")
  20. self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
  21. self.horizontalLayout_2.setObjectName("horizontalLayout_2")
  22. self.label_2 = QtWidgets.QLabel(parent=FormChangePssword)
  23. self.label_2.setObjectName("label_2")
  24. self.horizontalLayout_2.addWidget(self.label_2)
  25. self.lineEditold = QtWidgets.QLineEdit(parent=FormChangePssword)
  26. self.lineEditold.setObjectName("lineEditold")
  27. self.lineEditold.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
  28. self.horizontalLayout_2.addWidget(self.lineEditold)
  29. self.verticalLayout.addLayout(self.horizontalLayout_2)
  30. self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
  31. self.horizontalLayout_3.setObjectName("horizontalLayout_3")
  32. self.label_3 = QtWidgets.QLabel(parent=FormChangePssword)
  33. self.label_3.setObjectName("label_3")
  34. self.horizontalLayout_3.addWidget(self.label_3)
  35. self.lineEditnew = QtWidgets.QLineEdit(parent=FormChangePssword)
  36. self.lineEditnew.setText("")
  37. self.lineEditnew.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignVCenter)
  38. self.lineEditnew.setObjectName("lineEditnew")
  39. self.lineEditnew.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
  40. self.horizontalLayout_3.addWidget(self.lineEditnew)
  41. self.verticalLayout.addLayout(self.horizontalLayout_3)
  42. self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
  43. self.horizontalLayout_4.setObjectName("horizontalLayout_4")
  44. self.label_4 = QtWidgets.QLabel(parent=FormChangePssword)
  45. self.label_4.setObjectName("label_4")
  46. self.horizontalLayout_4.addWidget(self.label_4)
  47. self.lineEditnew2 = QtWidgets.QLineEdit(parent=FormChangePssword)
  48. self.lineEditnew2.setObjectName("lineEditnew2")
  49. self.lineEditnew2.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
  50. self.horizontalLayout_4.addWidget(self.lineEditnew2)
  51. self.verticalLayout.addLayout(self.horizontalLayout_4)
  52. self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
  53. self.pushButton = QtWidgets.QPushButton(parent=FormChangePssword)
  54. self.pushButton.setObjectName("pushButton")
  55. self.gridLayout.addWidget(self.pushButton, 1, 0, 1, 1)
  56. self.retranslateUi(FormChangePssword)
  57. QtCore.QMetaObject.connectSlotsByName(FormChangePssword)
  58. def retranslateUi(self, FormChangePssword):
  59. _translate = QtCore.QCoreApplication.translate
  60. FormChangePssword.setWindowTitle(_translate("FormChangePssword", "更改密码"))
  61. self.label_2.setText(_translate("FormChangePssword", "原 密 码"))
  62. self.label_3.setText(_translate("FormChangePssword", "新 密 码"))
  63. self.label_4.setText(_translate("FormChangePssword", "确认密码"))
  64. self.pushButton.setText(_translate("FormChangePssword", "提交"))