src/eric7/MicroPython/EthernetDialogs/Ui_HostnameDialog.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/EthernetDialogs/HostnameDialog.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_HostnameDialog(object):
13 def setupUi(self, HostnameDialog):
14 HostnameDialog.setObjectName("HostnameDialog")
15 HostnameDialog.resize(400, 78)
16 HostnameDialog.setSizeGripEnabled(True)
17 self.verticalLayout = QtWidgets.QVBoxLayout(HostnameDialog)
18 self.verticalLayout.setObjectName("verticalLayout")
19 self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
20 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
21 self.label_5 = QtWidgets.QLabel(parent=HostnameDialog)
22 self.label_5.setObjectName("label_5")
23 self.horizontalLayout_2.addWidget(self.label_5)
24 self.hostnameEdit = EricHostnameInputWidget(parent=HostnameDialog)
25 self.hostnameEdit.setObjectName("hostnameEdit")
26 self.horizontalLayout_2.addWidget(self.hostnameEdit)
27 self.verticalLayout.addLayout(self.horizontalLayout_2)
28 self.buttonBox = QtWidgets.QDialogButtonBox(parent=HostnameDialog)
29 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
30 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
31 self.buttonBox.setObjectName("buttonBox")
32 self.verticalLayout.addWidget(self.buttonBox)
33
34 self.retranslateUi(HostnameDialog)
35 self.buttonBox.accepted.connect(HostnameDialog.accept) # type: ignore
36 self.buttonBox.rejected.connect(HostnameDialog.reject) # type: ignore
37 QtCore.QMetaObject.connectSlotsByName(HostnameDialog)
38
39 def retranslateUi(self, HostnameDialog):
40 _translate = QtCore.QCoreApplication.translate
41 HostnameDialog.setWindowTitle(_translate("HostnameDialog", "Host Name"))
42 self.label_5.setText(_translate("HostnameDialog", "Hostname:"))
43 self.hostnameEdit.setToolTip(_translate("HostnameDialog", "Enter the host name for the device (leave empty for MicroPython < 1.20)."))
44 from eric7.EricNetwork.EricHostnameInputWidget import EricHostnameInputWidget

eric ide

mercurial