ui_DialogSettingCam.py 3.2 KB

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