src/eric7/MicroPython/WifiDialogs/Ui_WifiConnectionDialog.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/WifiDialogs/WifiConnectionDialog.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_WifiConnectionDialog(object):
13 def setupUi(self, WifiConnectionDialog):
14 WifiConnectionDialog.setObjectName("WifiConnectionDialog")
15 WifiConnectionDialog.resize(400, 202)
16 WifiConnectionDialog.setSizeGripEnabled(True)
17 self.gridLayout = QtWidgets.QGridLayout(WifiConnectionDialog)
18 self.gridLayout.setObjectName("gridLayout")
19 self.label = QtWidgets.QLabel(parent=WifiConnectionDialog)
20 self.label.setObjectName("label")
21 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
22 self.ssidEdit = QtWidgets.QLineEdit(parent=WifiConnectionDialog)
23 self.ssidEdit.setClearButtonEnabled(True)
24 self.ssidEdit.setObjectName("ssidEdit")
25 self.gridLayout.addWidget(self.ssidEdit, 0, 1, 1, 3)
26 self.label_2 = QtWidgets.QLabel(parent=WifiConnectionDialog)
27 self.label_2.setObjectName("label_2")
28 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
29 self.passwordEdit = QtWidgets.QLineEdit(parent=WifiConnectionDialog)
30 self.passwordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
31 self.passwordEdit.setClearButtonEnabled(True)
32 self.passwordEdit.setObjectName("passwordEdit")
33 self.gridLayout.addWidget(self.passwordEdit, 1, 1, 1, 2)
34 self.showPasswordButton = QtWidgets.QToolButton(parent=WifiConnectionDialog)
35 self.showPasswordButton.setCheckable(True)
36 self.showPasswordButton.setObjectName("showPasswordButton")
37 self.gridLayout.addWidget(self.showPasswordButton, 1, 3, 1, 1)
38 self.label_3 = QtWidgets.QLabel(parent=WifiConnectionDialog)
39 self.label_3.setObjectName("label_3")
40 self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
41 self.hostnameEdit = EricHostnameInputWidget(parent=WifiConnectionDialog)
42 self.hostnameEdit.setObjectName("hostnameEdit")
43 self.gridLayout.addWidget(self.hostnameEdit, 2, 1, 1, 3)
44 self.countryLabel = QtWidgets.QLabel(parent=WifiConnectionDialog)
45 self.countryLabel.setObjectName("countryLabel")
46 self.gridLayout.addWidget(self.countryLabel, 3, 0, 1, 1)
47 self.countryEdit = QtWidgets.QLineEdit(parent=WifiConnectionDialog)
48 self.countryEdit.setInputMask(">AA;_")
49 self.countryEdit.setMaxLength(2)
50 self.countryEdit.setClearButtonEnabled(True)
51 self.countryEdit.setObjectName("countryEdit")
52 self.gridLayout.addWidget(self.countryEdit, 3, 1, 1, 1)
53 spacerItem = QtWidgets.QSpacerItem(222, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
54 self.gridLayout.addItem(spacerItem, 3, 2, 1, 2)
55 self.rememberCheckBox = QtWidgets.QCheckBox(parent=WifiConnectionDialog)
56 self.rememberCheckBox.setObjectName("rememberCheckBox")
57 self.gridLayout.addWidget(self.rememberCheckBox, 4, 0, 1, 4)
58 self.buttonBox = QtWidgets.QDialogButtonBox(parent=WifiConnectionDialog)
59 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
60 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
61 self.buttonBox.setObjectName("buttonBox")
62 self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 4)
63
64 self.retranslateUi(WifiConnectionDialog)
65 self.buttonBox.accepted.connect(WifiConnectionDialog.accept) # type: ignore
66 self.buttonBox.rejected.connect(WifiConnectionDialog.reject) # type: ignore
67 QtCore.QMetaObject.connectSlotsByName(WifiConnectionDialog)
68 WifiConnectionDialog.setTabOrder(self.ssidEdit, self.passwordEdit)
69 WifiConnectionDialog.setTabOrder(self.passwordEdit, self.showPasswordButton)
70 WifiConnectionDialog.setTabOrder(self.showPasswordButton, self.hostnameEdit)
71 WifiConnectionDialog.setTabOrder(self.hostnameEdit, self.countryEdit)
72 WifiConnectionDialog.setTabOrder(self.countryEdit, self.rememberCheckBox)
73
74 def retranslateUi(self, WifiConnectionDialog):
75 _translate = QtCore.QCoreApplication.translate
76 WifiConnectionDialog.setWindowTitle(_translate("WifiConnectionDialog", "WiFi Connection Parameters"))
77 self.label.setText(_translate("WifiConnectionDialog", "Name:"))
78 self.ssidEdit.setToolTip(_translate("WifiConnectionDialog", "Enter the network name (SSID) to connect to"))
79 self.label_2.setText(_translate("WifiConnectionDialog", "Password:"))
80 self.passwordEdit.setToolTip(_translate("WifiConnectionDialog", "Enter the network password"))
81 self.showPasswordButton.setToolTip(_translate("WifiConnectionDialog", "Press to show the password"))
82 self.label_3.setText(_translate("WifiConnectionDialog", "Hostname:"))
83 self.hostnameEdit.setToolTip(_translate("WifiConnectionDialog", "Enter the host name for the device (leave empty for MicroPython < 1.20)."))
84 self.countryLabel.setText(_translate("WifiConnectionDialog", "Country:"))
85 self.countryEdit.setToolTip(_translate("WifiConnectionDialog", "Enter the country code for the WiFi interface"))
86 self.rememberCheckBox.setToolTip(_translate("WifiConnectionDialog", "Select to remember the entered connection parameters"))
87 self.rememberCheckBox.setText(_translate("WifiConnectionDialog", "Remember Parameters"))
88 from eric7.EricNetwork.EricHostnameInputWidget import EricHostnameInputWidget

eric ide

mercurial