ui_DialogListPersonal.py 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. from module import translate
  14. class Ui_DialogListPersonal(object):
  15. def setupUi(self, DialogListPersonal):
  16. if not DialogListPersonal.objectName():
  17. DialogListPersonal.setObjectName(u"DialogListPersonal")
  18. DialogListPersonal.resize(640, 480)
  19. self.gridLayout_3 = QGridLayout(DialogListPersonal)
  20. self.gridLayout_3.setObjectName(u"gridLayout_3")
  21. self.groupBox = QGroupBox(DialogListPersonal)
  22. self.groupBox.setObjectName(u"groupBox")
  23. self.gridLayout = QGridLayout(self.groupBox)
  24. self.gridLayout.setObjectName(u"gridLayout")
  25. self.list_personal_widget = QListWidget(self.groupBox)
  26. self.list_personal_widget.setObjectName(u"list_personal_widget")
  27. self.gridLayout.addWidget(self.list_personal_widget, 0, 0, 1, 1)
  28. self.gridLayout_3.addWidget(self.groupBox, 0, 0, 1, 1)
  29. self.groupBox_2 = QGroupBox(DialogListPersonal)
  30. self.groupBox_2.setObjectName(u"groupBox_2")
  31. self.groupBox_2.setFlat(False)
  32. self.gridLayout_2 = QGridLayout(self.groupBox_2)
  33. self.gridLayout_2.setObjectName(u"gridLayout_2")
  34. self.verticalLayout_2 = QVBoxLayout()
  35. self.verticalLayout_2.setObjectName(u"verticalLayout_2")
  36. self.horizontalLayout_2 = QHBoxLayout()
  37. self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
  38. self.label = QLabel(self.groupBox_2)
  39. self.label.setObjectName(u"label")
  40. self.horizontalLayout_2.addWidget(self.label)
  41. self.horizontalSpacer = QSpacerItem(
  42. 40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  43. self.horizontalLayout_2.addItem(self.horizontalSpacer)
  44. self.lastname = QLineEdit(self.groupBox_2)
  45. self.lastname.setObjectName(u"lastname")
  46. self.lastname.setMinimumSize(QSize(250, 0))
  47. self.horizontalLayout_2.addWidget(self.lastname)
  48. self.verticalLayout_2.addLayout(self.horizontalLayout_2)
  49. self.horizontalLayout_3 = QHBoxLayout()
  50. self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
  51. self.label_2 = QLabel(self.groupBox_2)
  52. self.label_2.setObjectName(u"label_2")
  53. self.horizontalLayout_3.addWidget(self.label_2)
  54. self.horizontalSpacer_2 = QSpacerItem(
  55. 50, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  56. self.horizontalLayout_3.addItem(self.horizontalSpacer_2)
  57. self.firstname = QLineEdit(self.groupBox_2)
  58. self.firstname.setObjectName(u"firstname")
  59. self.firstname.setMinimumSize(QSize(250, 0))
  60. self.horizontalLayout_3.addWidget(self.firstname)
  61. self.verticalLayout_2.addLayout(self.horizontalLayout_3)
  62. self.horizontalLayout_4 = QHBoxLayout()
  63. self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
  64. self.label_3 = QLabel(self.groupBox_2)
  65. self.label_3.setObjectName(u"label_3")
  66. self.horizontalLayout_4.addWidget(self.label_3)
  67. self.horizontalSpacer_3 = QSpacerItem(
  68. 40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  69. self.horizontalLayout_4.addItem(self.horizontalSpacer_3)
  70. self.middlename = QLineEdit(self.groupBox_2)
  71. self.middlename.setObjectName(u"middlename")
  72. self.middlename.setMinimumSize(QSize(250, 0))
  73. self.horizontalLayout_4.addWidget(self.middlename)
  74. self.verticalLayout_2.addLayout(self.horizontalLayout_4)
  75. self.verticalLayout = QVBoxLayout()
  76. self.verticalLayout.setObjectName(u"verticalLayout")
  77. self.horizontalLayout = QHBoxLayout()
  78. self.horizontalLayout.setObjectName(u"horizontalLayout")
  79. self.btn_save_personal = QPushButton(self.groupBox_2)
  80. self.btn_save_personal.setObjectName(u"btn_save_personal")
  81. self.horizontalLayout.addWidget(self.btn_save_personal)
  82. self.btn_update_personal = QPushButton(self.groupBox_2)
  83. self.btn_update_personal.setObjectName(u"btn_update_personal")
  84. self.horizontalLayout.addWidget(self.btn_update_personal)
  85. self.verticalLayout.addLayout(self.horizontalLayout)
  86. self.btn_delete_personal = QPushButton(self.groupBox_2)
  87. self.btn_delete_personal.setObjectName(u"btn_delete_personal")
  88. self.verticalLayout.addWidget(self.btn_delete_personal)
  89. self.verticalSpacer = QSpacerItem(
  90. 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  91. self.verticalLayout.addItem(self.verticalSpacer)
  92. self.verticalLayout_2.addLayout(self.verticalLayout)
  93. self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
  94. self.gridLayout_3.addWidget(self.groupBox_2, 0, 1, 1, 1)
  95. self.retranslateUi(DialogListPersonal)
  96. QMetaObject.connectSlotsByName(DialogListPersonal)
  97. # setupUi
  98. def retranslateUi(self, DialogListPersonal):
  99. DialogListPersonal.setWindowTitle(translate('List employees'))
  100. self.groupBox.setTitle(translate('List employees'))
  101. self.groupBox_2.setTitle(translate('Control'))
  102. self.label.setText(translate('Last name'))
  103. self.label_2.setText(translate('First name'))
  104. self.label_3.setText(translate('Middle name'))
  105. self.btn_save_personal.setText(translate('Save'))
  106. self.btn_update_personal.setText(translate('Update'))
  107. self.btn_delete_personal.setText(translate('Delete'))
  108. # retranslateUi