This commit is contained in:
doitux
2007-09-04 18:02:37 +00:00
parent 6e7f2c06fc
commit b6ccbc9c36
2 changed files with 85 additions and 89 deletions
+16 -1
View File
@@ -5,7 +5,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>683</width> <width>694</width>
<height>567</height> <height>567</height>
</rect> </rect>
</property> </property>
@@ -165,6 +165,18 @@
<property name="enabled" > <property name="enabled" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>270</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" > <property name="maximumSize" >
<size> <size>
<width>259</width> <width>259</width>
@@ -429,6 +441,9 @@ p, li { white-space: pre-wrap; }
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" > <property name="sizeHint" >
<size> <size>
<width>181</width> <width>181</width>
+69 -88
View File
@@ -13,24 +13,75 @@
<string>Start Network Game</string> <string>Start Network Game</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="leftMargin" > <item row="0" column="0" >
<number>9</number> <widget class="QTreeWidget" name="treeWidget" >
</property> <column>
<property name="topMargin" > <property name="text" >
<number>9</number> <string>Connected Players</string>
</property> </property>
<property name="rightMargin" > </column>
<number>9</number> </widget>
</property> </item>
<property name="bottomMargin" > <item row="1" column="0" >
<number>9</number> <widget class="QCheckBox" name="checkBox_fillUpWithComputerOpponents" >
</property> <property name="text" >
<property name="horizontalSpacing" > <string>Fill up with computer opponents</string>
<number>6</number> </property>
</property> </widget>
<property name="verticalSpacing" > </item>
<number>6</number> <item row="2" column="0" >
</property> <layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Maximum number of players:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_maxPlayerNumber" >
<property name="text" >
<string>0</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_Kick" >
<property name="text" >
<string>Kick</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0" > <item row="3" column="0" >
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox" >
<property name="title" > <property name="title" >
@@ -117,79 +168,9 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="0" column="0" >
<widget class="QTreeWidget" name="treeWidget" >
<column>
<property name="text" >
<string>Connected Players</string>
</property>
</column>
</widget>
</item>
<item row="2" column="0" >
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Maximum number of players:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_maxPlayerNumber" >
<property name="text" >
<string>0</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_Kick" >
<property name="text" >
<string>Kick</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="checkBox_fillUpWithComputerOpponents" >
<property name="text" >
<string>Fill up with computer opponents</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
<tabstop>treeWidget</tabstop>
<tabstop>pushButton_Kick</tabstop> <tabstop>pushButton_Kick</tabstop>
<tabstop>pushButton_startGame</tabstop> <tabstop>pushButton_startGame</tabstop>
<tabstop>pushButton_cancel</tabstop> <tabstop>pushButton_cancel</tabstop>