ui_DialogCustomVariables.py 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. # Form generated from reading UI file 'DialogCustomVariables.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 (QGroupBox, QHBoxLayout,
  11. QLineEdit, QPushButton, QSizePolicy, QSpacerItem,
  12. QVBoxLayout)
  13. from module import translate
  14. class Ui_DialogCustomVariables(object):
  15. def setupUi(self, DialogCustomVariables):
  16. if not DialogCustomVariables.objectName():
  17. DialogCustomVariables.setObjectName(u"DialogCustomVariables")
  18. DialogCustomVariables.resize(590, 228)
  19. DialogCustomVariables.setMinimumSize(QSize(590, 228))
  20. DialogCustomVariables.setMaximumSize(QSize(590, 228))
  21. self.verticalLayout = QVBoxLayout(DialogCustomVariables)
  22. self.verticalLayout.setObjectName(u"verticalLayout")
  23. self.groupBox = QGroupBox(DialogCustomVariables)
  24. self.groupBox.setObjectName(u"groupBox")
  25. self.horizontalLayout = QHBoxLayout(self.groupBox)
  26. self.horizontalLayout.setObjectName(u"horizontalLayout")
  27. self.path_photo = QLineEdit(self.groupBox)
  28. self.path_photo.setObjectName(u"path_photo")
  29. self.horizontalLayout.addWidget(self.path_photo)
  30. self.btn_show_path_photo = QPushButton(self.groupBox)
  31. self.btn_show_path_photo.setObjectName(u"btn_show_path_photo")
  32. self.horizontalLayout.addWidget(self.btn_show_path_photo)
  33. self.verticalLayout.addWidget(self.groupBox)
  34. self.groupBox_2 = QGroupBox(DialogCustomVariables)
  35. self.groupBox_2.setObjectName(u"groupBox_2")
  36. self.horizontalLayout_2 = QHBoxLayout(self.groupBox_2)
  37. self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
  38. self.path_db = QLineEdit(self.groupBox_2)
  39. self.path_db.setObjectName(u"path_db")
  40. self.horizontalLayout_2.addWidget(self.path_db)
  41. self.btn_show_path_database = QPushButton(self.groupBox_2)
  42. self.btn_show_path_database.setObjectName(u"btn_show_path_database")
  43. self.horizontalLayout_2.addWidget(self.btn_show_path_database)
  44. self.verticalLayout.addWidget(self.groupBox_2)
  45. self.verticalSpacer = QSpacerItem(
  46. 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  47. self.verticalLayout.addItem(self.verticalSpacer)
  48. self.btn_save = QPushButton(DialogCustomVariables)
  49. self.btn_save.setObjectName(u"btn_save")
  50. self.verticalLayout.addWidget(self.btn_save)
  51. self.verticalSpacer_2 = QSpacerItem(
  52. 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  53. self.verticalLayout.addItem(self.verticalSpacer_2)
  54. self.retranslateUi(DialogCustomVariables)
  55. QMetaObject.connectSlotsByName(DialogCustomVariables)
  56. # setupUi
  57. def retranslateUi(self, DialogCustomVariables):
  58. DialogCustomVariables.setWindowTitle(translate('Initial settings'))
  59. self.groupBox.setTitle(translate('Photo directory'))
  60. self.btn_show_path_photo.setText(translate('Open directory'))
  61. self.groupBox_2.setTitle(translate('Database directory'))
  62. self.btn_show_path_database.setText(translate('Open directory'))
  63. self.btn_save.setText(translate('Save'))
  64. # retranslateUi