internet-config's maindialog

Pupeno <[email protected]>
Newsgroups gmane.linux.arklinux.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is a patch for internet-config's maindialog layout (it's dynamic now).
- -- 
Pupeno: [email protected]
http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/1Nv+tCepaMf3unIRAmzZAJ9BshYXM+x8ZmevCs2E/1MgBEAd9ACfbMNn
EGRfIGnvO3Jya3yFbfeBXWM=
=MiVM
-----END PGP SIGNATURE-----
maindialog.ui.patch (text/x-diff, 18.2 KB)
Index: maindialog.ui
===================================================================
RCS file: /cvs/arklinux/internet-config/qt/maindialog.ui,v
retrieving revision 1.5
diff -u -3 -p -r1.5 maindialog.ui
--- maindialog.ui	3 Dec 2003 00:37:53 -0000	1.5
+++ maindialog.ui	9 Dec 2003 03:11:22 -0000
@@ -8,8 +8,8 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>393</width>
-            <height>327</height>
+            <width>428</width>
+            <height>433</height>
         </rect>
     </property>
     <property name="caption">
@@ -18,278 +18,224 @@
     <property name="icon">
         <pixmap>"internetconfig-mini"</pixmap>
     </property>
-    <widget class="Line">
+    <grid>
         <property name="name">
-            <cstring>Line1</cstring>
+            <cstring>unnamed</cstring>
         </property>
-        <property name="geometry">
-            <rect>
-                <x>11</x>
-                <y>273</y>
-                <width>379</width>
-                <height>16</height>
-            </rect>
-        </property>
-        <property name="frameShape">
-            <enum>HLine</enum>
-        </property>
-        <property name="frameShadow">
-            <enum>Sunken</enum>
-        </property>
-        <property name="orientation">
-            <enum>Horizontal</enum>
-        </property>
-    </widget>
-    <widget class="QLayoutWidget">
-        <property name="name">
-            <cstring>Button_Layout</cstring>
-        </property>
-        <property name="geometry">
-            <rect>
-                <x>11</x>
-                <y>282</y>
-                <width>379</width>
-                <height>30</height>
-            </rect>
-        </property>
-        <hbox>
+        <widget class="Line" row="1" column="0" rowspan="1" colspan="2">
             <property name="name">
-                <cstring>unnamed</cstring>
+                <cstring>Line1</cstring>
             </property>
-            <property name="margin">
-                <number>0</number>
+            <property name="frameShape">
+                <enum>HLine</enum>
             </property>
-            <property name="spacing">
-                <number>6</number>
+            <property name="frameShadow">
+                <enum>Sunken</enum>
             </property>
-            <widget class="QPushButton">
-                <property name="name">
-                    <cstring>help_b</cstring>
-                </property>
-                <property name="text">
-                    <string>&amp;Help</string>
-                </property>
-                <property name="toolTip" stdset="0">
-                    <string>About this program</string>
-                </property>
-            </widget>
-            <spacer>
-                <property name="name">
-                    <cstring>Spacer1</cstring>
-                </property>
-                <property name="orientation">
-                    <enum>Horizontal</enum>
-                </property>
-                <property name="sizeType">
-                    <enum>Expanding</enum>
-                </property>
-                <property name="sizeHint">
-                    <size>
-                        <width>20</width>
-                        <height>20</height>
-                    </size>
-                </property>
-            </spacer>
-            <widget class="QPushButton">
-                <property name="name">
-                    <cstring>next_b</cstring>
-                </property>
-                <property name="text">
-                    <string>&amp;Next &gt;</string>
-                </property>
-                <property name="toolTip" stdset="0">
-                    <string>Go to the next dialog</string>
-                </property>
-            </widget>
-            <widget class="QPushButton">
-                <property name="name">
-                    <cstring>exit_b</cstring>
-                </property>
-                <property name="text">
-                    <string>&amp;Exit</string>
-                </property>
-                <property name="toolTip" stdset="0">
-                    <string>Terminate this program</string>
-                </property>
-            </widget>
-        </hbox>
-    </widget>
-    <widget class="QLabel">
-        <property name="name">
-            <cstring>main_logo</cstring>
-        </property>
-        <property name="geometry">
-            <rect>
-                <x>12</x>
-                <y>12</y>
-                <width>30</width>
-                <height>254</height>
-            </rect>
-        </property>
-        <property name="sizePolicy">
-            <sizepolicy>
-                <hsizetype>0</hsizetype>
-                <vsizetype>1</vsizetype>
-                <horstretch>0</horstretch>
-                <verstretch>0</verstretch>
-            </sizepolicy>
-        </property>
-        <property name="pixmap">
-            <pixmap>"internetconfig-logo"</pixmap>
-        </property>
-        <property name="scaledContents">
-            <bool>true</bool>
-        </property>
-    </widget>
-    <widget class="QButtonGroup">
-        <property name="name">
-            <cstring>dialup_type_gb</cstring>
-        </property>
-        <property name="geometry">
-            <rect>
-                <x>50</x>
-                <y>10</y>
-                <width>330</width>
-                <height>254</height>
-            </rect>
-        </property>
-        <property name="sizePolicy">
-            <sizepolicy>
-                <hsizetype>7</hsizetype>
-                <vsizetype>5</vsizetype>
-                <horstretch>0</horstretch>
-                <verstretch>0</verstretch>
-            </sizepolicy>
-        </property>
-        <property name="title">
-            <string>Please choose your connection type</string>
-        </property>
-        <property name="layoutMargin" stdset="0">
-        </property>
-        <property name="layoutSpacing" stdset="0">
-        </property>
-        <property name="toolTip" stdset="0">
-            <string></string>
-        </property>
-        <widget class="QRadioButton">
-            <property name="name">
-                <cstring>modem_checkb</cstring>
-            </property>
-            <property name="geometry">
-                <rect>
-                    <x>20</x>
-                    <y>120</y>
-                    <width>290</width>
-                    <height>19</height>
-                </rect>
-            </property>
-            <property name="text">
-                <string>&amp;Modem</string>
-            </property>
-            <property name="accel">
-                <string>Alt+M</string>
-            </property>
-            <property name="buttonGroupId">
-                <number>0</number>
-            </property>
-            <property name="whatsThis" stdset="0">
-                <string>configure Modem dialup connection</string>
+            <property name="orientation">
+                <enum>Horizontal</enum>
             </property>
         </widget>
