comparison qt-gui/CreateNewUnitLayout.ui @ 28:5ee15def17e7

Re #244: Create "New Unit" dialog in Qt# app * Add handler to feed back event (Qt widgets and events can't contain enough data) * Add actions to toolbar as army changes * Add initial "new unit" dialog by stripping down "new army" dialog
author IBBoard <dev@ibboard.co.uk>
date Sat, 31 Jul 2010 20:32:01 +0000
parents
children 246237c88b9b
comparison
equal deleted inserted replaced
27:7eaa8a1715e2 28:5ee15def17e7
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>CreateNewArmyLayout</class>
4 <widget class="QDialog" name="CreateNewArmyLayout">
5 <property name="windowModality">
6 <enum>Qt::WindowModal</enum>
7 </property>
8 <property name="geometry">
9 <rect>
10 <x>0</x>
11 <y>0</y>
12 <width>400</width>
13 <height>214</height>
14 </rect>
15 </property>
16 <property name="windowTitle">
17 <string>Dialog</string>
18 </property>
19 <layout class="QGridLayout" name="gridLayout">
20 <item row="1" 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="0">
31 <widget class="QLabel" name="lblUnitType">
32 <property name="text">
33 <string>unit type:</string>
34 </property>
35 <property name="alignment">
36 <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
37 </property>
38 </widget>
39 </item>
40 <item row="0" column="2">
41 <widget class="QListWidget" name="unitTypeList">
42 <property name="enabled">
43 <bool>false</bool>
44 </property>
45 </widget>
46 </item>
47 </layout>
48 </widget>
49 <resources/>
50 <connections>
51 <connection>
52 <sender>buttonBox</sender>
53 <signal>accepted()</signal>
54 <receiver>CreateNewArmyLayout</receiver>
55 <slot>accept()</slot>
56 <hints>
57 <hint type="sourcelabel">
58 <x>248</x>
59 <y>254</y>
60 </hint>
61 <hint type="destinationlabel">
62 <x>157</x>
63 <y>274</y>
64 </hint>
65 </hints>
66 </connection>
67 <connection>
68 <sender>buttonBox</sender>
69 <signal>rejected()</signal>
70 <receiver>CreateNewArmyLayout</receiver>
71 <slot>reject()</slot>
72 <hints>
73 <hint type="sourcelabel">
74 <x>316</x>
75 <y>260</y>
76 </hint>
77 <hint type="destinationlabel">
78 <x>286</x>
79 <y>274</y>
80 </hint>
81 </hints>
82 </connection>
83 </connections>
84 </ui>