ui_DialogListPlace.py 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. class Ui_DialogListPlace(object):
  14. def setupUi(self, DialogListPlace):
  15. if not DialogListPlace.objectName():
  16. DialogListPlace.setObjectName(u"DialogListPlace")
  17. DialogListPlace.resize(640, 480)
  18. self.gridLayout_3 = QGridLayout(DialogListPlace)
  19. self.gridLayout_3.setObjectName(u"gridLayout_3")
  20. self.groupBox = QGroupBox(DialogListPlace)
  21. self.groupBox.setObjectName(u"groupBox")
  22. self.gridLayout = QGridLayout(self.groupBox)
  23. self.gridLayout.setObjectName(u"gridLayout")
  24. self.list_place_widget = QListWidget(self.groupBox)
  25. self.list_place_widget.setObjectName(u"list_place_widget")
  26. self.gridLayout.addWidget(self.list_place_widget, 0, 0, 1, 1)
  27. self.gridLayout_3.addWidget(self.groupBox, 0, 0, 1, 1)
  28. self.groupBox_2 = QGroupBox(DialogListPlace)
  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.verticalLayout_3 = QVBoxLayout()
  36. self.verticalLayout_3.setObjectName(u"verticalLayout_3")
  37. self.label = QLabel(self.groupBox_2)
  38. self.label.setObjectName(u"label")
  39. self.verticalLayout_3.addWidget(self.label)
  40. self.line_name_place = QLineEdit(self.groupBox_2)
  41. self.line_name_place.setObjectName(u"line_name_place")
  42. self.line_name_place.setMinimumSize(QSize(250, 0))
  43. self.verticalLayout_3.addWidget(self.line_name_place)
  44. self.verticalLayout_2.addLayout(self.verticalLayout_3)
  45. self.verticalLayout = QVBoxLayout()
  46. self.verticalLayout.setObjectName(u"verticalLayout")
  47. self.horizontalLayout = QHBoxLayout()
  48. self.horizontalLayout.setObjectName(u"horizontalLayout")
  49. self.btn_save_place = QPushButton(self.groupBox_2)
  50. self.btn_save_place.setObjectName(u"btn_save_place")
  51. self.horizontalLayout.addWidget(self.btn_save_place)
  52. self.btn_update_place = QPushButton(self.groupBox_2)
  53. self.btn_update_place.setObjectName(u"btn_update_place")
  54. self.horizontalLayout.addWidget(self.btn_update_place)
  55. self.verticalLayout.addLayout(self.horizontalLayout)
  56. self.btn_delete_place = QPushButton(self.groupBox_2)
  57. self.btn_delete_place.setObjectName(u"btn_delete_place")
  58. self.verticalLayout.addWidget(self.btn_delete_place)
  59. self.verticalSpacer = QSpacerItem(
  60. 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  61. self.verticalLayout.addItem(self.verticalSpacer)
  62. self.verticalLayout_2.addLayout(self.verticalLayout)
  63. self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
  64. self.gridLayout_3.addWidget(self.groupBox_2, 0, 1, 1, 1)
  65. self.retranslateUi(DialogListPlace)
  66. QMetaObject.connectSlotsByName(DialogListPlace)
  67. # setupUi
  68. def retranslateUi(self, DialogListPlace):
  69. DialogListPlace.setWindowTitle(QCoreApplication.translate(
  70. "DialogListPlace", u"Список мест выдачи", None))
  71. self.groupBox.setTitle(QCoreApplication.translate(
  72. "DialogListPlace", u"\u0421\u043f\u0438\u0441\u043e\u043a \u043c\u0435\u0441\u0442 \u0432\u044b\u0434\u0430\u0447\u0438", None))
  73. self.groupBox_2.setTitle(QCoreApplication.translate(
  74. "DialogListPlace", u"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435", None))
  75. self.label.setText(QCoreApplication.translate(
  76. "DialogListPlace", u"\u041d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u0430 \u0432\u044b\u0434\u0430\u0447\u0438:", None))
  77. self.btn_save_place.setText(QCoreApplication.translate(
  78. "DialogListPlace", u"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c", None))
  79. self.btn_update_place.setText(QCoreApplication.translate(
  80. "DialogListPlace", u"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c", None))
  81. self.btn_delete_place.setText(QCoreApplication.translate(
  82. "DialogListPlace", u"\u0423\u0434\u0430\u043b\u0438\u0442\u044c", None))
  83. # retranslateUi