ui_DialogListPlace.py 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. # Form generated from reading UI file 'DialogListPlace.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_DialogListPlace(object):
  15. def setupUi(self, DialogListPlace):
  16. if not DialogListPlace.objectName():
  17. DialogListPlace.setObjectName(u"DialogListPlace")
  18. DialogListPlace.resize(640, 480)
  19. self.gridLayout_3 = QGridLayout(DialogListPlace)
  20. self.gridLayout_3.setObjectName(u"gridLayout_3")
  21. self.groupBox = QGroupBox(DialogListPlace)
  22. self.groupBox.setObjectName(u"groupBox")
  23. self.gridLayout = QGridLayout(self.groupBox)
  24. self.gridLayout.setObjectName(u"gridLayout")
  25. self.list_place_widget = QListWidget(self.groupBox)
  26. self.list_place_widget.setObjectName(u"list_place_widget")
  27. self.gridLayout.addWidget(self.list_place_widget, 0, 0, 1, 1)
  28. self.gridLayout_3.addWidget(self.groupBox, 0, 0, 1, 1)
  29. self.groupBox_2 = QGroupBox(DialogListPlace)
  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.verticalLayout_3 = QVBoxLayout()
  37. self.verticalLayout_3.setObjectName(u"verticalLayout_3")
  38. self.label = QLabel(self.groupBox_2)
  39. self.label.setObjectName(u"label")
  40. self.verticalLayout_3.addWidget(self.label)
  41. self.line_name_place = QLineEdit(self.groupBox_2)
  42. self.line_name_place.setObjectName(u"line_name_place")
  43. self.line_name_place.setMinimumSize(QSize(250, 0))
  44. self.verticalLayout_3.addWidget(self.line_name_place)
  45. self.verticalLayout_2.addLayout(self.verticalLayout_3)
  46. self.verticalLayout = QVBoxLayout()
  47. self.verticalLayout.setObjectName(u"verticalLayout")
  48. self.horizontalLayout = QHBoxLayout()
  49. self.horizontalLayout.setObjectName(u"horizontalLayout")
  50. self.btn_save_place = QPushButton(self.groupBox_2)
  51. self.btn_save_place.setObjectName(u"btn_save_place")
  52. self.horizontalLayout.addWidget(self.btn_save_place)
  53. self.btn_update_place = QPushButton(self.groupBox_2)
  54. self.btn_update_place.setObjectName(u"btn_update_place")
  55. self.horizontalLayout.addWidget(self.btn_update_place)
  56. self.verticalLayout.addLayout(self.horizontalLayout)
  57. self.btn_delete_place = QPushButton(self.groupBox_2)
  58. self.btn_delete_place.setObjectName(u"btn_delete_place")
  59. self.verticalLayout.addWidget(self.btn_delete_place)
  60. self.verticalSpacer = QSpacerItem(
  61. 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  62. self.verticalLayout.addItem(self.verticalSpacer)
  63. self.verticalLayout_2.addLayout(self.verticalLayout)
  64. self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
  65. self.gridLayout_3.addWidget(self.groupBox_2, 0, 1, 1, 1)
  66. self.retranslateUi(DialogListPlace)
  67. QMetaObject.connectSlotsByName(DialogListPlace)
  68. # setupUi
  69. def retranslateUi(self, DialogListPlace):
  70. DialogListPlace.setWindowTitle(translate('List of places of issue'))
  71. self.groupBox.setTitle(translate('List of places of issue'))
  72. self.groupBox_2.setTitle(translate('Control'))
  73. self.label.setText(translate('Name of place of issue'))
  74. self.btn_save_place.setText(translate('Save'))
  75. self.btn_update_place.setText(translate('Update'))
  76. self.btn_delete_place.setText(translate('Delete'))
  77. # retranslateUi