VBoxMediaManagerDlg :mode=html:tabSize=4:indentSize=4:noTabs=true: :folding=explicit:collapseFolds=1: Copyright (C) 2006-2007 Sun Microsystems, Inc. This file is part of VirtualBox Open Source Edition (OSE), as available from http://www.virtualbox.org. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation, in version 2 as it comes in the "COPYING" file of the VirtualBox OSE distribution. VirtualBox OSE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA or visit http://www.sun.com if you need additional information or have any questions. VBoxMediaManagerDlg 0 0 620 460 289 178 Virtual Media Manager unnamed 3 5 layout2 unnamed 7 mMediaTabs 5 7 0 0 tab &Hard Disks unnamed Name true true Logical Size true true Actual Size true true mHardDiskView true AlwaysOff false true true AllColumns mHDInfoPane Box Sunken tab &CD/DVD Images unnamed Name true true Size true true mDVDView true AlwaysOff false true true AllColumns mDVDInfoPane Box Sunken TabPage &Floppy Images unnamed Name true true Size true true mFloppyView true AlwaysOff false true true AllColumns mFloppyInfoPane Box Sunken buttonLayout unnamed buttonHelp Help F1 true Invoke dialog's help Spacer1 Horizontal Expanding 214 16 Spacer2 Horizontal Expanding 214 16 buttonOk &OK true true Accept dialog buttonCancel Cancel true Cancel dialog buttonOk clicked() VBoxMediaManagerDlg accept() buttonCancel clicked() VBoxMediaManagerDlg reject() mHardDiskView currentChanged(QListViewItem*) VBoxMediaManagerDlg processCurrentChanged(QListViewItem*) mDVDView currentChanged(QListViewItem*) VBoxMediaManagerDlg processCurrentChanged(QListViewItem*) mFloppyView currentChanged(QListViewItem*) VBoxMediaManagerDlg processCurrentChanged(QListViewItem*) mHardDiskView pressed(QListViewItem*) VBoxMediaManagerDlg processPressed(QListViewItem*) mDVDView pressed(QListViewItem*) VBoxMediaManagerDlg processPressed(QListViewItem*) mFloppyView pressed(QListViewItem*) VBoxMediaManagerDlg processPressed(QListViewItem*) mHardDiskView doubleClicked(QListViewItem*) VBoxMediaManagerDlg processDoubleClick(QListViewItem*) mDVDView doubleClicked(QListViewItem*) VBoxMediaManagerDlg processDoubleClick(QListViewItem*) mFloppyView doubleClicked(QListViewItem*) VBoxMediaManagerDlg processDoubleClick(QListViewItem*) mHardDiskView contextMenuRequested(QListViewItem*,const QPoint&,int) VBoxMediaManagerDlg invokePopup(QListViewItem*,const QPoint&,int) mDVDView contextMenuRequested(QListViewItem*,const QPoint&,int) VBoxMediaManagerDlg invokePopup(QListViewItem*,const QPoint&,int) mFloppyView contextMenuRequested(QListViewItem*,const QPoint&,int) VBoxMediaManagerDlg invokePopup(QListViewItem*,const QPoint&,int) mMediaTabs currentChanged(QWidget*) VBoxMediaManagerDlg processCurrentChanged() buttonHelp clicked() &vboxProblem() showHelpHelpDialog() qapplication.h qprogressdialog.h qfocusdata.h qobjectlist.h qdragobject.h qaction.h qpopupmenu.h qeventloop.h qstatusbar.h qsizegrip.h qlocale.h qregexp.h qpainter.h qprogressbar.h qvaluelist.h COMDefs.h VBoxGlobal.h VBoxProblemReporter.h VBoxDefs.h VBoxNewHDWzd.h VBoxToolBar.h QIRichLabel.h class MediaItem class VBoxToolBar class QSizeGrip class InfoPaneLabel class QProgressBar enum ResultCode { Rejected, Accepted }; enum ItemAction { ItemAction_Added, ItemAction_Updated, ItemAction_Removed }; enum Action { Action_Select, Action_Edit, Action_Remove, Action_Release }; bool mIsPolished; CVirtualBox mVBox; int mType; bool mDoSelect; CMachine mSessionMachine; QUuid mSessionMachineId; QIconSet mHardDiskIconSet; QIconSet mDVDImageIconSet; QIconSet mFloppyImageIconSet; bool mHardDisksInaccessible; bool mDVDImagesInaccessible; bool mFloppyImagesInaccessible; QPopupMenu *mItemMenu; VBoxToolBar *mToolBar; int mRescode; bool mInLoop; QAction *mNewAction; QAction *mAddAction; QAction *mEditAction; QAction *mRemoveAction; QAction *mReleaseAction; QAction *mRefreshAction; InfoPaneLabel *mHDLocationLabel; InfoPaneLabel *mHDTypeLabel; InfoPaneLabel *mHDUsageLabel; InfoPaneLabel *mDVDLocationLabel; InfoPaneLabel *mDVDUsageLabel; InfoPaneLabel *mFloppyLocationLabel; InfoPaneLabel *mFloppyUsageLabel; QSizeGrip *sizeGrip; QPushButton *defaultButton; static VBoxMediaManagerDlg *mModelessDialog; QProgressBar *mProgressBar; QLabel *mProgressText; QUuid mHDSelectedId; QUuid mDVDSelectedId; QUuid mFloppySelectedId; bool mShowDiffs : 1; mediaEnumStarted() mediumEnumerated( const VBoxMedium &, int ) mediaEnumFinished( const VBoxMediaList & ) mediumAdded( const VBoxMedium & ) mediumUpdated( const VBoxMedium & ) mediumRemoved( VBoxDefs::MediaType, const QUuid & ) machineStateChanged( const VBoxMachineStateChangeEvent & ) refreshAll() processCurrentChanged( QListViewItem * item ) processPressed( QListViewItem * item ) doNewMedium() doAddMedium() doRemoveMedium() doReleaseMedium() processDoubleClick( QListViewItem * item ) invokePopup( QListViewItem * item, const QPoint & pos, int col ) processCurrentChanged() accept() reject() mouseOnItem( QListViewItem *item ) init() result() setResult( int ) exec() done( int ) findMediaItem( QListView *, const QUuid & ) checkMediumFor( MediaItem *aItem, Action ) releaseMediumFrom( const VBoxMedium &, const QUuid & ) selectedId() selectedLocation() setup( VBoxDefs::MediaType, bool, bool = true, const CMachine & = CMachine(), const QUuid & = QUuid(), bool = false ) currentListView() listView( VBoxDefs::MediaType ) eventFilter( QObject *, QEvent * ) addDroppedImages( QStringList* ) addMediumToList( const QString & aLocation, VBoxDefs::MediaType aType ) createHardDiskItem( QListView *, const VBoxMedium & ) event( QEvent* ) showEvent( QShowEvent * ) resizeEvent( QResizeEvent* ) keyPressEvent( QKeyEvent* ) closeEvent( QCloseEvent* ) createInfoString( InfoPaneLabel *&, QWidget*, int, int ) searchDefaultButton() setCurrentItem( QListView*, QListViewItem* ) showModeless( bool aRefresh = true ) clearInfoPanes() prepareToRefresh( int aTotal = 0 ) updateTabIcons( MediaItem *, ItemAction ) languageChangeImp() inAttachMode() { return !mSessionMachine.isNull(); } showDiffs() { return mShowDiffs; }