# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'qt/encoderconfigurationdialog.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_SwitchConfigDialog(object): def setupUi(self, SwitchConfigDialog): SwitchConfigDialog.setObjectName("SwitchConfigDialog") SwitchConfigDialog.resize(207, 269) SwitchConfigDialog.setMouseTracking(True) self.verticalLayout = QtWidgets.QVBoxLayout(SwitchConfigDialog) self.verticalLayout.setObjectName("verticalLayout") self.groupBox = QtWidgets.QGroupBox(SwitchConfigDialog) self.groupBox.setMouseTracking(False) self.groupBox.setFlat(False) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.checkBox = QtWidgets.QCheckBox(self.groupBox) self.checkBox.setObjectName("checkBox") self.gridLayout.addWidget(self.checkBox, 0, 1, 1, 1) self.lineSwitchKey = QtWidgets.QLineEdit(self.groupBox) self.lineSwitchKey.setText("") self.lineSwitchKey.setClearButtonEnabled(True) self.lineSwitchKey.setObjectName("lineSwitchKey") self.gridLayout.addWidget(self.lineSwitchKey, 3, 0, 1, 2) self.labelLatch = QtWidgets.QLabel(self.groupBox) self.labelLatch.setObjectName("labelLatch") self.gridLayout.addWidget(self.labelLatch, 7, 0, 1, 1) self.checkSwitchEnable = QtWidgets.QCheckBox(self.groupBox) self.checkSwitchEnable.setObjectName("checkSwitchEnable") self.gridLayout.addWidget(self.checkSwitchEnable, 0, 0, 1, 1) self.spinLatchTime = QtWidgets.QSpinBox(self.groupBox) self.spinLatchTime.setMaximum(60) self.spinLatchTime.setSingleStep(1) self.spinLatchTime.setObjectName("spinLatchTime") self.gridLayout.addWidget(self.spinLatchTime, 8, 0, 1, 2) self.verticalLayout.addWidget(self.groupBox) self.groupBox_2 = QtWidgets.QGroupBox(SwitchConfigDialog) self.groupBox_2.setObjectName("groupBox_2") self.checkOutletEnable = QtWidgets.QCheckBox(self.groupBox_2) self.checkOutletEnable.setGeometry(QtCore.QRect(10, 30, 92, 23)) self.checkOutletEnable.setObjectName("checkOutletEnable") self.verticalLayout.addWidget(self.groupBox_2) self.buttonApply = QtWidgets.QPushButton(SwitchConfigDialog) self.buttonApply.setObjectName("buttonApply") self.verticalLayout.addWidget(self.buttonApply) self.retranslateUi(SwitchConfigDialog) QtCore.QMetaObject.connectSlotsByName(SwitchConfigDialog) def retranslateUi(self, SwitchConfigDialog): _translate = QtCore.QCoreApplication.translate SwitchConfigDialog.setWindowTitle(_translate("SwitchConfigDialog", "Switch Configuration")) self.groupBox.setTitle(_translate("SwitchConfigDialog", "Keyboard Settings")) self.checkBox.setText(_translate("SwitchConfigDialog", "Latching")) self.lineSwitchKey.setPlaceholderText(_translate("SwitchConfigDialog", "Enter Keystroke")) self.labelLatch.setText(_translate("SwitchConfigDialog", "Delay:")) self.checkSwitchEnable.setText(_translate("SwitchConfigDialog", "Enable ")) self.spinLatchTime.setSuffix(_translate("SwitchConfigDialog", " seconds")) self.groupBox_2.setTitle(_translate("SwitchConfigDialog", "Wi-Fi Outlet")) self.checkOutletEnable.setText(_translate("SwitchConfigDialog", "Enable")) self.buttonApply.setText(_translate("SwitchConfigDialog", "Apply"))