Mercurial > repos > IBBoard.WarFoundry.GUI.QtSharp
annotate qt-gui/MainWindowLayout.ui @ 33:be876c03054f
Re #245: Create unit tab implementation
* Add stub widget
* Record which unit tabs are open
* Remove two default tabs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 07 Aug 2010 15:40:37 +0000 |
parents | 55d4f16c982b |
children |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <ui version="4.0"> | |
3 <class>MainWindowLayout</class> | |
4 <widget class="QMainWindow" name="MainWindowLayout"> | |
5 <property name="geometry"> | |
6 <rect> | |
7 <x>0</x> | |
8 <y>0</y> | |
9 <width>696</width> | |
10 <height>595</height> | |
11 </rect> | |
12 </property> | |
13 <property name="windowTitle"> | |
12
4a724378d66a
Re #247: Implement menu options in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
14 <string>WarFoundry</string> |
0 | 15 </property> |
16 <property name="windowIcon"> | |
17 <iconset> | |
18 <normaloff>../App.png</normaloff>../App.png</iconset> | |
19 </property> | |
20 <widget class="QWidget" name="mainContent"> | |
21 <layout class="QGridLayout" name="_2"> | |
22 <item row="0" column="0"> | |
23 <widget class="QSplitter" name="splitter"> | |
24 <property name="orientation"> | |
25 <enum>Qt::Horizontal</enum> | |
26 </property> | |
27 <property name="handleWidth"> | |
28 <number>6</number> | |
29 </property> | |
13
dbe784f0802c
Re #246: Create army tree implementation
IBBoard <dev@ibboard.co.uk>
parents:
12
diff
changeset
|
30 <widget class="QTreeView" name="armyTree"> |
dbe784f0802c
Re #246: Create army tree implementation
IBBoard <dev@ibboard.co.uk>
parents:
12
diff
changeset
|
31 <attribute name="headerVisible"> |
dbe784f0802c
Re #246: Create army tree implementation
IBBoard <dev@ibboard.co.uk>
parents:
12
diff
changeset
|
32 <bool>false</bool> |
dbe784f0802c
Re #246: Create army tree implementation
IBBoard <dev@ibboard.co.uk>
parents:
12
diff
changeset
|
33 </attribute> |
dbe784f0802c
Re #246: Create army tree implementation
IBBoard <dev@ibboard.co.uk>
parents:
12
diff
changeset
|
34 <attribute name="headerVisible"> |
dbe784f0802c
Re #246: Create army tree implementation
IBBoard <dev@ibboard.co.uk>
parents:
12
diff
changeset
|
35 <bool>false</bool> |
dbe784f0802c
Re #246: Create army tree implementation
IBBoard <dev@ibboard.co.uk>
parents:
12
diff
changeset
|
36 </attribute> |
dbe784f0802c
Re #246: Create army tree implementation
IBBoard <dev@ibboard.co.uk>
parents:
12
diff
changeset
|
37 </widget> |
0 | 38 <widget class="QTabWidget" name="unitTabs"> |
39 <property name="minimumSize"> | |
40 <size> | |
41 <width>500</width> | |
33
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
42 <height>200</height> |
0 | 43 </size> |
44 </property> | |
33
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
45 <property name="tabShape"> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
46 <enum>QTabWidget::Rounded</enum> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
47 </property> |
0 | 48 <property name="currentIndex"> |
33
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
49 <number>-1</number> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
50 </property> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
51 <property name="elideMode"> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
52 <enum>Qt::ElideMiddle</enum> |
0 | 53 </property> |
33
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
54 <property name="documentMode"> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
55 <bool>false</bool> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
56 </property> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
57 <property name="tabsClosable"> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
58 <bool>true</bool> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
59 </property> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
60 <property name="movable"> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
61 <bool>true</bool> |
be876c03054f
Re #245: Create unit tab implementation
IBBoard <dev@ibboard.co.uk>
parents:
26
diff
changeset
|
62 </property> |
0 | 63 </widget> |
64 </widget> | |
65 </item> | |
66 </layout> | |
67 </widget> | |
68 <widget class="QMenuBar" name="menubar"> | |
69 <property name="geometry"> | |
70 <rect> | |
71 <x>0</x> | |
72 <y>0</y> | |
73 <width>696</width> | |
26
55d4f16c982b
Fixes #250: QtSharp app doesn't always quit properly
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
74 <height>21</height> |
0 | 75 </rect> |
76 </property> | |
77 <widget class="QMenu" name="menuFile"> | |
78 <property name="title"> | |
79 <string>&file</string> | |
80 </property> | |
81 <widget class="QMenu" name="menuExportArmyAs"> | |
82 <property name="enabled"> | |
83 <bool>false</bool> | |
84 </property> | |
85 <property name="title"> | |
86 <string>export army as</string> | |
87 </property> | |
88 <addaction name="actionExportBasicHtml"/> | |
89 </widget> | |
90 <addaction name="actionCreateArmy"/> | |
91 <addaction name="actionOpenArmy"/> | |
92 <addaction name="actionSaveArmy"/> | |
93 <addaction name="actionSaveArmyAs"/> | |
94 <addaction name="menuExportArmyAs"/> | |
95 <addaction name="actionCloseArmy"/> | |
96 <addaction name="separator"/> | |
97 <addaction name="actionReloadFiles"/> | |
98 <addaction name="separator"/> | |
99 <addaction name="actionExit"/> | |
100 </widget> | |
101 <widget class="QMenu" name="menuEdit"> | |
102 <property name="title"> | |
103 <string>&edit</string> | |
104 </property> | |
105 <addaction name="actionUndo"/> | |
106 <addaction name="actionRedo"/> | |
107 </widget> | |
108 <widget class="QMenu" name="menuHelp"> | |
109 <property name="title"> | |
110 <string>&help</string> | |
111 </property> | |
112 <addaction name="actionAbout"/> | |
113 </widget> | |
114 <addaction name="menuFile"/> | |
115 <addaction name="menuEdit"/> | |
116 <addaction name="menuHelp"/> | |
117 </widget> | |
118 <widget class="QStatusBar" name="statusbar"/> | |
119 <widget class="QToolBar" name="toolBar"> | |
120 <property name="windowTitle"> | |
121 <string>toolBar</string> | |
122 </property> | |
123 <property name="toolButtonStyle"> | |
124 <enum>Qt::ToolButtonIconOnly</enum> | |
125 </property> | |
126 <attribute name="toolBarArea"> | |
127 <enum>TopToolBarArea</enum> | |
128 </attribute> | |
129 <attribute name="toolBarBreak"> | |
12
4a724378d66a
Re #247: Implement menu options in Qt# app
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
130 <bool>false</bool> |
0 | 131 </attribute> |
132 </widget> | |
133 <action name="actionCreateArmy"> | |
134 <property name="text"> | |
135 <string>&create army</string> | |
136 </property> | |
137 </action> | |
138 <action name="actionOpenArmy"> | |
139 <property name="text"> | |
140 <string>&open army</string> | |
141 </property> | |
142 </action> | |
143 <action name="actionSaveArmy"> | |
144 <property name="enabled"> | |
145 <bool>false</bool> | |
146 </property> | |
147 <property name="text"> | |
148 <string>&save army</string> | |
149 </property> | |
150 </action> | |
151 <action name="actionSaveArmyAs"> | |
152 <property name="enabled"> | |
153 <bool>false</bool> | |
154 </property> | |
155 <property name="text"> | |
156 <string>save army as</string> | |
157 </property> | |
158 </action> | |
159 <action name="actionExportBasicHtml"> | |
160 <property name="enabled"> | |
161 <bool>false</bool> | |
162 </property> | |
163 <property name="text"> | |
164 <string>&basic html</string> | |
165 </property> | |
166 </action> | |
167 <action name="actionCloseArmy"> | |
168 <property name="enabled"> | |
169 <bool>false</bool> | |
170 </property> | |
171 <property name="text"> | |
172 <string>close army</string> | |
173 </property> | |
174 </action> | |
175 <action name="actionReloadFiles"> | |
176 <property name="enabled"> | |
177 <bool>false</bool> | |
178 </property> | |
179 <property name="text"> | |
180 <string>reload files</string> | |
181 </property> | |
182 </action> | |
183 <action name="actionExit"> | |
184 <property name="text"> | |
185 <string>exit</string> | |
186 </property> | |
187 </action> | |
188 <action name="actionAbout"> | |
189 <property name="enabled"> | |
190 <bool>false</bool> | |
191 </property> | |
192 <property name="text"> | |
193 <string>&about</string> | |
194 </property> | |
195 </action> | |
196 <action name="actionUndo"> | |
197 <property name="enabled"> | |
198 <bool>false</bool> | |
199 </property> | |
200 <property name="text"> | |
201 <string>&undo</string> | |
202 </property> | |
203 </action> | |
204 <action name="actionRedo"> | |
205 <property name="enabled"> | |
206 <bool>false</bool> | |
207 </property> | |
208 <property name="text"> | |
209 <string>&redo</string> | |
210 </property> | |
211 </action> | |
212 </widget> | |
213 <resources/> | |
26
55d4f16c982b
Fixes #250: QtSharp app doesn't always quit properly
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
214 <connections/> |
0 | 215 </ui> |