|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/MicroPython/ConnectionSelectionDialog.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_ConnectionSelectionDialog(object): |
|
13 def setupUi(self, ConnectionSelectionDialog): |
|
14 ConnectionSelectionDialog.setObjectName("ConnectionSelectionDialog") |
|
15 ConnectionSelectionDialog.resize(400, 108) |
|
16 ConnectionSelectionDialog.setSizeGripEnabled(True) |
|
17 self.gridLayout = QtWidgets.QGridLayout(ConnectionSelectionDialog) |
|
18 self.gridLayout.setObjectName("gridLayout") |
|
19 self.label = QtWidgets.QLabel(parent=ConnectionSelectionDialog) |
|
20 self.label.setObjectName("label") |
|
21 self.gridLayout.addWidget(self.label, 0, 0, 1, 1) |
|
22 self.portNameComboBox = QtWidgets.QComboBox(parent=ConnectionSelectionDialog) |
|
23 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
24 sizePolicy.setHorizontalStretch(0) |
|
25 sizePolicy.setVerticalStretch(0) |
|
26 sizePolicy.setHeightForWidth(self.portNameComboBox.sizePolicy().hasHeightForWidth()) |
|
27 self.portNameComboBox.setSizePolicy(sizePolicy) |
|
28 self.portNameComboBox.setObjectName("portNameComboBox") |
|
29 self.gridLayout.addWidget(self.portNameComboBox, 0, 1, 1, 1) |
|
30 self.label_2 = QtWidgets.QLabel(parent=ConnectionSelectionDialog) |
|
31 self.label_2.setObjectName("label_2") |
|
32 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) |
|
33 self.deviceTypeComboBox = QtWidgets.QComboBox(parent=ConnectionSelectionDialog) |
|
34 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
35 sizePolicy.setHorizontalStretch(0) |
|
36 sizePolicy.setVerticalStretch(0) |
|
37 sizePolicy.setHeightForWidth(self.deviceTypeComboBox.sizePolicy().hasHeightForWidth()) |
|
38 self.deviceTypeComboBox.setSizePolicy(sizePolicy) |
|
39 self.deviceTypeComboBox.setObjectName("deviceTypeComboBox") |
|
40 self.gridLayout.addWidget(self.deviceTypeComboBox, 1, 1, 1, 1) |
|
41 self.buttonBox = QtWidgets.QDialogButtonBox(parent=ConnectionSelectionDialog) |
|
42 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
43 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
44 self.buttonBox.setObjectName("buttonBox") |
|
45 self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 2) |
|
46 |
|
47 self.retranslateUi(ConnectionSelectionDialog) |
|
48 self.buttonBox.accepted.connect(ConnectionSelectionDialog.accept) # type: ignore |
|
49 self.buttonBox.rejected.connect(ConnectionSelectionDialog.reject) # type: ignore |
|
50 QtCore.QMetaObject.connectSlotsByName(ConnectionSelectionDialog) |
|
51 |
|
52 def retranslateUi(self, ConnectionSelectionDialog): |
|
53 _translate = QtCore.QCoreApplication.translate |
|
54 ConnectionSelectionDialog.setWindowTitle(_translate("ConnectionSelectionDialog", "Port and Device Type Selection")) |
|
55 self.label.setText(_translate("ConnectionSelectionDialog", "Serial Port Name:")) |
|
56 self.portNameComboBox.setToolTip(_translate("ConnectionSelectionDialog", "Select the serial port name to connect")) |
|
57 self.label_2.setText(_translate("ConnectionSelectionDialog", "Device Type:")) |
|
58 self.deviceTypeComboBox.setToolTip(_translate("ConnectionSelectionDialog", "Select the device type")) |