src/eric7/MicroPython/Ui_MicroPythonWebreplConnectionDialog.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/MicroPythonWebreplConnectionDialog.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_MicroPythonWebreplConnectionDialog(object):
13 def setupUi(self, MicroPythonWebreplConnectionDialog):
14 MicroPythonWebreplConnectionDialog.setObjectName("MicroPythonWebreplConnectionDialog")
15 MicroPythonWebreplConnectionDialog.resize(400, 172)
16 MicroPythonWebreplConnectionDialog.setSizeGripEnabled(True)
17 self.gridLayout = QtWidgets.QGridLayout(MicroPythonWebreplConnectionDialog)
18 self.gridLayout.setObjectName("gridLayout")
19 self.label_3 = QtWidgets.QLabel(parent=MicroPythonWebreplConnectionDialog)
20 self.label_3.setObjectName("label_3")
21 self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
22 self.hostEdit = QtWidgets.QLineEdit(parent=MicroPythonWebreplConnectionDialog)
23 self.hostEdit.setClearButtonEnabled(True)
24 self.hostEdit.setObjectName("hostEdit")
25 self.gridLayout.addWidget(self.hostEdit, 0, 1, 1, 2)
26 self.label_4 = QtWidgets.QLabel(parent=MicroPythonWebreplConnectionDialog)
27 self.label_4.setObjectName("label_4")
28 self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
29 self.portEdit = QtWidgets.QLineEdit(parent=MicroPythonWebreplConnectionDialog)
30 self.portEdit.setClearButtonEnabled(True)
31 self.portEdit.setObjectName("portEdit")
32 self.gridLayout.addWidget(self.portEdit, 1, 1, 1, 2)
33 self.label_5 = QtWidgets.QLabel(parent=MicroPythonWebreplConnectionDialog)
34 self.label_5.setObjectName("label_5")
35 self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
36 self.passwordEdit = QtWidgets.QLineEdit(parent=MicroPythonWebreplConnectionDialog)
37 self.passwordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
38 self.passwordEdit.setClearButtonEnabled(True)
39 self.passwordEdit.setObjectName("passwordEdit")
40 self.gridLayout.addWidget(self.passwordEdit, 2, 1, 1, 1)
41 self.showPasswordButton = QtWidgets.QToolButton(parent=MicroPythonWebreplConnectionDialog)
42 self.showPasswordButton.setCheckable(True)
43 self.showPasswordButton.setObjectName("showPasswordButton")
44 self.gridLayout.addWidget(self.showPasswordButton, 2, 2, 1, 1)
45 self.label_6 = QtWidgets.QLabel(parent=MicroPythonWebreplConnectionDialog)
46 self.label_6.setObjectName("label_6")
47 self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1)
48 self.deviceTypeComboBox = QtWidgets.QComboBox(parent=MicroPythonWebreplConnectionDialog)
49 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
50 sizePolicy.setHorizontalStretch(0)
51 sizePolicy.setVerticalStretch(0)
52 sizePolicy.setHeightForWidth(self.deviceTypeComboBox.sizePolicy().hasHeightForWidth())
53 self.deviceTypeComboBox.setSizePolicy(sizePolicy)
54 self.deviceTypeComboBox.setObjectName("deviceTypeComboBox")
55 self.gridLayout.addWidget(self.deviceTypeComboBox, 3, 1, 1, 2)
56 self.buttonBox = QtWidgets.QDialogButtonBox(parent=MicroPythonWebreplConnectionDialog)
57 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
58 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
59 self.buttonBox.setObjectName("buttonBox")
60 self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 3)
61
62 self.retranslateUi(MicroPythonWebreplConnectionDialog)
63 self.buttonBox.accepted.connect(MicroPythonWebreplConnectionDialog.accept) # type: ignore
64 self.buttonBox.rejected.connect(MicroPythonWebreplConnectionDialog.reject) # type: ignore
65 QtCore.QMetaObject.connectSlotsByName(MicroPythonWebreplConnectionDialog)
66 MicroPythonWebreplConnectionDialog.setTabOrder(self.hostEdit, self.portEdit)
67 MicroPythonWebreplConnectionDialog.setTabOrder(self.portEdit, self.passwordEdit)
68 MicroPythonWebreplConnectionDialog.setTabOrder(self.passwordEdit, self.deviceTypeComboBox)
69
70 def retranslateUi(self, MicroPythonWebreplConnectionDialog):
71 _translate = QtCore.QCoreApplication.translate
72 MicroPythonWebreplConnectionDialog.setWindowTitle(_translate("MicroPythonWebreplConnectionDialog", "WebREPL Connection"))
73 self.label_3.setText(_translate("MicroPythonWebreplConnectionDialog", "Host:"))
74 self.hostEdit.setToolTip(_translate("MicroPythonWebreplConnectionDialog", "Enter the host name or IPv4 address of the device."))
75 self.label_4.setText(_translate("MicroPythonWebreplConnectionDialog", "Port:"))
76 self.portEdit.setToolTip(_translate("MicroPythonWebreplConnectionDialog", "Enter the port of the WebREPL (empty for default port 8266)."))
77 self.label_5.setText(_translate("MicroPythonWebreplConnectionDialog", "Password:"))
78 self.passwordEdit.setToolTip(_translate("MicroPythonWebreplConnectionDialog", "Enter the password for this device connection."))
79 self.showPasswordButton.setToolTip(_translate("MicroPythonWebreplConnectionDialog", "Press to show the password."))
80 self.label_6.setText(_translate("MicroPythonWebreplConnectionDialog", "Device Type:"))
81 self.deviceTypeComboBox.setToolTip(_translate("MicroPythonWebreplConnectionDialog", "Select the device type"))

eric ide

mercurial