Mercurial > repos > IBBoard.WarFoundry.GUI.QtSharp
annotate qt-gui/CreateNewArmyLayout.ui @ 34:c3c64e139e5f default tip
Re #245: Create unit tab implementation
* Create layout for unit tab widget
* Start to populate values
WARNING: Qyoto/Qt# seems unstable now and segfaults when new units are added!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 07 Aug 2010 16:02:53 +0000 |
parents | 7eaa8a1715e2 |
children |
rev | line source |
---|---|
3 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <ui version="4.0"> | |
3 <class>CreateNewArmyLayout</class> | |
4 <widget class="QDialog" name="CreateNewArmyLayout"> | |
8
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
5 <property name="windowModality"> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
6 <enum>Qt::WindowModal</enum> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
7 </property> |
3 | 8 <property name="geometry"> |
9 <rect> | |
10 <x>0</x> | |
11 <y>0</y> | |
12 <width>400</width> | |
13 <height>300</height> | |
14 </rect> | |
15 </property> | |
16 <property name="windowTitle"> | |
17 <string>Dialog</string> | |
18 </property> | |
19 <layout class="QGridLayout" name="gridLayout"> | |
20 <item row="4" column="2"> | |
21 <widget class="QDialogButtonBox" name="buttonBox"> | |
22 <property name="orientation"> | |
23 <enum>Qt::Horizontal</enum> | |
24 </property> | |
25 <property name="standardButtons"> | |
26 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |
27 </property> | |
28 </widget> | |
29 </item> | |
30 <item row="0" column="2"> | |
31 <widget class="QComboBox" name="gameSystems"/> | |
32 </item> | |
33 <item row="0" column="0"> | |
34 <widget class="QLabel" name="lblGameSystem"> | |
35 <property name="text"> | |
36 <string>game system:</string> | |
37 </property> | |
38 <property name="alignment"> | |
39 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |
40 </property> | |
41 </widget> | |
42 </item> | |
43 <item row="1" column="0"> | |
44 <widget class="QLabel" name="lblRace"> | |
45 <property name="text"> | |
46 <string>race:</string> | |
47 </property> | |
48 <property name="alignment"> | |
49 <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set> | |
50 </property> | |
51 </widget> | |
52 </item> | |
53 <item row="2" column="0"> | |
54 <widget class="QLabel" name="lblArmyName"> | |
55 <property name="text"> | |
6
bbf40d66dfe4
Re #242: Create Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
3
diff
changeset
|
56 <string>army name:</string> |
3 | 57 </property> |
58 <property name="alignment"> | |
59 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |
60 </property> | |
61 </widget> | |
62 </item> | |
63 <item row="3" column="0"> | |
64 <widget class="QLabel" name="lblArmySize"> | |
65 <property name="text"> | |
6
bbf40d66dfe4
Re #242: Create Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
3
diff
changeset
|
66 <string>army size:</string> |
3 | 67 </property> |
68 <property name="alignment"> | |
69 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |
70 </property> | |
71 </widget> | |
72 </item> | |
73 <item row="3" column="2"> | |
8
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
74 <widget class="QSpinBox" name="armySize"> |
27
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
75 <property name="enabled"> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
76 <bool>false</bool> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
77 </property> |
8
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
78 <property name="frame"> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
79 <bool>true</bool> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
80 </property> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
81 <property name="buttonSymbols"> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
82 <enum>QAbstractSpinBox::UpDownArrows</enum> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
83 </property> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
84 <property name="maximum"> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
85 <number>100000</number> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
86 </property> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
87 <property name="singleStep"> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
88 <number>10</number> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
89 </property> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
90 <property name="value"> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
91 <number>2000</number> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
92 </property> |
8a8735679d55
Re #243: Create "New Army" dialog in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
93 </widget> |
3 | 94 </item> |
95 <item row="2" column="2"> | |
27
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
96 <widget class="QLineEdit" name="armyName"> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
97 <property name="enabled"> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
98 <bool>false</bool> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
99 </property> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
100 </widget> |
3 | 101 </item> |
6
bbf40d66dfe4
Re #242: Create Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
3
diff
changeset
|
102 <item row="1" column="2"> |
27
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
103 <widget class="QListWidget" name="raceList"> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
104 <property name="enabled"> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
105 <bool>false</bool> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
106 </property> |
7eaa8a1715e2
Re #242: Complete initial Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
107 </widget> |
6
bbf40d66dfe4
Re #242: Create Qt# UI for WarFoundry
IBBoard <dev@ibboard.co.uk>
parents:
3
diff
changeset
|
108 </item> |
3 | 109 </layout> |
110 </widget> | |
111 <resources/> | |
112 <connections> | |
113 <connection> | |
114 <sender>buttonBox</sender> | |
115 <signal>accepted()</signal> | |
116 <receiver>CreateNewArmyLayout</receiver> | |
117 <slot>accept()</slot> | |
118 <hints> | |
119 <hint type="sourcelabel"> | |
120 <x>248</x> | |
121 <y>254</y> | |
122 </hint> | |
123 <hint type="destinationlabel"> | |
124 <x>157</x> | |
125 <y>274</y> | |
126 </hint> | |
127 </hints> | |
128 </connection> | |
129 <connection> | |
130 <sender>buttonBox</sender> | |
131 <signal>rejected()</signal> | |
132 <receiver>CreateNewArmyLayout</receiver> | |
133 <slot>reject()</slot> | |
134 <hints> | |
135 <hint type="sourcelabel"> | |
136 <x>316</x> | |
137 <y>260</y> | |
138 </hint> | |
139 <hint type="destinationlabel"> | |
140 <x>286</x> | |
141 <y>274</y> | |
142 </hint> | |
143 </hints> | |
144 </connection> | |
145 </connections> | |
146 </ui> |