src/eric7/MicroPython/EthernetDialogs/IPv4AddressDialog.ui

Sun, 16 Mar 2025 12:53:12 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 16 Mar 2025 12:53:12 +0100
branch
eric7
changeset 11170
6d6199d668fb
parent 10153
ffe7432f716b
permissions
-rw-r--r--

Added the Adafruit Feather nRF52840 to the list of known NRF52 boards and changed the list of known CircuitPython boards to be more explicit with respect to Adafruit boards (i.e. VID 0x239A).

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>IPv4AddressDialog</class>
 <widget class="QDialog" name="IPv4AddressDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>400</width>
    <height>251</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>IPv4 Address</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </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>
     </property>
     <property name="text">
      <string>Dynamic IPv4 Address (DHCP)</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="ipAddressGroup">
     <property name="title">
      <string>IPv4 Address</string>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
       <layout class="QGridLayout" name="gridLayout">
        <item row="0" column="0">
         <widget class="QLabel" name="label">
          <property name="text">
           <string>Address:</string>
          </property>
         </widget>
        </item>
        <item row="0" column="1">
         <widget class="EricIPv4InputWidget" name="addressEdit" native="true">
          <property name="focusPolicy">
           <enum>Qt::NoFocus</enum>
          </property>
         </widget>
        </item>
        <item row="1" column="0">
         <widget class="QLabel" name="label_2">
          <property name="text">
           <string>Netmask:</string>
          </property>
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="EricIPv4InputWidget" name="netmaskEdit" native="true">
          <property name="focusPolicy">
           <enum>Qt::NoFocus</enum>
          </property>
         </widget>
        </item>
        <item row="2" column="0">
         <widget class="QLabel" name="label_3">
          <property name="text">
           <string>Gateway:</string>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <widget class="EricIPv4InputWidget" name="gatewayEdit" native="true">
          <property name="focusPolicy">
           <enum>Qt::NoFocus</enum>
          </property>
         </widget>
        </item>
        <item row="3" column="0">
         <widget class="QLabel" name="label_4">
          <property name="text">
           <string>DNS:</string>
          </property>
         </widget>
        </item>
        <item row="3" column="1">
         <widget class="EricIPv4InputWidget" name="dnsEdit" native="true">
          <property name="focusPolicy">
           <enum>Qt::NoFocus</enum>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <spacer name="horizontalSpacer">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>283</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>EricIPv4InputWidget</class>
   <extends>QWidget</extends>
   <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>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>IPv4AddressDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>248</x>
     <y>254</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>IPv4AddressDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>316</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial