ui_DialogSettingCam.py 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. # Form generated from reading UI file 'DialogSettingCam.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, QPushButton)
  11. class Ui_DialogSettingCam(object):
  12. def setupUi(self, DialogSettingCam):
  13. if not DialogSettingCam.objectName():
  14. DialogSettingCam.setObjectName(u"DialogSettingCam")
  15. DialogSettingCam.resize(640, 480)
  16. self.gridLayout = QGridLayout(DialogSettingCam)
  17. self.gridLayout.setObjectName(u"gridLayout")
  18. self.groupBox = QGroupBox(DialogSettingCam)
  19. self.groupBox.setObjectName(u"groupBox")
  20. self.gridLayout_3 = QGridLayout(self.groupBox)
  21. self.gridLayout_3.setObjectName(u"gridLayout_3")
  22. self.mode_list = QComboBox(self.groupBox)
  23. self.mode_list.setObjectName(u'mode_list')
  24. self.gridLayout_3.addWidget(self.mode_list, 0, 0, 1, 1)
  25. self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
  26. self.save_setting_cam = QPushButton(DialogSettingCam)
  27. self.save_setting_cam.setObjectName(u"save_setting_cam")
  28. self.gridLayout.addWidget(self.save_setting_cam, 1, 0, 1, 1)
  29. self.retranslateUi(DialogSettingCam)
  30. QMetaObject.connectSlotsByName(DialogSettingCam)
  31. # setupUi
  32. def retranslateUi(self, DialogSettingCam):
  33. DialogSettingCam.setWindowTitle(QCoreApplication.translate(
  34. "DialogSettingCam", u"Настройка камеры", None))
  35. self.mode_list.addItem('USB Camera', userData='video')
  36. self.mode_list.addItem('IP Camera', userData='snapshot')
  37. self.groupBox.setTitle(QCoreApplication.translate(
  38. "DialogSettingCam", u"\u0424\u043e\u0442\u043e \u043b\u0438\u0446\u0430", None))
  39. self.save_setting_cam.setText(QCoreApplication.translate(
  40. "DialogSettingCam", u"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438", None))
  41. # retranslateUi