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