encoderconfigurationdialog.py 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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, 110)
  12. self.verticalLayout = QtWidgets.QVBoxLayout(SwitchConfigDialog)
  13. self.verticalLayout.setObjectName("verticalLayout")
  14. self.groupBox = QtWidgets.QGroupBox(SwitchConfigDialog)
  15. self.groupBox.setObjectName("groupBox")
  16. self.formLayout = QtWidgets.QFormLayout(self.groupBox)
  17. self.formLayout.setObjectName("formLayout")
  18. self.checkSwitchEnable = QtWidgets.QCheckBox(self.groupBox)
  19. self.checkSwitchEnable.setObjectName("checkSwitchEnable")
  20. self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.checkSwitchEnable)
  21. self.spinLatchTime = QtWidgets.QSpinBox(self.groupBox)
  22. self.spinLatchTime.setObjectName("spinLatchTime")
  23. self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.spinLatchTime)
  24. self.lineSwitchKey = QtWidgets.QLineEdit(self.groupBox)
  25. self.lineSwitchKey.setText("")
  26. self.lineSwitchKey.setClearButtonEnabled(True)
  27. self.lineSwitchKey.setObjectName("lineSwitchKey")
  28. self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.lineSwitchKey)
  29. self.labelLatch = QtWidgets.QLabel(self.groupBox)
  30. self.labelLatch.setObjectName("labelLatch")
  31. self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.labelLatch)
  32. self.verticalLayout.addWidget(self.groupBox)
  33. self.retranslateUi(SwitchConfigDialog)
  34. QtCore.QMetaObject.connectSlotsByName(SwitchConfigDialog)
  35. def retranslateUi(self, SwitchConfigDialog):
  36. _translate = QtCore.QCoreApplication.translate
  37. SwitchConfigDialog.setWindowTitle(_translate("SwitchConfigDialog", "Dialog"))
  38. self.groupBox.setTitle(_translate("SwitchConfigDialog", "Switch Configuration:"))
  39. self.checkSwitchEnable.setText(_translate("SwitchConfigDialog", "Enable"))
  40. self.spinLatchTime.setSuffix(_translate("SwitchConfigDialog", " sec."))
  41. self.lineSwitchKey.setPlaceholderText(_translate("SwitchConfigDialog", "Enter Keystroke"))
  42. self.labelLatch.setText(_translate("SwitchConfigDialog", "Latching Delay:"))