-        <widget class="QRadioButton">
+        <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
             <property name="name">
-                <cstring>adsl_checkb</cstring>
-            </property>
-            <property name="geometry">
-                <rect>
-                    <x>20</x>
-                    <y>60</y>
-                    <width>290</width>
-                    <height>19</height>
-                </rect>
-            </property>
-            <property name="focusPolicy">
-                <enum>NoFocus</enum>
-            </property>
-            <property name="text">
-                <string>&amp;DSL</string>
-            </property>
-            <property name="accel">
-                <string>Alt+D</string>
-            </property>
-            <property name="checked">
-                <bool>false</bool>
-            </property>
-            <property name="buttonGroupId">
-                <number>0</number>
-            </property>
-            <property name="whatsThis" stdset="0">
-                <string>configure DSL connection</string>
+                <cstring>Button_Layout</cstring>
             </property>
+            <hbox>
+                <property name="name">
+                    <cstring>unnamed</cstring>
+                </property>
+                <property name="margin">
+                    <number>0</number>
+                </property>
+                <property name="spacing">
+                    <number>6</number>
+                </property>
+                <widget class="QPushButton">
+                    <property name="name">
+                        <cstring>help_b</cstring>
+                    </property>
+                    <property name="text">
+                        <string>&amp;Help</string>
+                    </property>
+                    <property name="toolTip" stdset="0">
+                        <string>About this program</string>
+                    </property>
+                </widget>
+                <spacer>
+                    <property name="name">
+                        <cstring>Spacer1</cstring>
+                    </property>
+                    <property name="orientation">
+                        <enum>Horizontal</enum>
+                    </property>
+                    <property name="sizeType">
+                        <enum>Expanding</enum>
+                    </property>
+                    <property name="sizeHint">
+                        <size>
+                            <width>20</width>
+                            <height>20</height>
+                        </size>
+                    </property>
+                </spacer>
+                <widget class="QPushButton">
+                    <property name="name">
+                        <cstring>next_b</cstring>
+                    </property>
+                    <property name="text">
+                        <string>&amp;Next &gt;</string>
+                    </property>
+                    <property name="toolTip" stdset="0">
+                        <string>Go to the next dialog</string>
+                    </property>
+                </widget>
+                <widget class="QPushButton">
+                    <property name="name">
+                        <cstring>exit_b</cstring>
+                    </property>
+                    <property name="text">
+                        <string>&amp;Exit</string>
+                    </property>
+                    <property name="toolTip" stdset="0">
+                        <string>Terminate this program</string>
+                    </property>
+                </widget>
+            </hbox>
         </widget>
-        <widget class="QRadioButton">
+        <widget class="QLabel" row="0" column="0">
             <property name="name">
-                <cstring>ethernet_checkb</cstring>
+                <cstring>main_logo</cstring>
             </property>
-            <property name="geometry">
-                <rect>
-                    <x>20</x>
-                    <y>30</y>
-                    <width>290</width>
-                    <height>19</height>
-                </rect>
-            </property>
-            <property name="focusPolicy">
-                <enum>TabFocus</enum>
+            <property name="sizePolicy">
+                <sizepolicy>
+                    <hsizetype>0</hsizetype>
+                    <vsizetype>1</vsizetype>
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                </sizepolicy>
             </property>
-            <property name="text">
-                <string>&amp;Ethernet / Network Card</string>
+            <property name="pixmap">
+                <pixmap>"internetconfig-logo"</pixmap>
             </property>
-            <property name="accel">
-                <string>Alt+E</string>
-            </property>
-            <property name="checked">
+            <property name="scaledContents">
                 <bool>true</bool>
             </property>
-            <property name="buttonGroupId">
-                <number>0</number>
-            </property>
-            <property name="whatsThis" stdset="0">
-                <string>Connect to the internet through a network card (not DSL)</string>
-            </property>
         </widget>
-        <widget class="QRadioButton">
+        <widget class="QButtonGroup" row="0" column="1">
             <property name="name">
-                <cstring>isdn_checkb</cstring>
-            </property>
-            <property name="geometry">
-                <rect>
-                    <x>20</x>
-                    <y>90</y>
-                    <width>290</width>
-                    <height>19</height>
-                </rect>
+                <cstring>dialup_type_gb</cstring>
             </property>
-            <property name="focusPolicy">
-                <enum>NoFocus</enum>
+            <property name="sizePolicy">
+                <sizepolicy>
+                    <hsizetype>7</hsizetype>
+                    <vsizetype>5</vsizetype>
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                </sizepolicy>
             </property>
-            <property name="text">
-                <string>&amp;ISDN</string>
+            <property name="title">
+                <string>Please choose your connection type</string>
             </property>
-            <property name="accel">
-                <string>Alt+I</string>
+            <property name="layoutMargin" stdset="0">
             </property>
-            <property name="checked">
-                <bool>false</bool>
+            <property name="layoutSpacing" stdset="0">
             </property>
-            <property name="buttonGroupId">
-                <number>0</number>
-            </property>
-            <property name="whatsThis" stdset="0">
-                <string>configure ISDN dialup connection</string>
+            <property name="toolTip" stdset="0">
+                <string></string>
             </property>
+            <vbox>
+                <property name="name">
+                    <cstring>unnamed</cstring>
+                </property>
+                <widget class="QRadioButton">
+                    <property name="name">
+                        <cstring>ethernet_checkb</cstring>
+                    </property>
+                    <property name="focusPolicy">
+                        <enum>TabFocus</enum>
+                    </property>
+                    <property name="text">
+                        <string>&amp;Ethernet / Network Card</string>
+                    </property>
+                    <property name="accel">
+                        <string>Alt+E</string>
+                    </property>
+                    <property name="checked">
+                        <bool>true</bool>
+                    </property>
+                    <property name="buttonGroupId">
+                        <number>0</number>
+                    </property>
+                    <property name="whatsThis" stdset="0">
+                        <string>Connect to the internet through a network card (not DSL)</string>
+                    </property>
+                </widget>
+                <widget class="QRadioButton">
+                    <property name="name">
+                        <cstring>adsl_checkb</cstring>
+                    </property>
+                    <property name="focusPolicy">
+                        <enum>NoFocus</enum>
+                    </property>
+                    <property name="text">
+                        <string>&amp;DSL</string>
+                    </property>
+                    <property name="accel">
+                        <string>Alt+D</string>
+                    </property>
+                    <property name="checked">
+                        <bool>false</bool>
+                    </property>
+                    <property name="buttonGroupId">
+                        <number>0</number>
+                    </property>
+                    <property name="whatsThis" stdset="0">
+                        <string>configure DSL connection</string>
+                    </property>
+                </widget>
+                <widget class="QRadioButton">
+                    <property name="name">
+                        <cstring>isdn_checkb</cstring>
+                    </property>
+                    <property name="focusPolicy">
+                        <enum>NoFocus</enum>
+                    </property>
+                    <property name="text">
+                        <string>&amp;ISDN</string>
+                    </property>
+                    <property name="accel">
+                        <string>Alt+I</string>
+                    </property>
+                    <property name="checked">
+                        <bool>false</bool>
+                    </property>
+                    <property name="buttonGroupId">
+                        <number>0</number>
+                    </property>
+                    <property name="whatsThis" stdset="0">
+                        <string>configure ISDN dialup connection</string>
+                    </property>
+                </widget>
+                <widget class="QRadioButton">
+                    <property name="name">
+                        <cstring>modem_checkb</cstring>
+                    </property>
+                    <property name="text">
+                        <string>&amp;Modem</string>
+                    </property>
+                    <property name="accel">
+                        <string>Alt+M</string>
+                    </property>
+                    <property name="buttonGroupId">
+                        <number>0</number>
+                    </property>
+                    <property name="whatsThis" stdset="0">
+                        <string>configure Modem dialup connection</string>
+                    </property>
+                </widget>
+            </vbox>
         </widget>
-    </widget>
+    </grid>
 </widget>
 <connections>
     <connection>
@@ -321,7 +267,6 @@
 </tabstops>
 <includes>
     <include location="local" impldecl="in declaration">global.h</include>
-    <include location="local" impldecl="in implementation">maindialog.ui.h</include>
 </includes>
 <forwards>
     <forward>class QRadioButton;</forward>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.