camino-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Camino-devel] camino/src/server ServerDialogUI.ui


From: Pascal Audoux
Subject: [Camino-devel] camino/src/server ServerDialogUI.ui
Date: Sat, 25 Jan 2003 14:57:18 -0500

CVSROOT:        /cvsroot/camino
Module name:    camino
Changes by:     Pascal Audoux <address@hidden>  03/01/25 14:57:18

Modified files:
        src/server     : ServerDialogUI.ui 

Log message:
        the server dialog is now a wizard

Patches:
Index: camino/src/server/ServerDialogUI.ui
diff -u camino/src/server/ServerDialogUI.ui:1.1 
camino/src/server/ServerDialogUI.ui:1.2
--- camino/src/server/ServerDialogUI.ui:1.1     Mon Jan 20 14:46:56 2003
+++ camino/src/server/ServerDialogUI.ui Sat Jan 25 14:57:18 2003
@@ -1,6 +1,6 @@
 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
 <class>ServerDialogUI</class>
-<widget class="QDialog">
+<widget class="QWizard">
     <property name="name">
         <cstring>ServerDialogUI</cstring>
     </property>
@@ -8,112 +8,75 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>600</width>
-            <height>480</height>
+            <width>393</width>
+            <height>287</height>
         </rect>
     </property>
     <property name="caption">
-        <string>Server</string>
+        <string>Launch server</string>
     </property>
-    <widget class="QPushButton">
+    <widget class="QWidget">
         <property name="name">
-            <cstring>pushButton1</cstring>
-        </property>
-        <property name="geometry">
-            <rect>
-                <x>110</x>
-                <y>380</y>
-                <width>82</width>
-                <height>26</height>
-            </rect>
-        </property>
-        <property name="text">
-            <string>Ok</string>
-        </property>
-    </widget>
-    <widget class="QPushButton">
-        <property name="name">
-            <cstring>pushButton2</cstring>
-        </property>
-        <property name="geometry">
-            <rect>
-                <x>270</x>
-                <y>380</y>
-                <width>82</width>
-                <height>26</height>
-            </rect>
-        </property>
-        <property name="text">
-            <string>Cancel</string>
-        </property>
-    </widget>
-    <widget class="QGroupBox">
-        <property name="name">
-            <cstring>groupBox1</cstring>
-        </property>
-        <property name="geometry">
-            <rect>
-                <x>30</x>
-                <y>30</y>
-                <width>291</width>
-                <height>101</height>
-            </rect>
-        </property>
-        <property name="title">
-            <string>Game mode</string>
+            <cstring>page</cstring>
         </property>
+        <attribute name="title">
+            <string>Choose number of players</string>
+        </attribute>
         <widget class="QRadioButton">
             <property name="name">
-                <cstring>radioButton1</cstring>
+                <cstring>_2players</cstring>
             </property>
             <property name="geometry">
                 <rect>
-                    <x>30</x>
-                    <y>30</y>
+                    <x>10</x>
+                    <y>10</y>
                     <width>92</width>
                     <height>20</height>
                 </rect>
             </property>
             <property name="text">
-                <string>2-player mode</string>
+                <string>2 players</string>
             </property>
         </widget>
         <widget class="QRadioButton">
             <property name="name">
-                <cstring>radioButton2</cstring>
+                <cstring>_4players</cstring>
             </property>
             <property name="geometry">
                 <rect>
-                    <x>30</x>
-                    <y>70</y>
+                    <x>10</x>
+                    <y>40</y>
                     <width>92</width>
                     <height>20</height>
                 </rect>
             </property>
             <property name="text">
-                <string>4-player mode</string>
+                <string>4 players</string>
             </property>
         </widget>
     </widget>
-    <widget class="QGroupBox">
+    <widget class="QWidget">
         <property name="name">
-            <cstring>groupBox2</cstring>
-        </property>
-        <property name="geometry">
-            <rect>
-                <x>30</x>
-                <y>150</y>
-                <width>291</width>
-                <height>171</height>
-            </rect>
-        </property>
-        <property name="title">
-            <string>Player list</string>
+            <cstring>page</cstring>
         </property>
+        <attribute name="title">
+            <string>Wait for connections</string>
+        </attribute>
         <widget class="QListView">
             <column>
                 <property name="text">
-                    <string>Column 1</string>
+                    <string>Name</string>
+                </property>
+                <property name="clickable">
+                    <bool>true</bool>
+                </property>
+                <property name="resizable">
+                    <bool>true</bool>
+                </property>
+            </column>
+            <column>
+                <property name="text">
+                    <string>I.P.</string>
                 </property>
                 <property name="clickable">
                     <bool>true</bool>
@@ -122,24 +85,78 @@
                     <bool>true</bool>
                 </property>
             </column>
-        <item>
+            <property name="name">
+                <cstring>_playerList</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>4</x>
+                    <y>-2</y>
+                    <width>371</width>
+                    <height>211</height>
+                </rect>
+            </property>
+            <property name="frameShape">
+                <enum>WinPanel</enum>
+            </property>
+            <property name="frameShadow">
+                <enum>Plain</enum>
+            </property>
+        </widget>
+    </widget>
+    <widget class="QWidget">
+        <property name="name">
+            <cstring>page</cstring>
+        </property>
+        <attribute name="title">
+            <string>Choose teams</string>
+        </attribute>
+        <widget class="QRadioButton">
+            <property name="name">
+                <cstring>_team3</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>10</x>
+                    <y>90</y>
+                    <width>360</width>
+                    <height>20</height>
+                </rect>
+            </property>
             <property name="text">
-                <string>New Item</string>
+                <string>Team 3</string>
             </property>
-            <property name="pixmap">
-                <pixmap></pixmap>
+        </widget>
+        <widget class="QRadioButton">
+            <property name="name">
+                <cstring>_team2</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>10</x>
+                    <y>50</y>
+                    <width>360</width>
+                    <height>20</height>
+                </rect>
             </property>
-        </item>
+            <property name="text">
+                <string>Team 2</string>
+            </property>
+        </widget>
+        <widget class="QRadioButton">
             <property name="name">
-                <cstring>listView1</cstring>
+                <cstring>_team1</cstring>
             </property>
             <property name="geometry">
                 <rect>
-                    <x>11</x>
-                    <y>21</y>
-                    <width>260</width>
-                    <height>130</height>
+                    <x>10</x>
+                    <y>10</y>
+                    <width>360</width>
+                    <height>20</height>
                 </rect>
+            </property>
+            <property name="text">
+                <string>Team 1</string>
             </property>
         </widget>
     </widget>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]