src/eric7/MicroPython/EthernetDialogs/Ui_HostnameDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/MicroPython/EthernetDialogs/Ui_HostnameDialog.py	Fri Jun 07 10:05:06 2024 +0200
@@ -0,0 +1,44 @@
+# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/MicroPython/EthernetDialogs/HostnameDialog.ui'
+#
+# Created by: PyQt6 UI code generator 6.7.0
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again.  Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_HostnameDialog(object):
+    def setupUi(self, HostnameDialog):
+        HostnameDialog.setObjectName("HostnameDialog")
+        HostnameDialog.resize(400, 78)
+        HostnameDialog.setSizeGripEnabled(True)
+        self.verticalLayout = QtWidgets.QVBoxLayout(HostnameDialog)
+        self.verticalLayout.setObjectName("verticalLayout")
+        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
+        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
+        self.label_5 = QtWidgets.QLabel(parent=HostnameDialog)
+        self.label_5.setObjectName("label_5")
+        self.horizontalLayout_2.addWidget(self.label_5)
+        self.hostnameEdit = EricHostnameInputWidget(parent=HostnameDialog)
+        self.hostnameEdit.setObjectName("hostnameEdit")
+        self.horizontalLayout_2.addWidget(self.hostnameEdit)
+        self.verticalLayout.addLayout(self.horizontalLayout_2)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=HostnameDialog)
+        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
+        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
+        self.buttonBox.setObjectName("buttonBox")
+        self.verticalLayout.addWidget(self.buttonBox)
+
+        self.retranslateUi(HostnameDialog)
+        self.buttonBox.accepted.connect(HostnameDialog.accept) # type: ignore
+        self.buttonBox.rejected.connect(HostnameDialog.reject) # type: ignore
+        QtCore.QMetaObject.connectSlotsByName(HostnameDialog)
+
+    def retranslateUi(self, HostnameDialog):
+        _translate = QtCore.QCoreApplication.translate
+        HostnameDialog.setWindowTitle(_translate("HostnameDialog", "Host Name"))
+        self.label_5.setText(_translate("HostnameDialog", "Hostname:"))
+        self.hostnameEdit.setToolTip(_translate("HostnameDialog", "Enter the host name for the device (leave empty for MicroPython < 1.20)."))
+from eric7.EricNetwork.EricHostnameInputWidget import EricHostnameInputWidget

eric ide

mercurial