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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 <ui version="4.0">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 <class>CreateNewArmyLayout</class>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 <property name="geometry">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 <rect>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 <x>0</x>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 <y>0</y>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <width>400</width>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <height>300</height>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 </rect>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <property name="windowTitle">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <string>Dialog</string>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <layout class="QGridLayout" name="gridLayout">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <item row="4" column="2">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 <widget class="QDialogButtonBox" name="buttonBox">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 <property name="orientation">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <enum>Qt::Horizontal</enum>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 <property name="standardButtons">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 </widget>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 </item>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 <item row="0" column="2">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 <widget class="QComboBox" name="gameSystems"/>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 </item>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 <item row="0" column="0">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 <widget class="QLabel" name="lblGameSystem">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 <property name="text">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 <string>game system:</string>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 <property name="alignment">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 </widget>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 </item>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 <item row="1" column="0">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 <widget class="QLabel" name="lblRace">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 <property name="text">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 <string>race:</string>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 <property name="alignment">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 </widget>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 </item>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 <item row="2" column="0">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 <widget class="QLabel" name="lblArmyName">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 <property name="alignment">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 </widget>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 </item>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 <item row="3" column="0">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 <widget class="QLabel" name="lblArmySize">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 <property name="alignment">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 </property>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 </widget>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 </item>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 </item>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 </layout>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 </widget>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 <resources/>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 <connections>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 <connection>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 <sender>buttonBox</sender>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 <signal>accepted()</signal>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 <receiver>CreateNewArmyLayout</receiver>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 <slot>accept()</slot>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 <hints>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 <hint type="sourcelabel">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 <x>248</x>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 <y>254</y>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 </hint>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 <hint type="destinationlabel">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 <x>157</x>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 <y>274</y>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 </hint>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 </hints>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 </connection>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 <connection>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130 <sender>buttonBox</sender>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
131 <signal>rejected()</signal>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 <receiver>CreateNewArmyLayout</receiver>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 <slot>reject()</slot>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134 <hints>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 <hint type="sourcelabel">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
136 <x>316</x>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 <y>260</y>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 </hint>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 <hint type="destinationlabel">
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 <x>286</x>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
141 <y>274</y>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 </hint>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143 </hints>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 </connection>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 </connections>
ac1bf60edf63 Re #242: Qt# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 </ui>