123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- # -*- coding: utf-8 -*-
- ################################################################################
- # Form generated from reading UI file 'DialogSettingCam.ui'
- ##
- # Created by: Qt User Interface Compiler version 6.4.1
- ##
- # WARNING! All changes made in this file will be lost when recompiling UI file!
- ################################################################################
- from PySide6.QtCore import (QCoreApplication, QMetaObject)
- from PySide6.QtWidgets import (
- QComboBox, QPushButton, QTabWidget, QVBoxLayout, QWidget)
- from module import translate
- class Ui_DialogSettingCam(object):
- def setupUi(self, DialogSettingCam):
- if not DialogSettingCam.objectName():
- DialogSettingCam.setObjectName(u"DialogSettingCam")
- DialogSettingCam.resize(794, 559)
- self.verticalLayout_2 = QVBoxLayout(DialogSettingCam)
- self.verticalLayout_2.setObjectName(u"verticalLayout_2")
- self.tabWidget = QTabWidget(DialogSettingCam)
- self.tabWidget.setObjectName(u"tabWidget")
- self.tabWidget.setTabsClosable(False)
- self.tabWidget.setMovable(False)
- self.tabWidget.setTabBarAutoHide(False)
- self.tab = QWidget()
- self.tab.setObjectName(u"tab")
- self.verticalLayout = QVBoxLayout(self.tab)
- self.verticalLayout.setObjectName(u"verticalLayout")
- self.mode_list = QComboBox(self.tab)
- self.mode_list.setObjectName(u'mode_list')
- self.verticalLayout.addWidget(self.mode_list)
- self.tabWidget.addTab(self.tab, "")
- self.tab_2 = QWidget()
- self.tab_2.setObjectName(u"tab_2")
- self.verticalLayout_3 = QVBoxLayout(self.tab_2)
- self.verticalLayout_3.setObjectName('verticalLayout_3')
-
- self.tabWidget.addTab(self.tab_2, "")
- self.verticalLayout_2.addWidget(self.tabWidget)
- self.save_setting_cam = QPushButton(DialogSettingCam)
- self.save_setting_cam.setObjectName(u"save_setting_cam")
- self.verticalLayout_2.addWidget(self.save_setting_cam)
- self.retranslateUi(DialogSettingCam)
-
- QMetaObject.connectSlotsByName(DialogSettingCam)
- # setupUi
- def retranslateUi(self, DialogSettingCam):
- DialogSettingCam.setWindowTitle(translate('Camera settings'))
- self.mode_list.addItem(translate('USB Camera'), userData='video')
- self.mode_list.addItem(translate('IP Camera'), userData='snapshot')
- self.mode_list.setCurrentIndex(0)
-
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), translate('Face camera'))
- self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), translate('Document camera'))
- self.save_setting_cam.setText(translate('Save settings'))
- # retranslateUi
|