encoderconfigurationdialog.py 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'encoderconfigurationdialog.ui'
  3. #
  4. # Created by: PyQt5 UI code generator 5.7
  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(217, 190)
  12. self.verticalLayout = QtWidgets.QVBoxLayout(SwitchConfigDialog)
  13. self.verticalLayout.setObjectName("verticalLayout")
  14. self.groupBox = QtWidgets.QGroupBox(SwitchConfigDialog)
  15. self.groupBox.setObjectName("groupBox")
  16. self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
  17. self.gridLayout.setObjectName("gridLayout")
  18. self.lineSwitchKey = QtWidgets.QLineEdit(self.groupBox)
  19. self.lineSwitchKey.setText("")
  20. self.lineSwitchKey.setClearButtonEnabled(True)
  21. self.lineSwitchKey.setObjectName("lineSwitchKey")
  22. self.gridLayout.addWidget(self.lineSwitchKey, 1, 0, 1, 2)
  23. self.labelLatch = QtWidgets.QLabel(self.groupBox)
  24. self.labelLatch.setObjectName("labelLatch")
  25. self.gridLayout.addWidget(self.labelLatch, 2, 0, 1, 1)
  26. self.buttonApply = QtWidgets.QPushButton(self.groupBox)
  27. self.buttonApply.setObjectName("buttonApply")
  28. self.gridLayout.addWidget(self.buttonApply, 4, 1, 1, 1)
  29. self.checkSwitchEnable = QtWidgets.QCheckBox(self.groupBox)
  30. self.checkSwitchEnable.setObjectName("checkSwitchEnable")
  31. self.gridLayout.addWidget(self.checkSwitchEnable, 0, 0, 1, 2)
  32. self.spinLatchTime = QtWidgets.QSpinBox(self.groupBox)
  33. self.spinLatchTime.setMaximum(60)
  34. self.spinLatchTime.setSingleStep(1)
  35. self.spinLatchTime.setObjectName("spinLatchTime")
  36. self.gridLayout.addWidget(self.spinLatchTime, 3, 0, 1, 2)
  37. self.verticalLayout.addWidget(self.groupBox)
  38. self.retranslateUi(SwitchConfigDialog)
  39. QtCore.QMetaObject.connectSlotsByName(SwitchConfigDialog)
  40. def retranslateUi(self, SwitchConfigDialog):
  41. _translate = QtCore.QCoreApplication.translate
  42. SwitchConfigDialog.setWindowTitle(_translate("SwitchConfigDialog", "Dialog"))
  43. self.groupBox.setTitle(_translate("SwitchConfigDialog", "Switch Configuration:"))
  44. self.lineSwitchKey.setPlaceholderText(_translate("SwitchConfigDialog", "Enter Keystroke"))
  45. self.labelLatch.setText(_translate("SwitchConfigDialog", "Latching Delay:"))
  46. self.buttonApply.setText(_translate("SwitchConfigDialog", "Apply"))
  47. self.checkSwitchEnable.setText(_translate("SwitchConfigDialog", "Enable Switch"))
  48. self.spinLatchTime.setSuffix(_translate("SwitchConfigDialog", " seconds"))