adduser.py 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Form implementation generated from reading ui file 'D:\fairyJY\py\flightinfo2\flightinfo\UI\adduser.ui'
  2. #
  3. # Created by: PyQt6 UI code generator 6.4.0
  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_FormAdduser(object):
  10. def setupUi(self, FormAdduser):
  11. FormAdduser.setObjectName("FormAdduser")
  12. FormAdduser.resize(360, 160)
  13. FormAdduser.setWindowIcon(QIcon(':/icon/1.ico'))
  14. FormAdduser.setMinimumSize(QtCore.QSize(360, 140))
  15. FormAdduser.setMaximumSize(QtCore.QSize(360, 160))
  16. self.gridLayout = QtWidgets.QGridLayout(FormAdduser)
  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(FormAdduser)
  23. self.label.setObjectName("label")
  24. self.horizontalLayout.addWidget(self.label)
  25. self.lineEditUser = QtWidgets.QLineEdit(FormAdduser)
  26. self.lineEditUser.setObjectName("lineEditUser")
  27. self.horizontalLayout.addWidget(self.lineEditUser)
  28. self.verticalLayout.addLayout(self.horizontalLayout)
  29. self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
  30. self.horizontalLayout_2.setObjectName("horizontalLayout_2")
  31. self.label_2 = QtWidgets.QLabel(FormAdduser)
  32. self.label_2.setObjectName("label_2")
  33. self.horizontalLayout_2.addWidget(self.label_2)
  34. self.lineEditPWD = QtWidgets.QLineEdit(FormAdduser)
  35. self.lineEditPWD.setObjectName("lineEditPWD")
  36. self.horizontalLayout_2.addWidget(self.lineEditPWD)
  37. self.verticalLayout.addLayout(self.horizontalLayout_2)
  38. self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
  39. self.horizontalLayout_3.setObjectName("horizontalLayout_3")
  40. self.label_3 = QtWidgets.QLabel(FormAdduser)
  41. self.label_3.setObjectName("label_3")
  42. self.horizontalLayout_3.addWidget(self.label_3)
  43. self.comboBox = QtWidgets.QComboBox(FormAdduser)
  44. self.comboBox.setObjectName("comboBox")
  45. self.horizontalLayout_3.addWidget(self.comboBox)
  46. self.horizontalLayout_3.setStretch(1, 2)
  47. self.verticalLayout.addLayout(self.horizontalLayout_3)
  48. self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
  49. self.horizontalLayout_4.setObjectName("horizontalLayout_4")
  50. self.label_4 = QtWidgets.QLabel(FormAdduser)
  51. self.label_4.setObjectName("label_4")
  52. self.horizontalLayout_4.addWidget(self.label_4)
  53. self.lineEditPeople = QtWidgets.QLineEdit(FormAdduser)
  54. self.lineEditPeople.setObjectName("lineEditPeople")
  55. self.horizontalLayout_4.addWidget(self.lineEditPeople)
  56. self.verticalLayout.addLayout(self.horizontalLayout_4)
  57. self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
  58. self.pushButton = QtWidgets.QPushButton(FormAdduser)
  59. self.pushButton.setObjectName("pushButton")
  60. self.gridLayout.addWidget(self.pushButton, 1, 0, 1, 1)
  61. self.retranslateUi(FormAdduser)
  62. QtCore.QMetaObject.connectSlotsByName(FormAdduser)
  63. def retranslateUi(self, FormAdduser):
  64. _translate = QtCore.QCoreApplication.translate
  65. FormAdduser.setWindowTitle(_translate("FormAdduser", "注册账号"))
  66. self.label.setText(_translate("FormAdduser", "登录名"))
  67. self.label_2.setText(_translate("FormAdduser", "密 码"))
  68. self.label_3.setText(_translate("FormAdduser", "权 限"))
  69. self.label_4.setText(_translate("FormAdduser", "使用人"))
  70. self.pushButton.setText(_translate("FormAdduser", "提交"))