1 | <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
---|
2 | <class>VBoxDiskImageManagerDlg</class>
|
---|
3 | <comment>
|
---|
4 | :mode=html:tabSize=4:indentSize=4:noTabs=true:
|
---|
5 | :folding=explicit:collapseFolds=1:
|
---|
6 |
|
---|
7 | Copyright (C) 2006-2007 innotek GmbH
|
---|
8 |
|
---|
9 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | available from http://www.virtualbox.org. This file is free software;
|
---|
11 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | General Public License (GPL) as published by the Free Software
|
---|
13 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | </comment>
|
---|
17 | <widget class="QMainWindow">
|
---|
18 | <property name="name">
|
---|
19 | <cstring>VBoxDiskImageManagerDlg</cstring>
|
---|
20 | </property>
|
---|
21 | <property name="geometry">
|
---|
22 | <rect>
|
---|
23 | <x>0</x>
|
---|
24 | <y>0</y>
|
---|
25 | <width>620</width>
|
---|
26 | <height>460</height>
|
---|
27 | </rect>
|
---|
28 | </property>
|
---|
29 | <property name="minimumSize">
|
---|
30 | <size>
|
---|
31 | <width>289</width>
|
---|
32 | <height>178</height>
|
---|
33 | </size>
|
---|
34 | </property>
|
---|
35 | <property name="caption">
|
---|
36 | <string>Virtual Disk Manager</string>
|
---|
37 | </property>
|
---|
38 | <vbox>
|
---|
39 | <property name="name">
|
---|
40 | <cstring>unnamed</cstring>
|
---|
41 | </property>
|
---|
42 | <property name="margin">
|
---|
43 | <number>3</number>
|
---|
44 | </property>
|
---|
45 | <property name="spacing">
|
---|
46 | <number>5</number>
|
---|
47 | </property>
|
---|
48 | <widget class="QLayoutWidget">
|
---|
49 | <property name="name">
|
---|
50 | <cstring>layout2</cstring>
|
---|
51 | </property>
|
---|
52 | <vbox>
|
---|
53 | <property name="name">
|
---|
54 | <cstring>unnamed</cstring>
|
---|
55 | </property>
|
---|
56 | <property name="margin">
|
---|
57 | <number>7</number>
|
---|
58 | </property>
|
---|
59 | <widget class="QTabWidget">
|
---|
60 | <property name="name">
|
---|
61 | <cstring>twImages</cstring>
|
---|
62 | </property>
|
---|
63 | <property name="sizePolicy">
|
---|
64 | <sizepolicy>
|
---|
65 | <hsizetype>5</hsizetype>
|
---|
66 | <vsizetype>7</vsizetype>
|
---|
67 | <horstretch>0</horstretch>
|
---|
68 | <verstretch>0</verstretch>
|
---|
69 | </sizepolicy>
|
---|
70 | </property>
|
---|
71 | <widget class="QWidget">
|
---|
72 | <property name="name">
|
---|
73 | <cstring>tab</cstring>
|
---|
74 | </property>
|
---|
75 | <attribute name="title">
|
---|
76 | <string>&Hard Disks</string>
|
---|
77 | </attribute>
|
---|
78 | <vbox>
|
---|
79 | <property name="name">
|
---|
80 | <cstring>unnamed</cstring>
|
---|
81 | </property>
|
---|
82 | <widget class="QListView">
|
---|
83 | <column>
|
---|
84 | <property name="text">
|
---|
85 | <string>Name</string>
|
---|
86 | </property>
|
---|
87 | <property name="clickable">
|
---|
88 | <bool>true</bool>
|
---|
89 | </property>
|
---|
90 | <property name="resizable">
|
---|
91 | <bool>true</bool>
|
---|
92 | </property>
|
---|
93 | </column>
|
---|
94 | <column>
|
---|
95 | <property name="text">
|
---|
96 | <string>Virtual Size</string>
|
---|
97 | </property>
|
---|
98 | <property name="clickable">
|
---|
99 | <bool>true</bool>
|
---|
100 | </property>
|
---|
101 | <property name="resizable">
|
---|
102 | <bool>true</bool>
|
---|
103 | </property>
|
---|
104 | </column>
|
---|
105 | <column>
|
---|
106 | <property name="text">
|
---|
107 | <string>Actual Size</string>
|
---|
108 | </property>
|
---|
109 | <property name="clickable">
|
---|
110 | <bool>true</bool>
|
---|
111 | </property>
|
---|
112 | <property name="resizable">
|
---|
113 | <bool>true</bool>
|
---|
114 | </property>
|
---|
115 | </column>
|
---|
116 | <property name="name">
|
---|
117 | <cstring>hdsView</cstring>
|
---|
118 | </property>
|
---|
119 | <property name="acceptDrops">
|
---|
120 | <bool>true</bool>
|
---|
121 | </property>
|
---|
122 | <property name="hScrollBarMode">
|
---|
123 | <enum>AlwaysOff</enum>
|
---|
124 | </property>
|
---|
125 | <property name="dragAutoScroll">
|
---|
126 | <bool>false</bool>
|
---|
127 | </property>
|
---|
128 | <property name="allColumnsShowFocus">
|
---|
129 | <bool>true</bool>
|
---|
130 | </property>
|
---|
131 | <property name="rootIsDecorated">
|
---|
132 | <bool>true</bool>
|
---|
133 | </property>
|
---|
134 | <property name="resizeMode">
|
---|
135 | <enum>AllColumns</enum>
|
---|
136 | </property>
|
---|
137 | <property name="whatsThis" stdset="0">
|
---|
138 | <string></string>
|
---|
139 | </property>
|
---|
140 | </widget>
|
---|
141 | <widget class="QFrame">
|
---|
142 | <property name="name">
|
---|
143 | <cstring>hdsContainer</cstring>
|
---|
144 | </property>
|
---|
145 | <property name="frameShape">
|
---|
146 | <enum>Box</enum>
|
---|
147 | </property>
|
---|
148 | <property name="frameShadow">
|
---|
149 | <enum>Sunken</enum>
|
---|
150 | </property>
|
---|
151 | </widget>
|
---|
152 | </vbox>
|
---|
153 | </widget>
|
---|
154 | <widget class="QWidget">
|
---|
155 | <property name="name">
|
---|
156 | <cstring>tab</cstring>
|
---|
157 | </property>
|
---|
158 | <attribute name="title">
|
---|
159 | <string>&CD/DVD Images</string>
|
---|
160 | </attribute>
|
---|
161 | <vbox>
|
---|
162 | <property name="name">
|
---|
163 | <cstring>unnamed</cstring>
|
---|
164 | </property>
|
---|
165 | <widget class="QListView">
|
---|
166 | <column>
|
---|
167 | <property name="text">
|
---|
168 | <string>Name</string>
|
---|
169 | </property>
|
---|
170 | <property name="clickable">
|
---|
171 | <bool>true</bool>
|
---|
172 | </property>
|
---|
173 | <property name="resizable">
|
---|
174 | <bool>true</bool>
|
---|
175 | </property>
|
---|
176 | </column>
|
---|
177 | <column>
|
---|
178 | <property name="text">
|
---|
179 | <string>Size</string>
|
---|
180 | </property>
|
---|
181 | <property name="clickable">
|
---|
182 | <bool>true</bool>
|
---|
183 | </property>
|
---|
184 | <property name="resizable">
|
---|
185 | <bool>true</bool>
|
---|
186 | </property>
|
---|
187 | </column>
|
---|
188 | <property name="name">
|
---|
189 | <cstring>cdsView</cstring>
|
---|
190 | </property>
|
---|
191 | <property name="acceptDrops">
|
---|
192 | <bool>true</bool>
|
---|
193 | </property>
|
---|
194 | <property name="hScrollBarMode">
|
---|
195 | <enum>AlwaysOff</enum>
|
---|
196 | </property>
|
---|
197 | <property name="dragAutoScroll">
|
---|
198 | <bool>false</bool>
|
---|
199 | </property>
|
---|
200 | <property name="allColumnsShowFocus">
|
---|
201 | <bool>true</bool>
|
---|
202 | </property>
|
---|
203 | <property name="rootIsDecorated">
|
---|
204 | <bool>true</bool>
|
---|
205 | </property>
|
---|
206 | <property name="resizeMode">
|
---|
207 | <enum>AllColumns</enum>
|
---|
208 | </property>
|
---|
209 | <property name="whatsThis" stdset="0">
|
---|
210 | <string></string>
|
---|
211 | </property>
|
---|
212 | </widget>
|
---|
213 | <widget class="QFrame">
|
---|
214 | <property name="name">
|
---|
215 | <cstring>cdsContainer</cstring>
|
---|
216 | </property>
|
---|
217 | <property name="frameShape">
|
---|
218 | <enum>Box</enum>
|
---|
219 | </property>
|
---|
220 | <property name="frameShadow">
|
---|
221 | <enum>Sunken</enum>
|
---|
222 | </property>
|
---|
223 | </widget>
|
---|
224 | </vbox>
|
---|
225 | </widget>
|
---|
226 | <widget class="QWidget">
|
---|
227 | <property name="name">
|
---|
228 | <cstring>TabPage</cstring>
|
---|
229 | </property>
|
---|
230 | <attribute name="title">
|
---|
231 | <string>&Floppy Images</string>
|
---|
232 | </attribute>
|
---|
233 | <vbox>
|
---|
234 | <property name="name">
|
---|
235 | <cstring>unnamed</cstring>
|
---|
236 | </property>
|
---|
237 | <widget class="QListView">
|
---|
238 | <column>
|
---|
239 | <property name="text">
|
---|
240 | <string>Name</string>
|
---|
241 | </property>
|
---|
242 | <property name="clickable">
|
---|
243 | <bool>true</bool>
|
---|
244 | </property>
|
---|
245 | <property name="resizable">
|
---|
246 | <bool>true</bool>
|
---|
247 | </property>
|
---|
248 | </column>
|
---|
249 | <column>
|
---|
250 | <property name="text">
|
---|
251 | <string>Size</string>
|
---|
252 | </property>
|
---|
253 | <property name="clickable">
|
---|
254 | <bool>true</bool>
|
---|
255 | </property>
|
---|
256 | <property name="resizable">
|
---|
257 | <bool>true</bool>
|
---|
258 | </property>
|
---|
259 | </column>
|
---|
260 | <property name="name">
|
---|
261 | <cstring>fdsView</cstring>
|
---|
262 | </property>
|
---|
263 | <property name="acceptDrops">
|
---|
264 | <bool>true</bool>
|
---|
265 | </property>
|
---|
266 | <property name="hScrollBarMode">
|
---|
267 | <enum>AlwaysOff</enum>
|
---|
268 | </property>
|
---|
269 | <property name="dragAutoScroll">
|
---|
270 | <bool>false</bool>
|
---|
271 | </property>
|
---|
272 | <property name="allColumnsShowFocus">
|
---|
273 | <bool>true</bool>
|
---|
274 | </property>
|
---|
275 | <property name="rootIsDecorated">
|
---|
276 | <bool>true</bool>
|
---|
277 | </property>
|
---|
278 | <property name="resizeMode">
|
---|
279 | <enum>AllColumns</enum>
|
---|
280 | </property>
|
---|
281 | <property name="whatsThis" stdset="0">
|
---|
282 | <string></string>
|
---|
283 | </property>
|
---|
284 | </widget>
|
---|
285 | <widget class="QFrame">
|
---|
286 | <property name="name">
|
---|
287 | <cstring>fdsContainer</cstring>
|
---|
288 | </property>
|
---|
289 | <property name="frameShape">
|
---|
290 | <enum>Box</enum>
|
---|
291 | </property>
|
---|
292 | <property name="frameShadow">
|
---|
293 | <enum>Sunken</enum>
|
---|
294 | </property>
|
---|
295 | </widget>
|
---|
296 | </vbox>
|
---|
297 | </widget>
|
---|
298 | </widget>
|
---|
299 | <widget class="QLayoutWidget">
|
---|
300 | <property name="name">
|
---|
301 | <cstring>buttonLayout</cstring>
|
---|
302 | </property>
|
---|
303 | <hbox>
|
---|
304 | <property name="name">
|
---|
305 | <cstring>unnamed</cstring>
|
---|
306 | </property>
|
---|
307 | <widget class="QPushButton">
|
---|
308 | <property name="name">
|
---|
309 | <cstring>buttonHelp</cstring>
|
---|
310 | </property>
|
---|
311 | <property name="text">
|
---|
312 | <string>Help</string>
|
---|
313 | </property>
|
---|
314 | <property name="accel">
|
---|
315 | <string>F1</string>
|
---|
316 | </property>
|
---|
317 | <property name="autoDefault">
|
---|
318 | <bool>true</bool>
|
---|
319 | </property>
|
---|
320 | <property name="whatsThis" stdset="0">
|
---|
321 | <string>Invoke dialog's help</string>
|
---|
322 | </property>
|
---|
323 | </widget>
|
---|
324 | <spacer>
|
---|
325 | <property name="name">
|
---|
326 | <cstring>Spacer1</cstring>
|
---|
327 | </property>
|
---|
328 | <property name="orientation">
|
---|
329 | <enum>Horizontal</enum>
|
---|
330 | </property>
|
---|
331 | <property name="sizeType">
|
---|
332 | <enum>Expanding</enum>
|
---|
333 | </property>
|
---|
334 | <property name="sizeHint">
|
---|
335 | <size>
|
---|
336 | <width>214</width>
|
---|
337 | <height>16</height>
|
---|
338 | </size>
|
---|
339 | </property>
|
---|
340 | </spacer>
|
---|
341 | <spacer>
|
---|
342 | <property name="name">
|
---|
343 | <cstring>Spacer2</cstring>
|
---|
344 | </property>
|
---|
345 | <property name="orientation">
|
---|
346 | <enum>Horizontal</enum>
|
---|
347 | </property>
|
---|
348 | <property name="sizeType">
|
---|
349 | <enum>Expanding</enum>
|
---|
350 | </property>
|
---|
351 | <property name="sizeHint">
|
---|
352 | <size>
|
---|
353 | <width>214</width>
|
---|
354 | <height>16</height>
|
---|
355 | </size>
|
---|
356 | </property>
|
---|
357 | </spacer>
|
---|
358 | <widget class="QPushButton">
|
---|
359 | <property name="name">
|
---|
360 | <cstring>buttonOk</cstring>
|
---|
361 | </property>
|
---|
362 | <property name="text">
|
---|
363 | <string>&OK</string>
|
---|
364 | </property>
|
---|
365 | <property name="autoDefault">
|
---|
366 | <bool>true</bool>
|
---|
367 | </property>
|
---|
368 | <property name="default">
|
---|
369 | <bool>true</bool>
|
---|
370 | </property>
|
---|
371 | <property name="whatsThis" stdset="0">
|
---|
372 | <string>Accept dialog</string>
|
---|
373 | </property>
|
---|
374 | </widget>
|
---|
375 | <widget class="QPushButton">
|
---|
376 | <property name="name">
|
---|
377 | <cstring>buttonCancel</cstring>
|
---|
378 | </property>
|
---|
379 | <property name="text">
|
---|
380 | <string>Cancel</string>
|
---|
381 | </property>
|
---|
382 | <property name="autoDefault">
|
---|
383 | <bool>true</bool>
|
---|
384 | </property>
|
---|
385 | <property name="whatsThis" stdset="0">
|
---|
386 | <string>Cancel dialog</string>
|
---|
387 | </property>
|
---|
388 | </widget>
|
---|
389 | </hbox>
|
---|
390 | </widget>
|
---|
391 | </vbox>
|
---|
392 | </widget>
|
---|
393 | </vbox>
|
---|
394 | </widget>
|
---|
395 | <toolbars>
|
---|
396 | </toolbars>
|
---|
397 | <connections>
|
---|
398 | <connection>
|
---|
399 | <sender>buttonOk</sender>
|
---|
400 | <signal>clicked()</signal>
|
---|
401 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
402 | <slot>accept()</slot>
|
---|
403 | </connection>
|
---|
404 | <connection>
|
---|
405 | <sender>buttonCancel</sender>
|
---|
406 | <signal>clicked()</signal>
|
---|
407 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
408 | <slot>reject()</slot>
|
---|
409 | </connection>
|
---|
410 | <connection>
|
---|
411 | <sender>hdsView</sender>
|
---|
412 | <signal>currentChanged(QListViewItem*)</signal>
|
---|
413 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
414 | <slot>processCurrentChanged(QListViewItem*)</slot>
|
---|
415 | </connection>
|
---|
416 | <connection>
|
---|
417 | <sender>cdsView</sender>
|
---|
418 | <signal>currentChanged(QListViewItem*)</signal>
|
---|
419 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
420 | <slot>processCurrentChanged(QListViewItem*)</slot>
|
---|
421 | </connection>
|
---|
422 | <connection>
|
---|
423 | <sender>fdsView</sender>
|
---|
424 | <signal>currentChanged(QListViewItem*)</signal>
|
---|
425 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
426 | <slot>processCurrentChanged(QListViewItem*)</slot>
|
---|
427 | </connection>
|
---|
428 | <connection>
|
---|
429 | <sender>hdsView</sender>
|
---|
430 | <signal>pressed(QListViewItem*)</signal>
|
---|
431 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
432 | <slot>processPressed(QListViewItem*)</slot>
|
---|
433 | </connection>
|
---|
434 | <connection>
|
---|
435 | <sender>cdsView</sender>
|
---|
436 | <signal>pressed(QListViewItem*)</signal>
|
---|
437 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
438 | <slot>processPressed(QListViewItem*)</slot>
|
---|
439 | </connection>
|
---|
440 | <connection>
|
---|
441 | <sender>fdsView</sender>
|
---|
442 | <signal>pressed(QListViewItem*)</signal>
|
---|
443 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
444 | <slot>processPressed(QListViewItem*)</slot>
|
---|
445 | </connection>
|
---|
446 | <connection>
|
---|
447 | <sender>hdsView</sender>
|
---|
448 | <signal>doubleClicked(QListViewItem*)</signal>
|
---|
449 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
450 | <slot>processDoubleClick(QListViewItem*)</slot>
|
---|
451 | </connection>
|
---|
452 | <connection>
|
---|
453 | <sender>cdsView</sender>
|
---|
454 | <signal>doubleClicked(QListViewItem*)</signal>
|
---|
455 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
456 | <slot>processDoubleClick(QListViewItem*)</slot>
|
---|
457 | </connection>
|
---|
458 | <connection>
|
---|
459 | <sender>fdsView</sender>
|
---|
460 | <signal>doubleClicked(QListViewItem*)</signal>
|
---|
461 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
462 | <slot>processDoubleClick(QListViewItem*)</slot>
|
---|
463 | </connection>
|
---|
464 | <connection>
|
---|
465 | <sender>hdsView</sender>
|
---|
466 | <signal>contextMenuRequested(QListViewItem*,const QPoint&,int)</signal>
|
---|
467 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
468 | <slot>invokePopup(QListViewItem*,const QPoint&,int)</slot>
|
---|
469 | </connection>
|
---|
470 | <connection>
|
---|
471 | <sender>cdsView</sender>
|
---|
472 | <signal>contextMenuRequested(QListViewItem*,const QPoint&,int)</signal>
|
---|
473 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
474 | <slot>invokePopup(QListViewItem*,const QPoint&,int)</slot>
|
---|
475 | </connection>
|
---|
476 | <connection>
|
---|
477 | <sender>fdsView</sender>
|
---|
478 | <signal>contextMenuRequested(QListViewItem*,const QPoint&,int)</signal>
|
---|
479 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
480 | <slot>invokePopup(QListViewItem*,const QPoint&,int)</slot>
|
---|
481 | </connection>
|
---|
482 | <connection>
|
---|
483 | <sender>twImages</sender>
|
---|
484 | <signal>currentChanged(QWidget*)</signal>
|
---|
485 | <receiver>VBoxDiskImageManagerDlg</receiver>
|
---|
486 | <slot>processCurrentChanged()</slot>
|
---|
487 | </connection>
|
---|
488 | <connection>
|
---|
489 | <sender>buttonHelp</sender>
|
---|
490 | <signal>clicked()</signal>
|
---|
491 | <receiver>&vboxProblem()</receiver>
|
---|
492 | <slot>showHelpHelpDialog()</slot>
|
---|
493 | </connection>
|
---|
494 | </connections>
|
---|
495 | <includes>
|
---|
496 | <include location="global" impldecl="in implementation">qapplication.h</include>
|
---|
497 | <include location="global" impldecl="in implementation">qprogressdialog.h</include>
|
---|
498 | <include location="global" impldecl="in implementation">qfocusdata.h</include>
|
---|
499 | <include location="global" impldecl="in implementation">qobjectlist.h</include>
|
---|
500 | <include location="global" impldecl="in implementation">qdragobject.h</include>
|
---|
501 | <include location="global" impldecl="in implementation">qaction.h</include>
|
---|
502 | <include location="global" impldecl="in implementation">qpopupmenu.h</include>
|
---|
503 | <include location="global" impldecl="in implementation">qeventloop.h</include>
|
---|
504 | <include location="global" impldecl="in implementation">qstatusbar.h</include>
|
---|
505 | <include location="global" impldecl="in implementation">qsizegrip.h</include>
|
---|
506 | <include location="global" impldecl="in implementation">qlocale.h</include>
|
---|
507 | <include location="global" impldecl="in implementation">qregexp.h</include>
|
---|
508 | <include location="global" impldecl="in implementation">qpainter.h</include>
|
---|
509 | <include location="global" impldecl="in implementation">qprogressbar.h</include>
|
---|
510 | <include location="global" impldecl="in declaration">qvaluelist.h</include>
|
---|
511 | <include location="local" impldecl="in declaration">COMDefs.h</include>
|
---|
512 | <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
|
---|
513 | <include location="local" impldecl="in declaration">VBoxProblemReporter.h</include>
|
---|
514 | <include location="local" impldecl="in implementation">VBoxDefs.h</include>
|
---|
515 | <include location="local" impldecl="in implementation">VBoxNewHDWzd.h</include>
|
---|
516 | <include location="local" impldecl="in implementation">VBoxToolBar.h</include>
|
---|
517 | <include location="local" impldecl="in implementation">QIRichLabel.h</include>
|
---|
518 | </includes>
|
---|
519 | <forwards>
|
---|
520 | <forward>class DiskImageItem</forward>
|
---|
521 | <forward>class VBoxToolBar</forward>
|
---|
522 | <forward>class QSizeGrip</forward>
|
---|
523 | <forward>class InfoPaneLabel</forward>
|
---|
524 | <forward>class QProgressBar</forward>
|
---|
525 | </forwards>
|
---|
526 | <variables>
|
---|
527 | <variable access="public">enum ResultCode { Rejected, Accepted };</variable>
|
---|
528 | <variable access="private">bool polished;</variable>
|
---|
529 | <variable access="private">CVirtualBox vbox;</variable>
|
---|
530 | <variable access="private">int type;</variable>
|
---|
531 | <variable access="private">bool doSelect;</variable>
|
---|
532 | <variable access="private">QUuid targetVMId;</variable>
|
---|
533 | <variable access="private">QPixmap pxInaccessible;</variable>
|
---|
534 | <variable access="private">QPixmap pxErroneous;</variable>
|
---|
535 | <variable access="private">QIconSet pxHD;</variable>
|
---|
536 | <variable access="private">QIconSet pxCD;</variable>
|
---|
537 | <variable access="private">QIconSet pxFD;</variable>
|
---|
538 | <variable access="private">CMachine cmachine;</variable>
|
---|
539 | <variable access="private">QPopupMenu *itemMenu;</variable>
|
---|
540 | <variable access="private">VBoxToolBar *toolBar;</variable>
|
---|
541 | <variable access="private">int mRescode;</variable>
|
---|
542 | <variable access="private">bool mInLoop;</variable>
|
---|
543 | <variable access="private">QAction *imNewAction;</variable>
|
---|
544 | <variable access="private">QAction *imAddAction;</variable>
|
---|
545 | <variable access="private">QAction *imEditAction;</variable>
|
---|
546 | <variable access="private">QAction *imRemoveAction;</variable>
|
---|
547 | <variable access="private">QAction *imReleaseAction;</variable>
|
---|
548 | <variable access="private">QAction *imRefreshAction;</variable>
|
---|
549 | <variable access="private">InfoPaneLabel *hdsPane1;</variable>
|
---|
550 | <variable access="private">InfoPaneLabel *hdsPane2;</variable>
|
---|
551 | <variable access="private">InfoPaneLabel *hdsPane3;</variable>
|
---|
552 | <variable access="private">InfoPaneLabel *hdsPane4;</variable>
|
---|
553 | <variable access="private">InfoPaneLabel *hdsPane5;</variable>
|
---|
554 | <variable access="private">InfoPaneLabel *hdsPane6;</variable>
|
---|
555 | <variable access="private">InfoPaneLabel *hdsPane7;</variable>
|
---|
556 | <variable access="private">InfoPaneLabel *cdsPane1;</variable>
|
---|
557 | <variable access="private">InfoPaneLabel *cdsPane2;</variable>
|
---|
558 | <variable access="private">InfoPaneLabel *fdsPane1;</variable>
|
---|
559 | <variable access="private">InfoPaneLabel *fdsPane2;</variable>
|
---|
560 | <variable>QSizeGrip *sizeGrip;</variable>
|
---|
561 | <variable>QPushButton *defaultButton;</variable>
|
---|
562 | <variable access="private">static VBoxDiskImageManagerDlg *mModelessDialog;</variable>
|
---|
563 | <variable access="private">QProgressBar *mProgressBar;</variable>
|
---|
564 | <variable access="private">QLabel *mProgressText;</variable>
|
---|
565 | <variable access="private">QUuid hdSelectedId;</variable>
|
---|
566 | <variable access="private">QUuid cdSelectedId;</variable>
|
---|
567 | <variable access="private">QUuid fdSelectedId;</variable>
|
---|
568 | </variables>
|
---|
569 | <slots>
|
---|
570 | <slot access="protected">mediaEnumStarted()</slot>
|
---|
571 | <slot access="protected">mediaEnumerated( const VBoxMedia &, int )</slot>
|
---|
572 | <slot access="protected">mediaEnumFinished( const VBoxMediaList & )</slot>
|
---|
573 | <slot access="protected">mediaAdded( const VBoxMedia & )</slot>
|
---|
574 | <slot access="protected">mediaUpdated( const VBoxMedia & )</slot>
|
---|
575 | <slot access="protected">mediaRemoved( VBoxDefs::DiskType, const QUuid & )</slot>
|
---|
576 | <slot access="protected">machineStateChanged( const VBoxMachineStateChangeEvent & )</slot>
|
---|
577 | <slot>refreshAll()</slot>
|
---|
578 | <slot access="protected">processCurrentChanged( QListViewItem * item )</slot>
|
---|
579 | <slot access="protected">processPressed( QListViewItem * item )</slot>
|
---|
580 | <slot access="protected">newImage()</slot>
|
---|
581 | <slot access="protected">addImage()</slot>
|
---|
582 | <slot access="protected">removeImage()</slot>
|
---|
583 | <slot access="protected">processDoubleClick( QListViewItem * item )</slot>
|
---|
584 | <slot access="protected">releaseImage()</slot>
|
---|
585 | <slot access="protected">invokePopup( QListViewItem * item, const QPoint & pos, int col )</slot>
|
---|
586 | <slot access="protected">processCurrentChanged()</slot>
|
---|
587 | <slot access="protected">accept()</slot>
|
---|
588 | <slot access="protected">reject()</slot>
|
---|
589 | <slot access="protected">mouseOnItem( QListViewItem *item )</slot>
|
---|
590 | </slots>
|
---|
591 | <functions>
|
---|
592 | <function access="private">init()</function>
|
---|
593 | <function access="private" returnType="int">result()</function>
|
---|
594 | <function access="private">setResult( int )</function>
|
---|
595 | <function returnType="int">exec()</function>
|
---|
596 | <function access="private">done( int )</function>
|
---|
597 | <function access="private" returnType="DiskImageItem*">searchItem( QListView*, const QUuid & )</function>
|
---|
598 | <function access="private" returnType="DiskImageItem*">searchItem( QListView*, VBoxMedia::Status )</function>
|
---|
599 | <function specifier="static" access="private" returnType="QString">getDVDImageUsage( const QUuid & aId, QString & aSnapshotUsage )</function>
|
---|
600 | <function specifier="static" access="private" returnType="QString">getFloppyImageUsage( const QUuid & aId, QString & aSnapshotUsage )</function>
|
---|
601 | <function specifier="static" access="private">getDVDImageSnapshotUsage( const QUuid & aImageId, const CSnapshot & aSnapshot, QString & aUsage )</function>
|
---|
602 | <function specifier="static" access="private">getFloppyImageSnapshotUsage( const QUuid & aImageId, const CSnapshot & aSnapshot, QString & aUsage )</function>
|
---|
603 | <function access="private" returnType="bool">checkImage( DiskImageItem* item )</function>
|
---|
604 | <function access="private">releaseDisk( QUuid machineId, QUuid itemId, VBoxDefs::DiskType diskType )</function>
|
---|
605 | <function returnType="QUuid">getSelectedUuid()</function>
|
---|
606 | <function returnType="QString">getSelectedPath()</function>
|
---|
607 | <function>setup( int aType, bool aDoSelect, const QUuid *aTargetVMId = NULL, bool aRefresh = true, CMachine machine = NULL, const QUuid & aHdId = QUuid(), const QUuid & aCdId = QUuid(), const QUuid & aFdId = QUuid() )</function>
|
---|
608 | <function access="private" returnType="QListView*">getCurrentListView()</function>
|
---|
609 | <function access="private" returnType="QListView*">getListView( VBoxDefs::DiskType )</function>
|
---|
610 | <function returnType="bool">eventFilter( QObject *, QEvent * )</function>
|
---|
611 | <function access="private">addDroppedImages( QStringList* )</function>
|
---|
612 | <function access="private">addImageToList( const QString & aSource, VBoxDefs::DiskType aDiskType )</function>
|
---|
613 | <function access="private" returnType="DiskImageItem*">createImageNode( QListView *aList, DiskImageItem *aRoot, const VBoxMedia & )</function>
|
---|
614 | <function access="private">updateHdItem( DiskImageItem*, const VBoxMedia & )</function>
|
---|
615 | <function access="private">updateCdItem( DiskImageItem*, const VBoxMedia & )</function>
|
---|
616 | <function access="private">updateFdItem( DiskImageItem*, const VBoxMedia & )</function>
|
---|
617 | <function access="private" returnType="DiskImageItem*">createHdItem( QListView*, const VBoxMedia & )</function>
|
---|
618 | <function access="private" returnType="DiskImageItem*">createCdItem( QListView*, const VBoxMedia & )</function>
|
---|
619 | <function access="private" returnType="DiskImageItem*">createFdItem( QListView*, const VBoxMedia & )</function>
|
---|
620 | <function access="protected" returnType="bool">event( QEvent* )</function>
|
---|
621 | <function access="protected">showEvent( QShowEvent * )</function>
|
---|
622 | <function access="protected">resizeEvent( QResizeEvent* )</function>
|
---|
623 | <function access="protected">keyPressEvent( QKeyEvent* )</function>
|
---|
624 | <function access="protected">closeEvent( QCloseEvent* )</function>
|
---|
625 | <function access="protected">createInfoString( InfoPaneLabel *&, QWidget*, int, int )</function>
|
---|
626 | <function access="protected" returnType="QPushButton*">searchDefaultButton()</function>
|
---|
627 | <function access="protected">setCurrentItem( QListView*, QListViewItem* )</function>
|
---|
628 | <function specifier="static"> showModeless( bool aRefresh = true )</function>
|
---|
629 | <function specifier="static" returnType="QString">composeHdToolTip( CHardDisk &, VBoxMedia::Status = VBoxMedia::Ok, DiskImageItem *aItem = NULL )</function>
|
---|
630 | <function specifier="static" returnType="QString">composeCdToolTip( CDVDImage &, VBoxMedia::Status = VBoxMedia::Ok, DiskImageItem *aItem = NULL )</function>
|
---|
631 | <function specifier="static" returnType="QString">composeFdToolTip( CFloppyImage &, VBoxMedia::Status = VBoxMedia::Ok, DiskImageItem *aItem = NULL )</function>
|
---|
632 | <function access="protected">clearInfoPanes()</function>
|
---|
633 | <function access="protected">prepareToRefresh( int aTotal = 0 )</function>
|
---|
634 | <function access="protected">makeWarningMark( DiskImageItem*, VBoxMedia::Status, VBoxDefs::DiskType )</function>
|
---|
635 | <function access="pritave">languageChangeImp()</function>
|
---|
636 | </functions>
|
---|
637 | <layoutdefaults spacing="10" margin="10"/>
|
---|
638 | </UI>
|
---|