ui_DialogSettingCam.py 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 (
  11. QComboBox, QPushButton, QTabWidget, QVBoxLayout, QWidget)
  12. class Ui_DialogSettingCam(object):
  13. def setupUi(self, DialogSettingCam):
  14. if not DialogSettingCam.objectName():
  15. DialogSettingCam.setObjectName(u"DialogSettingCam")
  16. DialogSettingCam.resize(794, 559)
  17. self.verticalLayout_2 = QVBoxLayout(DialogSettingCam)
  18. self.verticalLayout_2.setObjectName(u"verticalLayout_2")
  19. self.tabWidget = QTabWidget(DialogSettingCam)
  20. self.tabWidget.setObjectName(u"tabWidget")
  21. self.tabWidget.setTabsClosable(False)
  22. self.tabWidget.setMovable(False)
  23. self.tabWidget.setTabBarAutoHide(False)
  24. self.tab = QWidget()
  25. self.tab.setObjectName(u"tab")
  26. self.verticalLayout = QVBoxLayout(self.tab)
  27. self.verticalLayout.setObjectName(u"verticalLayout")
  28. self.mode_list = QComboBox(self.tab)
  29. self.mode_list.setObjectName(u'mode_list')
  30. self.verticalLayout.addWidget(self.mode_list)
  31. self.tabWidget.addTab(self.tab, "")
  32. self.tab_2 = QWidget()
  33. self.tab_2.setObjectName(u"tab_2")
  34. self.verticalLayout_3 = QVBoxLayout(self.tab_2)
  35. self.verticalLayout_3.setObjectName('verticalLayout_3')
  36. self.tabWidget.addTab(self.tab_2, "")
  37. self.verticalLayout_2.addWidget(self.tabWidget)
  38. self.save_setting_cam = QPushButton(DialogSettingCam)
  39. self.save_setting_cam.setObjectName(u"save_setting_cam")
  40. self.verticalLayout_2.addWidget(self.save_setting_cam)
  41. self.retranslateUi(DialogSettingCam)
  42. self.tabWidget.setCurrentIndex(0)
  43. QMetaObject.connectSlotsByName(DialogSettingCam)
  44. # setupUi
  45. def retranslateUi(self, DialogSettingCam):
  46. DialogSettingCam.setWindowTitle(QCoreApplication.translate(
  47. "DialogSettingCam", u"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u0430\u043c\u0435\u0440\u044b", None))
  48. self.mode_list.addItem('USB Camera', userData='video')
  49. self.mode_list.addItem('IP Camera', userData='snapshot')
  50. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate(
  51. "DialogSettingCam", u"\u041A\u0430\u043C\u0435\u0440\u0430 \u0434\u043B\u044F \u043B\u0438\u0446\u0430", None))
  52. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate(
  53. "DialogSettingCam", u"\u041A\u0430\u043C\u0435\u0440\u0430 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430", None))
  54. self.save_setting_cam.setText(QCoreApplication.translate(
  55. "DialogSettingCam", u"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438", None))
  56. # retranslateUi