SettingCam.py 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. # Form generated from reading UI file 'SettingCam.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)
  10. from PySide6.QtWidgets import (QComboBox, QGridLayout, QGroupBox,
  11. QHBoxLayout, QPushButton, QWidget)
  12. from PySide6.QtMultimediaWidgets import QVideoWidget
  13. class Ui_SettingCam(object):
  14. def setupUi(self, SettingCam):
  15. if not SettingCam.objectName():
  16. SettingCam.setObjectName(u"SettingCam")
  17. SettingCam.resize(640, 207)
  18. self.centralwidget = QWidget(SettingCam)
  19. self.centralwidget.setObjectName(u"centralwidget")
  20. self.gridLayout = QGridLayout(self.centralwidget)
  21. self.gridLayout.setObjectName(u"gridLayout")
  22. self.groupBox = QGroupBox(self.centralwidget)
  23. self.groupBox.setObjectName(u"groupBox")
  24. self.gridLayout_3 = QGridLayout(self.groupBox)
  25. self.gridLayout_3.setObjectName(u"gridLayout_3")
  26. self.face_list_cam = QComboBox(self.groupBox)
  27. self.face_list_cam.setObjectName(u"face_list_cam")
  28. self.gridLayout_3.addWidget(self.face_list_cam, 0, 0, 1, 1)
  29. self.cam_photo = QVideoWidget(self.groupBox)
  30. self.cam_photo.setHidden(True)
  31. self.cam_photo.setObjectName(u"cam_photo")
  32. self.gridLayout_3.addWidget(self.cam_photo, 1, 0, 1, 1)
  33. self.horizontalLayout = QHBoxLayout()
  34. self.horizontalLayout.setObjectName(u"horizontalLayout")
  35. self.chacked_cam_face = QPushButton(self.groupBox)
  36. self.chacked_cam_face.setObjectName(u"chacked_cam_face")
  37. self.horizontalLayout.addWidget(self.chacked_cam_face)
  38. self.stop_cam_face = QPushButton(self.groupBox)
  39. self.stop_cam_face.setObjectName(u"stop_cam_face")
  40. self.horizontalLayout.addWidget(self.stop_cam_face)
  41. self.gridLayout_3.addLayout(self.horizontalLayout, 2, 0, 1, 1)
  42. self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
  43. self.groupBox_2 = QGroupBox(self.centralwidget)
  44. self.groupBox_2.setObjectName(u"groupBox_2")
  45. self.gridLayout_2 = QGridLayout(self.groupBox_2)
  46. self.gridLayout_2.setObjectName(u"gridLayout_2")
  47. self.pasport_list_cam = QComboBox(self.groupBox_2)
  48. self.pasport_list_cam.setObjectName(u"pasport_list_cam")
  49. self.gridLayout_2.addWidget(self.pasport_list_cam, 0, 0, 1, 1)
  50. self.cam_pasport = QVideoWidget(self.groupBox_2)
  51. self.cam_pasport.setHidden(True)
  52. self.cam_pasport.setObjectName(u"cam_pasport")
  53. self.gridLayout_2.addWidget(self.cam_pasport, 1, 0, 1, 1)
  54. self.horizontalLayout_2 = QHBoxLayout()
  55. self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
  56. self.checked_cam_pasport = QPushButton(self.groupBox_2)
  57. self.checked_cam_pasport.setObjectName(u"checked_cam_pasport")
  58. self.horizontalLayout_2.addWidget(self.checked_cam_pasport)
  59. self.stop_cam_pasport = QPushButton(self.groupBox_2)
  60. self.stop_cam_pasport.setObjectName(u"stop_cam_pasport")
  61. self.horizontalLayout_2.addWidget(self.stop_cam_pasport)
  62. self.gridLayout_2.addLayout(self.horizontalLayout_2, 2, 0, 1, 1)
  63. self.gridLayout.addWidget(self.groupBox_2, 0, 1, 1, 1)
  64. self.save_setting_cam = QPushButton(self.centralwidget)
  65. self.save_setting_cam.setObjectName(u"save_setting_cam")
  66. self.gridLayout.addWidget(self.save_setting_cam, 1, 0, 1, 1)
  67. SettingCam.setCentralWidget(self.centralwidget)
  68. self.retranslateUi(SettingCam)
  69. QMetaObject.connectSlotsByName(SettingCam)
  70. # setupUi
  71. def retranslateUi(self, SettingCam):
  72. SettingCam.setWindowTitle(QCoreApplication.translate(
  73. "SettingCam", u"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u0430\u043c\u0435\u0440\u044b", None))
  74. self.groupBox.setTitle(QCoreApplication.translate(
  75. "SettingCam", u"\u0424\u043e\u0442\u043e \u043b\u0438\u0446\u0430", None))
  76. self.chacked_cam_face.setText(QCoreApplication.translate(
  77. "SettingCam", u"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c", None))
  78. self.stop_cam_face.setText(QCoreApplication.translate(
  79. "SettingCam", u"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c", None))
  80. self.groupBox_2.setTitle(QCoreApplication.translate(
  81. "SettingCam", u"\u0424\u043e\u0442\u043e \u043f\u0430\u0441\u043f\u043e\u0440\u0442\u0430", None))
  82. self.checked_cam_pasport.setText(QCoreApplication.translate(
  83. "SettingCam", u"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c", None))
  84. self.stop_cam_pasport.setText(QCoreApplication.translate(
  85. "SettingCam", u"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c", None))
  86. self.save_setting_cam.setText(QCoreApplication.translate(
  87. "SettingCam", u"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438", None))
  88. # retranslateUi