Commit 60503f10 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

the dialog is still a bit ugly, but much better having a top level layout than not having one

svn path=/trunk/playground/games/ksirk/; revision=651201
parent b0e8b770
......@@ -5,141 +5,98 @@
<rect>
<x>0</x>
<y>0</y>
<width>499</width>
<height>239</height>
<width>494</width>
<height>169</height>
</rect>
</property>
<property name="windowTitle" >
<string>Player setup</string>
</property>
<property name="windowIcon" >
<iconset/>
</property>
<widget class="QComboBox" name="nationCombo" >
<property name="geometry" >
<rect>
<x>260</x>
<y>70</y>
<width>170</width>
<height>30</height>
</rect>
</property>
<property name="toolTip" >
<string>Choose your nation</string>
</property>
<property name="whatsThis" >
<string>A combo box that lists currently available nations.
<layout class="QGridLayout" >
<item row="0" column="0" colspan="3" >
<widget class="QLabel" name="TextLabel1" >
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="text" >
<string>Player number %d, please enter your name and choose your nation :</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring></cstring>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QLineEdit" name="LineEdit2" >
<property name="text" >
<string/>
</property>
<property name="maxLength" >
<number>30</number>
</property>
<property name="alignment" >
<set>Qt::AlignLeading</set>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QComboBox" name="nationCombo" >
<property name="toolTip" >
<string>Choose your nation</string>
</property>
<property name="whatsThis" >
<string>A combo box that lists currently available nations.
Choose one of them. It will be your nation during the game</string>
</property>
<property name="duplicatesEnabled" >
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="TextLabel1" >
<property name="geometry" >
<rect>
<x>10</x>
<y>10</y>
<width>424</width>
<height>51</height>
</rect>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="text" >
<string>Player number %d, please enter your name&lt;br>and choose your nation :</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
<property name="buddy" >
<cstring></cstring>
</property>
</widget>
<widget class="QCheckBox" name="CheckBox1" >
<property name="geometry" >
<rect>
<x>130</x>
<y>200</y>
<width>300</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Pla&amp;yer is computer</string>
</property>
<property name="shortcut" >
<string>Alt+Y</string>
</property>
</widget>
<widget class="QLineEdit" name="LineEdit2" >
<property name="geometry" >
<rect>
<x>10</x>
<y>70</y>
<width>220</width>
<height>29</height>
</rect>
</property>
<property name="text" >
<string/>
</property>
<property name="maxLength" >
<number>30</number>
</property>
<property name="alignment" >
<set>Qt::AlignLeading</set>
</property>
</widget>
<widget class="QLabel" name="passwordLabel" >
<property name="geometry" >
<rect>
<x>10</x>
<y>120</y>
<width>220</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Enter your password :</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="PushButton1" >
<property name="geometry" >
<rect>
<x>10</x>
<y>190</y>
<width>104</width>
<height>30</height>
</rect>
</property>
<property name="text" >
<string>OK</string>
</property>
</widget>
<widget class="QLineEdit" name="passwordEdit" >
<property name="enabled" >
<bool>true</bool>
</property>
<property name="geometry" >
<rect>
<x>10</x>
<y>150</y>
<width>220</width>
<height>24</height>
</rect>
</property>
<property name="maxLength" >
<number>8</number>
</property>
<property name="echoMode" >
<enum>QLineEdit::Password</enum>
</property>
</widget>
</property>
<property name="duplicatesEnabled" >
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QLabel" name="passwordLabel" >
<property name="text" >
<string>Enter your password :</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QLineEdit" name="passwordEdit" >
<property name="enabled" >
<bool>true</bool>
</property>
<property name="maxLength" >
<number>8</number>
</property>
<property name="echoMode" >
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QPushButton" name="PushButton1" >
<property name="text" >
<string>OK</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="2" >
<widget class="QCheckBox" name="CheckBox1" >
<property name="text" >
<string>Pla&amp;yer is computer</string>
</property>
<property name="shortcut" >
<string>Alt+Y</string>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11" />
<tabstops>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment