encoderconfigurationdialog.py 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'qt/encoderconfigurationdialog.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.9.2
  5. #
  6. # WARNING! All changes made in this file will be lost!
  7. from PyQt5 import QtCore, QtGui, QtWidgets
  8. class Ui_SwitchConfigDialog(object):
  9. def setupUi(self, SwitchConfigDialog):
  10. SwitchConfigDialog.setObjectName("SwitchConfigDialog")
  11. SwitchConfigDialog.resize(207, 269)
  12. SwitchConfigDialog.setMouseTracking(True)
  13. self.verticalLayout = QtWidgets.QVBoxLayout(SwitchConfigDialog)
  14. self.verticalLayout.setObjectName("verticalLayout")
  15. self.groupBox = QtWidgets.QGroupBox(SwitchConfigDialog)
  16. self.groupBox.setMouseTracking(False)
  17. self.groupBox.setFlat(False)
  18. self.groupBox.setObjectName("groupBox")
  19. self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
  20. self.gridLayout.setObjectName("gridLayout")
  21. self.checkBox = QtWidgets.QCheckBox(self.groupBox)
  22. self.checkBox.setObjectName("checkBox")
  23. self.gridLayout.addWidget(self.checkBox, 0, 1, 1, 1)
  24. self.lineSwitchKey = QtWidgets.QLineEdit(self.groupBox)
  25. self.lineSwitchKey.setText("")
  26. self.lineSwitchKey.setClearButtonEnabled(True)
  27. self.lineSwitchKey.setObjectName("lineSwitchKey")
  28. self.gridLayout.addWidget(self.lineSwitchKey, 3, 0, 1, 2)
  29. self.labelLatch = QtWidgets.QLabel(self.groupBox)
  30. self.labelLatch.setObjectName("labelLatch")
  31. self.gridLayout.addWidget(self.labelLatch, 7, 0, 1, 1)
  32. self.checkSwitchEnable = QtWidgets.QCheckBox(self.groupBox)
  33. self.checkSwitchEnable.setObjectName("checkSwitchEnable")
  34. self.gridLayout.addWidget(self.checkSwitchEnable, 0, 0, 1, 1)
  35. self.spinLatchTime = QtWidgets.QSpinBox(self.groupBox)
  36. self.spinLatchTime.setMaximum(60)
  37. self.spinLatchTime.setSingleStep(1)
  38. self.spinLatchTime.setObjectName("spinLatchTime")
  39. self.gridLayout.addWidget(self.spinLatchTime, 8, 0, 1, 2)
  40. self.verticalLayout.addWidget(self.groupBox)
  41. self.groupBox_2 = QtWidgets.QGroupBox(SwitchConfigDialog)
  42. self.groupBox_2.setObjectName("groupBox_2")
  43. self.checkOutletEnable = QtWidgets.QCheckBox(self.groupBox_2)
  44. self.checkOutletEnable.setGeometry(QtCore.QRect(10, 30, 92, 23))
  45. self.checkOutletEnable.setObjectName("checkOutletEnable")
  46. self.verticalLayout.addWidget(self.groupBox_2)
  47. self.buttonApply = QtWidgets.QPushButton(SwitchConfigDialog)
  48. self.buttonApply.setObjectName("buttonApply")
  49. self.verticalLayout.addWidget(self.buttonApply)
  50. self.retranslateUi(SwitchConfigDialog)
  51. QtCore.QMetaObject.connectSlotsByName(SwitchConfigDialog)
  52. def retranslateUi(self, SwitchConfigDialog):
  53. _translate = QtCore.QCoreApplication.translate
  54. SwitchConfigDialog.setWindowTitle(_translate("SwitchConfigDialog", "Switch Configuration"))
  55. self.groupBox.setTitle(_translate("SwitchConfigDialog", "Keyboard Settings"))
  56. self.checkBox.setText(_translate("SwitchConfigDialog", "Latching"))
  57. self.lineSwitchKey.setPlaceholderText(_translate("SwitchConfigDialog", "Enter Keystroke"))
  58. self.labelLatch.setText(_translate("SwitchConfigDialog", "Delay:"))
  59. self.checkSwitchEnable.setText(_translate("SwitchConfigDialog", "Enable "))
  60. self.spinLatchTime.setSuffix(_translate("SwitchConfigDialog", " seconds"))
  61. self.groupBox_2.setTitle(_translate("SwitchConfigDialog", "Wi-Fi Outlet"))
  62. self.checkOutletEnable.setText(_translate("SwitchConfigDialog", "Enable"))
  63. self.buttonApply.setText(_translate("SwitchConfigDialog", "Apply"))