]> ruin.nu Git - hbs.git/blob - bs/ui/infoview.ui
411daeb40f27cebea0c743f69ea820dfcdee65e9
[hbs.git] / bs / ui / infoview.ui
1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
2 <class>InfoView</class>
3 <comment>A nice little widget who don't know much about the rest of the world.. ;)</comment>
4 <author>Michael Andree</author>
5 <widget class="QWidget">
6     <property name="name">
7         <cstring>InfoView</cstring>
8     </property>
9     <property name="geometry">
10         <rect>
11             <x>0</x>
12             <y>0</y>
13             <width>267</width>
14             <height>198</height>
15         </rect>
16     </property>
17     <property name="sizePolicy">
18         <sizepolicy>
19             <hsizetype>5</hsizetype>
20             <vsizetype>4</vsizetype>
21             <horstretch>0</horstretch>
22             <verstretch>0</verstretch>
23         </sizepolicy>
24     </property>
25     <property name="maximumSize">
26         <size>
27             <width>32767</width>
28             <height>200</height>
29         </size>
30     </property>
31     <property name="caption">
32         <string>Form2</string>
33     </property>
34     <grid>
35         <property name="name">
36             <cstring>unnamed</cstring>
37         </property>
38         <property name="margin">
39             <number>3</number>
40         </property>
41         <property name="spacing">
42             <number>2</number>
43         </property>
44         <widget class="QLabel" row="1" column="0">
45             <property name="name">
46                 <cstring>GroupLabel</cstring>
47             </property>
48             <property name="text">
49                 <string>&amp;Group</string>
50             </property>
51             <property name="buddy" stdset="0">
52                 <cstring>GroupCombo</cstring>
53             </property>
54         </widget>
55         <widget class="QLabel" row="0" column="0">
56             <property name="name">
57                 <cstring>BattleLabel</cstring>
58             </property>
59             <property name="text">
60                 <string>&amp;Battle</string>
61             </property>
62             <property name="buddy" stdset="0">
63                 <cstring>BattleCombo</cstring>
64             </property>
65         </widget>
66         <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">
67             <item>
68                 <property name="text">
69                     <string>Friendly</string>
70                 </property>
71             </item>
72             <item>
73                 <property name="text">
74                     <string>Hostile</string>
75                 </property>
76             </item>
77             <property name="name">
78                 <cstring>GroupCombo</cstring>
79             </property>
80         </widget>
81         <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
82             <property name="name">
83                 <cstring>BattleCombo</cstring>
84             </property>
85         </widget>
86         <widget class="QLabel" row="5" column="0">
87             <property name="name">
88                 <cstring>RaceLabel</cstring>
89             </property>
90             <property name="text">
91                 <string>&amp;Race</string>
92             </property>
93             <property name="buddy" stdset="0">
94                 <cstring>RaceCombo</cstring>
95             </property>
96         </widget>
97         <widget class="QLineEdit" row="3" column="1" rowspan="1" colspan="2">
98             <property name="name">
99                 <cstring>NameLine</cstring>
100             </property>
101         </widget>
102         <widget class="QLabel" row="3" column="0">
103             <property name="name">
104                 <cstring>NameLabel</cstring>
105             </property>
106             <property name="text">
107                 <string>&amp;Name</string>
108             </property>
109             <property name="buddy" stdset="0">
110                 <cstring>NameLine</cstring>
111             </property>
112         </widget>
113         <widget class="QComboBox" row="5" column="1" rowspan="1" colspan="2">
114             <property name="name">
115                 <cstring>RaceCombo</cstring>
116             </property>
117         </widget>
118         <widget class="QLabel" row="4" column="0">
119             <property name="name">
120                 <cstring>EtaLabel</cstring>
121             </property>
122             <property name="text">
123                 <string>&amp;Eta</string>
124             </property>
125             <property name="buddy" stdset="0">
126                 <cstring>EtaSpin</cstring>
127             </property>
128         </widget>
129         <widget class="QSpinBox" row="4" column="1" rowspan="1" colspan="2">
130             <property name="name">
131                 <cstring>EtaSpin</cstring>
132             </property>
133         </widget>
134         <spacer row="2" column="2">
135             <property name="name" stdset="0">
136                 <cstring>Spacer3</cstring>
137             </property>
138             <property name="orientation">
139                 <enum>Vertical</enum>
140             </property>
141             <property name="sizeType">
142                 <enum>Expanding</enum>
143             </property>
144             <property name="sizeHint">
145                 <size>
146                     <width>20</width>
147                     <height>20</height>
148                 </size>
149             </property>
150         </spacer>
151         <widget class="QLayoutWidget" row="7" column="0" rowspan="1" colspan="3">
152             <property name="name">
153                 <cstring>Layout13</cstring>
154             </property>
155             <hbox>
156                 <property name="name">
157                     <cstring>unnamed</cstring>
158                 </property>
159                 <property name="margin">
160                     <number>0</number>
161                 </property>
162                 <property name="spacing">
163                     <number>0</number>
164                 </property>
165                 <widget class="QPushButton">
166                     <property name="name">
167                         <cstring>ApplyButton</cstring>
168                     </property>
169                     <property name="text">
170                         <string>&amp;Apply</string>
171                     </property>
172                 </widget>
173                 <widget class="QPushButton">
174                     <property name="name">
175                         <cstring>CancelButton</cstring>
176                     </property>
177                     <property name="text">
178                         <string>&amp;Cancel</string>
179                     </property>
180                 </widget>
181                 <spacer>
182                     <property name="name" stdset="0">
183                         <cstring>Spacer1</cstring>
184                     </property>
185                     <property name="orientation">
186                         <enum>Horizontal</enum>
187                     </property>
188                     <property name="sizeType">
189                         <enum>Expanding</enum>
190                     </property>
191                     <property name="sizeHint">
192                         <size>
193                             <width>20</width>
194                             <height>20</height>
195                         </size>
196                     </property>
197                 </spacer>
198                 <widget class="QPushButton">
199                     <property name="name">
200                         <cstring>NewButton</cstring>
201                     </property>
202                     <property name="enabled">
203                         <bool>false</bool>
204                     </property>
205                     <property name="text">
206                         <string>&amp;New</string>
207                     </property>
208                 </widget>
209                 <widget class="QPushButton">
210                     <property name="name">
211                         <cstring>RemoveButton</cstring>
212                     </property>
213                     <property name="enabled">
214                         <bool>false</bool>
215                     </property>
216                     <property name="text">
217                         <string>&amp;Remove</string>
218                     </property>
219                 </widget>
220             </hbox>
221         </widget>
222         <spacer row="6" column="1">
223             <property name="name" stdset="0">
224                 <cstring>Spacer4</cstring>
225             </property>
226             <property name="orientation">
227                 <enum>Vertical</enum>
228             </property>
229             <property name="sizeType">
230                 <enum>Expanding</enum>
231             </property>
232             <property name="sizeHint">
233                 <size>
234                     <width>20</width>
235                     <height>20</height>
236                 </size>
237             </property>
238         </spacer>
239     </grid>
240 </widget>
241 <connections>
242     <connection>
243         <sender>CancelButton</sender>
244         <signal>clicked()</signal>
245         <receiver>InfoView</receiver>
246         <slot>CancelButton_clicked()</slot>
247     </connection>
248     <connection>
249         <sender>NewButton</sender>
250         <signal>clicked()</signal>
251         <receiver>InfoView</receiver>
252         <slot>NewButton_clicked()</slot>
253     </connection>
254     <connection>
255         <sender>RemoveButton</sender>
256         <signal>clicked()</signal>
257         <receiver>InfoView</receiver>
258         <slot>RemoveButton_clicked()</slot>
259     </connection>
260     <connection>
261         <sender>ApplyButton</sender>
262         <signal>clicked()</signal>
263         <receiver>InfoView</receiver>
264         <slot>ApplyButton_clicked()</slot>
265     </connection>
266 </connections>
267 <tabstops>
268     <tabstop>NameLine</tabstop>
269     <tabstop>EtaSpin</tabstop>
270     <tabstop>RaceCombo</tabstop>
271     <tabstop>ApplyButton</tabstop>
272     <tabstop>CancelButton</tabstop>
273     <tabstop>NewButton</tabstop>
274     <tabstop>RemoveButton</tabstop>
275 </tabstops>
276 <includes>
277     <include location="global" impldecl="in declaration">vector</include>
278     <include location="local" impldecl="in implementation">infoview.ui.h</include>
279 </includes>
280 <signals>
281     <signal>remove()</signal>
282     <signal>cancel()</signal>
283     <signal>apply()</signal>
284     <signal>add()</signal>
285 </signals>
286 <slots>
287     <slot>init()</slot>
288     <slot>destroy()</slot>
289     <slot>setRaces( std::vector&lt;QString&gt; races )</slot>
290     <slot>setEta( int eta )</slot>
291     <slot>setFleetName( QString name )</slot>
292     <slot>setRace( QString name )</slot>
293     <slot>InfoView_destroyed( QObject * )</slot>
294     <slot>CancelButton_clicked()</slot>
295     <slot>NewButton_clicked()</slot>
296     <slot>RemoveButton_clicked()</slot>
297     <slot>setGroup( QString s )</slot>
298     <slot>setBattles( std::vector&lt;QString&gt; battles )</slot>
299     <slot>setBattle( QString s )</slot>
300     <slot>enableNameChange( bool b )</slot>
301     <slot>enableRemove( bool b )</slot>
302     <slot>ApplyButton_clicked()</slot>
303     <slot returnType="QString">battle()</slot>
304     <slot returnType="int">eta()</slot>
305     <slot returnType="QString">fleetName()</slot>
306     <slot returnType="QString">group()</slot>
307     <slot returnType="QString">race()</slot>
308 </slots>
309 <layoutdefaults spacing="0" margin="0"/>
310 </UI>