[PATCH 2/8]: wpa_gui-qt4: use descriptive label names in networkconfig.ui

Kel Modderman kel at otaku42.de
Wed Jan 23 06:35:07 EST 2008


Change label names to use more descriptive names rather than generic
names using numbers that are painful to change when adding/remove widgets.

Signed-off-by: Kel Modderman <kel at otaku42.de>
---
--- a/wpa_supplicant/wpa_gui-qt4/networkconfig.ui
+++ b/wpa_supplicant/wpa_gui-qt4/networkconfig.ui
@@ -30,7 +30,7 @@
      </property>
      <layout class="QGridLayout" >
       <item row="0" column="0" >
-       <widget class="QLabel" name="textLabel0" >
+       <widget class="QLabel" name="ssidLabel" >
         <property name="text" >
          <string>SSID</string>
         </property>
@@ -47,7 +47,7 @@
        </widget>
       </item>
       <item row="1" column="0" >
-       <widget class="QLabel" name="textLabel1" >
+       <widget class="QLabel" name="idstrLabel" >
         <property name="text" >
          <string>Network ID</string>
         </property>
@@ -64,7 +64,7 @@
        </widget>
       </item>
       <item row="2" column="0" >
-       <widget class="QLabel" name="textLabel2" >
+       <widget class="QLabel" name="authLabel" >
         <property name="text" >
          <string>Authentication</string>
         </property>
@@ -105,7 +105,7 @@
        </widget>
       </item>
       <item row="3" column="0" >
-       <widget class="QLabel" name="textLabel3" >
+       <widget class="QLabel" name="encrLabel" >
         <property name="text" >
          <string>Encryption</string>
         </property>
@@ -136,7 +136,7 @@
        </widget>
       </item>
       <item row="4" column="0" >
-       <widget class="QLabel" name="textLabel4" >
+       <widget class="QLabel" name="pskLabel" >
         <property name="text" >
          <string>PSK</string>
         </property>
@@ -159,7 +159,7 @@
        </widget>
       </item>
       <item row="5" column="0" >
-       <widget class="QLabel" name="textLabel5" >
+       <widget class="QLabel" name="eapLabel" >
         <property name="text" >
          <string>EAP method</string>
         </property>
@@ -173,7 +173,7 @@
        </widget>
       </item>
       <item row="6" column="0" >
-       <widget class="QLabel" name="textLabel6" >
+       <widget class="QLabel" name="identityLabel" >
         <property name="text" >
          <string>Identity</string>
         </property>
@@ -190,7 +190,7 @@
        </widget>
       </item>
       <item row="7" column="0" >
-       <widget class="QLabel" name="textLabel7" >
+       <widget class="QLabel" name="passwordLabel" >
         <property name="text" >
          <string>Password</string>
         </property>
@@ -210,7 +210,7 @@
        </widget>
       </item>
       <item row="8" column="0" >
-       <widget class="QLabel" name="textLabel1_2" >
+       <widget class="QLabel" name="cacertLabel" >
         <property name="text" >
          <string>CA certificate</string>
         </property>
---


More information about the HostAP mailing list