ui_DialogListPersonal.py 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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, QDate, QDateTime, QLocale,
  10. QMetaObject, QObject, QPoint, QRect,
  11. QSize, QTime, QUrl, Qt)
  12. from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
  13. QFont, QFontDatabase, QGradient, QIcon,
  14. QImage, QKeySequence, QLinearGradient, QPainter,
  15. QPalette, QPixmap, QRadialGradient, QTransform)
  16. from PySide6.QtWidgets import (QApplication, QDialog, QGridLayout, QGroupBox,
  17. QHBoxLayout, QLabel, QLineEdit, QListWidget,
  18. QListWidgetItem, QPushButton, QSizePolicy, QSpacerItem,
  19. QVBoxLayout, QWidget)
  20. class Ui_DialogListPersonal(object):
  21. def setupUi(self, DialogListPersonal):
  22. if not DialogListPersonal.objectName():
  23. DialogListPersonal.setObjectName(u"DialogListPersonal")
  24. DialogListPersonal.resize(640, 480)
  25. self.gridLayout_3 = QGridLayout(DialogListPersonal)
  26. self.gridLayout_3.setObjectName(u"gridLayout_3")
  27. self.groupBox = QGroupBox(DialogListPersonal)
  28. self.groupBox.setObjectName(u"groupBox")
  29. self.gridLayout = QGridLayout(self.groupBox)
  30. self.gridLayout.setObjectName(u"gridLayout")
  31. self.list_personal_widget = QListWidget(self.groupBox)
  32. self.list_personal_widget.setObjectName(u"list_personal_widget")
  33. self.gridLayout.addWidget(self.list_personal_widget, 0, 0, 1, 1)
  34. self.gridLayout_3.addWidget(self.groupBox, 0, 0, 1, 1)
  35. self.groupBox_2 = QGroupBox(DialogListPersonal)
  36. self.groupBox_2.setObjectName(u"groupBox_2")
  37. self.groupBox_2.setFlat(False)
  38. self.gridLayout_2 = QGridLayout(self.groupBox_2)
  39. self.gridLayout_2.setObjectName(u"gridLayout_2")
  40. self.verticalLayout_2 = QVBoxLayout()
  41. self.verticalLayout_2.setObjectName(u"verticalLayout_2")
  42. self.horizontalLayout_2 = QHBoxLayout()
  43. self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
  44. self.label = QLabel(self.groupBox_2)
  45. self.label.setObjectName(u"label")
  46. self.horizontalLayout_2.addWidget(self.label)
  47. self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  48. self.horizontalLayout_2.addItem(self.horizontalSpacer)
  49. self.lastname = QLineEdit(self.groupBox_2)
  50. self.lastname.setObjectName(u"lastname")
  51. self.lastname.setMinimumSize(QSize(250, 0))
  52. self.horizontalLayout_2.addWidget(self.lastname)
  53. self.verticalLayout_2.addLayout(self.horizontalLayout_2)
  54. self.horizontalLayout_3 = QHBoxLayout()
  55. self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
  56. self.label_2 = QLabel(self.groupBox_2)
  57. self.label_2.setObjectName(u"label_2")
  58. self.horizontalLayout_3.addWidget(self.label_2)
  59. self.horizontalSpacer_2 = QSpacerItem(50, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  60. self.horizontalLayout_3.addItem(self.horizontalSpacer_2)
  61. self.firstname = QLineEdit(self.groupBox_2)
  62. self.firstname.setObjectName(u"firstname")
  63. self.firstname.setMinimumSize(QSize(250, 0))
  64. self.horizontalLayout_3.addWidget(self.firstname)
  65. self.verticalLayout_2.addLayout(self.horizontalLayout_3)
  66. self.horizontalLayout_4 = QHBoxLayout()
  67. self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
  68. self.label_3 = QLabel(self.groupBox_2)
  69. self.label_3.setObjectName(u"label_3")
  70. self.horizontalLayout_4.addWidget(self.label_3)
  71. self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  72. self.horizontalLayout_4.addItem(self.horizontalSpacer_3)
  73. self.middlename = QLineEdit(self.groupBox_2)
  74. self.middlename.setObjectName(u"middlename")
  75. self.middlename.setMinimumSize(QSize(250, 0))
  76. self.horizontalLayout_4.addWidget(self.middlename)
  77. self.verticalLayout_2.addLayout(self.horizontalLayout_4)
  78. self.verticalLayout = QVBoxLayout()
  79. self.verticalLayout.setObjectName(u"verticalLayout")
  80. self.horizontalLayout = QHBoxLayout()
  81. self.horizontalLayout.setObjectName(u"horizontalLayout")
  82. self.btn_save_personal = QPushButton(self.groupBox_2)
  83. self.btn_save_personal.setObjectName(u"btn_save_personal")
  84. self.horizontalLayout.addWidget(self.btn_save_personal)
  85. self.btn_update_personal = QPushButton(self.groupBox_2)
  86. self.btn_update_personal.setObjectName(u"btn_update_personal")
  87. self.horizontalLayout.addWidget(self.btn_update_personal)
  88. self.verticalLayout.addLayout(self.horizontalLayout)
  89. self.btn_delete_personal = QPushButton(self.groupBox_2)
  90. self.btn_delete_personal.setObjectName(u"btn_delete_personal")
  91. self.verticalLayout.addWidget(self.btn_delete_personal)
  92. self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  93. self.verticalLayout.addItem(self.verticalSpacer)
  94. self.verticalLayout_2.addLayout(self.verticalLayout)
  95. self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
  96. self.gridLayout_3.addWidget(self.groupBox_2, 0, 1, 1, 1)
  97. self.retranslateUi(DialogListPersonal)
  98. QMetaObject.connectSlotsByName(DialogListPersonal)
  99. # setupUi
  100. def retranslateUi(self, DialogListPersonal):
  101. DialogListPersonal.setWindowTitle(QCoreApplication.translate("DialogListPersonal", u"Список сотрудников", None))
  102. self.groupBox.setTitle(QCoreApplication.translate("DialogListPersonal", u"\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432", None))
  103. self.groupBox_2.setTitle(QCoreApplication.translate("DialogListPersonal", u"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435", None))
  104. self.label.setText(QCoreApplication.translate("DialogListPersonal", u"\u0424\u0430\u043c\u0438\u043b\u0438\u044f", None))
  105. self.label_2.setText(QCoreApplication.translate("DialogListPersonal", u"\u0418\u043c\u044f", None))
  106. self.label_3.setText(QCoreApplication.translate("DialogListPersonal", u"\u041e\u0442\u0447\u0435\u0442\u0432\u043e", None))
  107. self.btn_save_personal.setText(QCoreApplication.translate("DialogListPersonal", u"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c", None))
  108. self.btn_update_personal.setText(QCoreApplication.translate("DialogListPersonal", u"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c", None))
  109. self.btn_delete_personal.setText(QCoreApplication.translate("DialogListPersonal", u"\u0423\u0434\u0430\u043b\u0438\u0442\u044c", None))
  110. # retranslateUi