src/eric7/MicroPython/Devices/EspDialogs/Ui_EspFirmwareSelectionDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/MicroPython/Devices/EspDialogs/EspFirmwareSelectionDialog.ui'
2 #
3 # Created by: PyQt6 UI code generator 6.7.0
4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6 # run again. Do not edit this file unless you know what you are doing.
7
8
9 from PyQt6 import QtCore, QtGui, QtWidgets
10
11
12 class Ui_EspFirmwareSelectionDialog(object):
13 def setupUi(self, EspFirmwareSelectionDialog):
14 EspFirmwareSelectionDialog.setObjectName("EspFirmwareSelectionDialog")
15 EspFirmwareSelectionDialog.resize(500, 228)
16 EspFirmwareSelectionDialog.setSizeGripEnabled(True)
17 self.verticalLayout = QtWidgets.QVBoxLayout(EspFirmwareSelectionDialog)
18 self.verticalLayout.setObjectName("verticalLayout")
19 self.gridLayout = QtWidgets.QGridLayout()
20 self.gridLayout.setObjectName("gridLayout")
21 self.label_5 = QtWidgets.QLabel(parent=EspFirmwareSelectionDialog)
22 self.label_5.setObjectName("label_5")
23 self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
24 self.label_4 = QtWidgets.QLabel(parent=EspFirmwareSelectionDialog)
25 self.label_4.setObjectName("label_4")
26 self.gridLayout.addWidget(self.label_4, 4, 2, 1, 1)
27 self.addressLabel = QtWidgets.QLabel(parent=EspFirmwareSelectionDialog)
28 self.addressLabel.setObjectName("addressLabel")
29 self.gridLayout.addWidget(self.addressLabel, 5, 0, 1, 1)
30 self.addressEdit = QtWidgets.QLineEdit(parent=EspFirmwareSelectionDialog)
31 self.addressEdit.setMaxLength(7)
32 self.addressEdit.setClearButtonEnabled(True)
33 self.addressEdit.setObjectName("addressEdit")
34 self.gridLayout.addWidget(self.addressEdit, 5, 1, 1, 2)
35 self.modeComboBox = QtWidgets.QComboBox(parent=EspFirmwareSelectionDialog)
36 self.modeComboBox.setObjectName("modeComboBox")
37 self.gridLayout.addWidget(self.modeComboBox, 4, 1, 1, 1)
38 self.label_3 = QtWidgets.QLabel(parent=EspFirmwareSelectionDialog)
39 self.label_3.setToolTip("")
40 self.label_3.setObjectName("label_3")
41 self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)
42 self.label_2 = QtWidgets.QLabel(parent=EspFirmwareSelectionDialog)
43 self.label_2.setObjectName("label_2")
44 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
45 spacerItem = QtWidgets.QSpacerItem(298, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
46 self.gridLayout.addItem(spacerItem, 3, 2, 1, 1)
47 self.espComboBox = QtWidgets.QComboBox(parent=EspFirmwareSelectionDialog)
48 self.espComboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToContents)
49 self.espComboBox.setObjectName("espComboBox")
50 self.gridLayout.addWidget(self.espComboBox, 0, 1, 1, 1)
51 self.baudRateComboBox = QtWidgets.QComboBox(parent=EspFirmwareSelectionDialog)
52 self.baudRateComboBox.setObjectName("baudRateComboBox")
53 self.gridLayout.addWidget(self.baudRateComboBox, 3, 1, 1, 1)
54 self.firmwarePicker = EricPathPicker(parent=EspFirmwareSelectionDialog)
55 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
56 sizePolicy.setHorizontalStretch(0)
57 sizePolicy.setVerticalStretch(0)
58 sizePolicy.setHeightForWidth(self.firmwarePicker.sizePolicy().hasHeightForWidth())
59 self.firmwarePicker.setSizePolicy(sizePolicy)
60 self.firmwarePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus)
61 self.firmwarePicker.setObjectName("firmwarePicker")
62 self.gridLayout.addWidget(self.firmwarePicker, 1, 1, 1, 2)
63 self.label = QtWidgets.QLabel(parent=EspFirmwareSelectionDialog)
64 self.label.setObjectName("label")
65 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
66 spacerItem1 = QtWidgets.QSpacerItem(318, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
67 self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1)
68 self.cpyCheckBox = QtWidgets.QCheckBox(parent=EspFirmwareSelectionDialog)
69 self.cpyCheckBox.setObjectName("cpyCheckBox")
70 self.gridLayout.addWidget(self.cpyCheckBox, 2, 0, 1, 3)
71 self.verticalLayout.addLayout(self.gridLayout)
72 self.buttonBox = QtWidgets.QDialogButtonBox(parent=EspFirmwareSelectionDialog)
73 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
74 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
75 self.buttonBox.setObjectName("buttonBox")
76 self.verticalLayout.addWidget(self.buttonBox)
77
78 self.retranslateUi(EspFirmwareSelectionDialog)
79 self.buttonBox.accepted.connect(EspFirmwareSelectionDialog.accept) # type: ignore
80 self.buttonBox.rejected.connect(EspFirmwareSelectionDialog.reject) # type: ignore
81 QtCore.QMetaObject.connectSlotsByName(EspFirmwareSelectionDialog)
82 EspFirmwareSelectionDialog.setTabOrder(self.espComboBox, self.firmwarePicker)
83 EspFirmwareSelectionDialog.setTabOrder(self.firmwarePicker, self.cpyCheckBox)
84 EspFirmwareSelectionDialog.setTabOrder(self.cpyCheckBox, self.baudRateComboBox)
85 EspFirmwareSelectionDialog.setTabOrder(self.baudRateComboBox, self.modeComboBox)
86 EspFirmwareSelectionDialog.setTabOrder(self.modeComboBox, self.addressEdit)
87
88 def retranslateUi(self, EspFirmwareSelectionDialog):
89 _translate = QtCore.QCoreApplication.translate
90 EspFirmwareSelectionDialog.setWindowTitle(_translate("EspFirmwareSelectionDialog", "Flash µPy/CPy Firmware"))
91 self.label_5.setText(_translate("EspFirmwareSelectionDialog", "Baud Rate:"))
92 self.label_4.setText(_translate("EspFirmwareSelectionDialog", "Leave empty to use the default mode."))
93 self.addressLabel.setText(_translate("EspFirmwareSelectionDialog", "Address:"))
94 self.addressEdit.setToolTip(_translate("EspFirmwareSelectionDialog", "Enter the flash addres in the hexadecimal form"))
95 self.modeComboBox.setToolTip(_translate("EspFirmwareSelectionDialog", "Select the flash mode"))
96 self.label_3.setText(_translate("EspFirmwareSelectionDialog", "Flash Mode:"))
97 self.label_2.setText(_translate("EspFirmwareSelectionDialog", "Firmware:"))
98 self.espComboBox.setToolTip(_translate("EspFirmwareSelectionDialog", "Select the ESP chip type"))
99 self.baudRateComboBox.setToolTip(_translate("EspFirmwareSelectionDialog", "Select the baud rate to be used for flashing (default: 115.200 bps)"))
100 self.firmwarePicker.setToolTip(_translate("EspFirmwareSelectionDialog", "Enter the path of the firmware file"))
101 self.label.setText(_translate("EspFirmwareSelectionDialog", "ESP Chip Type:"))
102 self.cpyCheckBox.setToolTip(_translate("EspFirmwareSelectionDialog", "Check this, if the firware to be loaded is CircuitPython (changes the flash address for some chips)."))
103 self.cpyCheckBox.setText(_translate("EspFirmwareSelectionDialog", "Firmware is CircuitPython"))
104 from eric7.EricWidgets.EricPathPicker import EricPathPicker

eric ide

mercurial