ui_DialogListPersonal.py 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. # Form generated from reading UI file 'DialogListPersonal.ui'
  4. ##
  5. # Created by: Qt User Interface Compiler version 6.4.1
  6. ##
  7. # WARNING! All changes made in this file will be lost when recompiling UI file!
  8. ################################################################################
  9. from PySide6.QtCore import (QCoreApplication, QMetaObject, QSize)
  10. from PySide6.QtWidgets import (QGridLayout, QGroupBox,
  11. QHBoxLayout, QLabel, QLineEdit, QListWidget, QPushButton, QSizePolicy, QSpacerItem,
  12. QVBoxLayout)
  13. class Ui_DialogListPersonal(object):
  14. def setupUi(self, DialogListPersonal):
  15. if not DialogListPersonal.objectName():
  16. DialogListPersonal.setObjectName(u"DialogListPersonal")
  17. DialogListPersonal.resize(640, 480)
  18. self.gridLayout_3 = QGridLayout(DialogListPersonal)
  19. self.gridLayout_3.setObjectName(u"gridLayout_3")
  20. self.groupBox = QGroupBox(DialogListPersonal)
  21. self.groupBox.setObjectName(u"groupBox")
  22. self.gridLayout = QGridLayout(self.groupBox)
  23. self.gridLayout.setObjectName(u"gridLayout")
  24. self.list_personal_widget = QListWidget(self.groupBox)
  25. self.list_personal_widget.setObjectName(u"list_personal_widget")
  26. self.gridLayout.addWidget(self.list_personal_widget, 0, 0, 1, 1)
  27. self.gridLayout_3.addWidget(self.groupBox, 0, 0, 1, 1)
  28. self.groupBox_2 = QGroupBox(DialogListPersonal)
  29. self.groupBox_2.setObjectName(u"groupBox_2")
  30. self.groupBox_2.setFlat(False)
  31. self.gridLayout_2 = QGridLayout(self.groupBox_2)
  32. self.gridLayout_2.setObjectName(u"gridLayout_2")
  33. self.verticalLayout_2 = QVBoxLayout()
  34. self.verticalLayout_2.setObjectName(u"verticalLayout_2")
  35. self.horizontalLayout_2 = QHBoxLayout()
  36. self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
  37. self.label = QLabel(self.groupBox_2)
  38. self.label.setObjectName(u"label")
  39. self.horizontalLayout_2.addWidget(self.label)
  40. self.horizontalSpacer = QSpacerItem(
  41. 40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  42. self.horizontalLayout_2.addItem(self.horizontalSpacer)
  43. self.lastname = QLineEdit(self.groupBox_2)
  44. self.lastname.setObjectName(u"lastname")
  45. self.lastname.setMinimumSize(QSize(250, 0))
  46. self.horizontalLayout_2.addWidget(self.lastname)
  47. self.verticalLayout_2.addLayout(self.horizontalLayout_2)
  48. self.horizontalLayout_3 = QHBoxLayout()
  49. self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
  50. self.label_2 = QLabel(self.groupBox_2)
  51. self.label_2.setObjectName(u"label_2")
  52. self.horizontalLayout_3.addWidget(self.label_2)
  53. self.horizontalSpacer_2 = QSpacerItem(
  54. 50, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  55. self.horizontalLayout_3.addItem(self.horizontalSpacer_2)
  56. self.firstname = QLineEdit(self.groupBox_2)
  57. self.firstname.setObjectName(u"firstname")
  58. self.firstname.setMinimumSize(QSize(250, 0))
  59. self.horizontalLayout_3.addWidget(self.firstname)
  60. self.verticalLayout_2.addLayout(self.horizontalLayout_3)
  61. self.horizontalLayout_4 = QHBoxLayout()
  62. self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
  63. self.label_3 = QLabel(self.groupBox_2)
  64. self.label_3.setObjectName(u"label_3")
  65. self.horizontalLayout_4.addWidget(self.label_3)
  66. self.horizontalSpacer_3 = QSpacerItem(
  67. 40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  68. self.horizontalLayout_4.addItem(self.horizontalSpacer_3)
  69. self.middlename = QLineEdit(self.groupBox_2)
  70. self.middlename.setObjectName(u"middlename")
  71. self.middlename.setMinimumSize(QSize(250, 0))
  72. self.horizontalLayout_4.addWidget(self.middlename)
  73. self.verticalLayout_2.addLayout(self.horizontalLayout_4)
  74. self.verticalLayout = QVBoxLayout()
  75. self.verticalLayout.setObjectName(u"verticalLayout")
  76. self.horizontalLayout = QHBoxLayout()
  77. self.horizontalLayout.setObjectName(u"horizontalLayout")
  78. self.btn_save_personal = QPushButton(self.groupBox_2)
  79. self.btn_save_personal.setObjectName(u"btn_save_personal")
  80. self.horizontalLayout.addWidget(self.btn_save_personal)
  81. self.btn_update_personal = QPushButton(self.groupBox_2)
  82. self.btn_update_personal.setObjectName(u"btn_update_personal")
  83. self.horizontalLayout.addWidget(self.btn_update_personal)
  84. self.verticalLayout.addLayout(self.horizontalLayout)
  85. self.btn_delete_personal = QPushButton(self.groupBox_2)
  86. self.btn_delete_personal.setObjectName(u"btn_delete_personal")
  87. self.verticalLayout.addWidget(self.btn_delete_personal)
  88. self.verticalSpacer = QSpacerItem(
  89. 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  90. self.verticalLayout.addItem(self.verticalSpacer)
  91. self.verticalLayout_2.addLayout(self.verticalLayout)
  92. self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
  93. self.gridLayout_3.addWidget(self.groupBox_2, 0, 1, 1, 1)
  94. self.retranslateUi(DialogListPersonal)
  95. QMetaObject.connectSlotsByName(DialogListPersonal)
  96. # setupUi
  97. def retranslateUi(self, DialogListPersonal):
  98. DialogListPersonal.setWindowTitle(QCoreApplication.translate(
  99. "DialogListPersonal", u"Список сотрудников", None))
  100. self.groupBox.setTitle(QCoreApplication.translate(
  101. "DialogListPersonal", u"\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432", None))
  102. self.groupBox_2.setTitle(QCoreApplication.translate(
  103. "DialogListPersonal", u"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435", None))
  104. self.label.setText(QCoreApplication.translate(
  105. "DialogListPersonal", u"\u0424\u0430\u043c\u0438\u043b\u0438\u044f", None))
  106. self.label_2.setText(QCoreApplication.translate(
  107. "DialogListPersonal", u"\u0418\u043c\u044f", None))
  108. self.label_3.setText(QCoreApplication.translate(
  109. "DialogListPersonal", u"\u041e\u0442\u0447\u0435\u0442\u0432\u043e", None))
  110. self.btn_save_personal.setText(QCoreApplication.translate(
  111. "DialogListPersonal", u"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c", None))
  112. self.btn_update_personal.setText(QCoreApplication.translate(
  113. "DialogListPersonal", u"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c", None))
  114. self.btn_delete_personal.setText(QCoreApplication.translate(
  115. "DialogListPersonal", u"\u0423\u0434\u0430\u043b\u0438\u0442\u044c", None))
  116. # retranslateUi