src/eric7/MicroPython/EthernetDialogs/IPv4AddressDialog.ui

branch
eric7
changeset 10153
ffe7432f716b
parent 9878
a82014a9e57b
--- a/src/eric7/MicroPython/EthernetDialogs/IPv4AddressDialog.ui	Wed Aug 02 17:22:20 2023 +0200
+++ b/src/eric7/MicroPython/EthernetDialogs/IPv4AddressDialog.ui	Thu Aug 03 17:33:07 2023 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>400</width>
-    <height>217</height>
+    <height>251</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -18,6 +18,24 @@
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
+     <item>
+      <widget class="QLabel" name="label_5">
+       <property name="text">
+        <string>Hostname:</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="EricHostnameInputWidget" name="hostnameEdit">
+       <property name="toolTip">
+        <string>Enter the host name for the device (leave empty for MicroPython &amp;lt; 1.20).</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
     <widget class="QCheckBox" name="dhcpCheckBox">
      <property name="toolTip">
       <string>Select to get the IPv4 address via DHCP.</string>
@@ -128,7 +146,16 @@
    <header>eric7/EricNetwork/EricIPv4InputWidget.h</header>
    <container>1</container>
   </customwidget>
+  <customwidget>
+   <class>EricHostnameInputWidget</class>
+   <extends>QLineEdit</extends>
+   <header>eric7/EricNetwork/EricHostnameInputWidget.h</header>
+  </customwidget>
  </customwidgets>
+ <tabstops>
+  <tabstop>hostnameEdit</tabstop>
+  <tabstop>dhcpCheckBox</tabstop>
+ </tabstops>
  <resources/>
  <connections>
   <connection>

eric ide

mercurial