ui_DialogSettingCam.py 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 module import translate
  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. QMetaObject.connectSlotsByName(DialogSettingCam)
  44. # setupUi
  45. def retranslateUi(self, DialogSettingCam):
  46. DialogSettingCam.setWindowTitle(translate('Camera settings'))
  47. self.mode_list.addItem(translate('USB Camera'), userData='video')
  48. self.mode_list.addItem(translate('IP Camera'), userData='snapshot')
  49. self.mode_list.setCurrentIndex(0)
  50. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), translate('Face camera'))
  51. self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), translate('Document camera'))
  52. self.save_setting_cam.setText(translate('Save settings'))
  53. # retranslateUi