/vbox/src/VBox/Frontends/VirtualBox/src/wizards/newvm/ |
H A D | UIWizardNewVM.cpp | 73 if (m_machine.isNull()) 78 m_machine = vbox.CreateMachine(QString(), field("name").toString(), groups, strTypeId, QString::null); 91 m_machine.SetExtraData(GUI_FirstRun, "yes"); 95 m_machine.SetMemorySize(field("ram").toInt()); 98 m_machine.SetVRAMSize(qMax(type.GetRecommendedVRAM(), (ULONG)(VBoxGlobal::requiredVideoMemory(strTypeId) / _1M))); 101 m_machine.SetChipsetType(type.GetRecommendedChipset()); 104 m_machine.GetAudioAdapter().SetAudioController(type.GetRecommendedAudioController()); 106 m_machine.GetAudioAdapter().SetEnabled(true); 109 CUSBDeviceFilters usbDeviceFilters = m_machine.GetUSBDeviceFilters(); 111 if (!usbDeviceFilters.isNull() && type.GetRecommendedUSB() && m_machine [all...] |
H A D | UIWizardNewVM.h | 72 CMachine m_machine; member in class:UIWizardNewVM
|
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/ |
H A D | UIWizardFirstRun.cpp | 38 , m_machine(machine) 39 , m_fHardDiskWasSet(isBootHardDiskAttached(m_machine)) 55 const CGuestOSType &osType = vbox.GetGuestOSType(m_machine.GetOSTypeId()); 62 const CMediumAttachmentVector &attachments = m_machine.GetMediumAttachments(); 68 const CStorageController &controller = m_machine.GetStorageControllerByName(attachment.GetController()); 85 m_machine.MountMedium(cda.GetController(), cda.GetPort(), cda.GetDevice(), medium, false /* force */); 86 if (m_machine.isOk()) 90 msgCenter().cannotRemountMedium(m_machine, vmedium, true /* mount? */, false /* retry? */, this); 112 setPage(Page, new UIWizardFirstRunPageBasic(m_machine.GetId(), m_fHardDiskWasSet));
|
H A D | UIWizardFirstRun.h | 63 CMachine m_machine; member in class:UIWizardFirstRun
|
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/ |
H A D | UIWizardCloneVM.cpp | 39 , m_machine(machine) 68 CMachine srcMachine = m_machine; 77 CSession session = vboxGlobal().openSession(m_machine.GetId()); 85 QString strSnapshotName = tr("Linked Base for %1 and %2").arg(m_machine.GetName()).arg(strName); 91 msgCenter().showModalProgressDialog(progress, m_machine.GetName(), ":/progress_snapshot_create_90px.png", this); 95 msgCenter().cannotTakeSnapshot(progress, m_machine.GetName(), this); 101 msgCenter().cannotTakeSnapshot(machine, m_machine.GetName(), this); 109 const CSnapshot &newSnapshot = m_machine.FindSnapshot(strSnapshotName); 112 msgCenter().cannotFindSnapshotByName(m_machine, strSnapshotName, this); 181 setPage(Page1, new UIWizardCloneVMPageBasic1(m_machine [all...] |
H A D | UIWizardCloneVM.h | 71 CMachine m_machine; member in class:UIWizardCloneVM
|
/vbox/src/VBox/Frontends/VirtualBox/src/selector/ |
H A D | UIVMItem.cpp | 143 : m_machine(aMachine) 219 m_strId = m_machine.GetId(); 220 m_strSettingsFile = m_machine.GetSettingsFilePath(); 222 m_fAccessible = m_machine.GetAccessible(); 225 QString name = m_machine.GetName(); 227 CSnapshot snp = m_machine.GetCurrentSnapshot(); 232 m_machineState = m_machine.GetState(); 233 m_lastStateChange.setTime_t(m_machine.GetLastStateChange() / 1000); 234 m_sessionState = m_machine.GetSessionState(); 235 m_strOSTypeId = m_machine [all...] |
H A D | UIVMItem.h | 42 CMachine machine() const { return m_machine; } 87 CMachine m_machine; member in class:UIVMItem
|
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/ |
H A D | UIMachineSettingsInterface.cpp | 59 interfaceData.m_dScaleFactor = gEDataManager->scaleFactor(m_machine.GetId()); 61 interfaceData.m_fUseUnscaledHiDPIOutput = gEDataManager->useUnscaledHiDPIOutput(m_machine.GetId()); 63 interfaceData.m_fShowMiniToolBar = gEDataManager->miniToolbarEnabled(m_machine.GetId()); 64 interfaceData.m_fMiniToolBarAtTop = gEDataManager->miniToolbarAlignment(m_machine.GetId()) == Qt::AlignTop; 133 gEDataManager->setScaleFactor(interfaceData.m_dScaleFactor, m_machine.GetId()); 135 gEDataManager->setUseUnscaledHiDPIOutput(interfaceData.m_fUseUnscaledHiDPIOutput, m_machine.GetId()); 137 gEDataManager->setMiniToolbarEnabled(interfaceData.m_fShowMiniToolBar, m_machine.GetId()); 138 gEDataManager->setMiniToolbarAlignment(interfaceData.m_fMiniToolBarAtTop ? Qt::AlignTop : Qt::AlignBottom, m_machine.GetId());
|
H A D | UIMachineSettingsDisplay.cpp | 104 displayData.m_iCurrentVRAM = m_machine.GetVRAMSize(); 105 displayData.m_cGuestScreenCount = m_machine.GetMonitorCount(); 106 displayData.m_f3dAccelerationEnabled = m_machine.GetAccelerate3DEnabled(); 108 displayData.m_f2dAccelerationEnabled = m_machine.GetAccelerate2DVideoEnabled(); 112 CVRDEServer remoteDisplayServer = m_machine.GetVRDEServer(); 125 displayData.m_fVideoCaptureEnabled = m_machine.GetVideoCaptureEnabled(); 126 displayData.m_strVideoCaptureFolder = QFileInfo(m_machine.GetSettingsFilePath()).absolutePath(); 127 displayData.m_strVideoCaptureFilePath = m_machine.GetVideoCaptureFile(); 128 displayData.m_iVideoCaptureFrameWidth = m_machine.GetVideoCaptureWidth(); 129 displayData.m_iVideoCaptureFrameHeight = m_machine [all...] |
H A D | UIMachineSettingsSystem.cpp | 96 systemData.m_iMemorySize = m_machine.GetMemorySize(); 101 KDeviceType type = m_machine.GetBootOrder(i); 124 systemData.m_chipsetType = m_machine.GetChipsetType(); 125 systemData.m_pointingHIDType = m_machine.GetPointingHIDType(); 126 systemData.m_fEnabledIoApic = m_machine.GetBIOSSettings().GetIOAPICEnabled(); 127 systemData.m_fEnabledEFI = m_machine.GetFirmwareType() >= KFirmwareType_EFI && m_machine.GetFirmwareType() <= KFirmwareType_EFIDUAL; 128 systemData.m_fEnabledUTC = m_machine.GetRTCUseUTC(); 131 systemData.m_cCPUCount = systemData.m_fSupportedHwVirtEx ? m_machine.GetCPUCount() : 1; 132 systemData.m_iCPUExecCap = m_machine [all...] |
H A D | UIMachineSettingsGeneral.cpp | 95 generalData.m_strName = m_machine.GetName(); 96 generalData.m_strGuestOsTypeId = m_machine.GetOSTypeId(); 99 generalData.m_strSnapshotsFolder = m_machine.GetSnapshotFolder(); 100 generalData.m_strSnapshotsHomeDir = QFileInfo(m_machine.GetSettingsFilePath()).absolutePath(); 101 generalData.m_clipboardMode = m_machine.GetClipboardMode(); 102 generalData.m_dndMode = m_machine.GetDnDMode(); 105 generalData.m_strDescription = m_machine.GetDescription(); 112 foreach (const CMediumAttachment &attachment, m_machine.GetMediumAttachments()) 263 m_machine.SetClipboardMode(generalData.m_clipboardMode); 265 m_machine [all...] |
H A D | UIMachineSettingsUSB.cpp | 260 usbData.m_fUSBEnabled = !m_machine.GetUSBControllers().isEmpty(); 261 usbData.m_USBControllerType = m_machine.GetUSBControllerCountByType(KUSBControllerType_XHCI) > 0 ? KUSBControllerType_XHCI : 262 m_machine.GetUSBControllerCountByType(KUSBControllerType_EHCI) > 0 ? KUSBControllerType_EHCI : 263 m_machine.GetUSBControllerCountByType(KUSBControllerType_OHCI) > 0 ? KUSBControllerType_OHCI : 267 const CUSBDeviceFilters &filters = m_machine.GetUSBDeviceFilters(); 383 CUSBDeviceFilters filters = m_machine.GetUSBDeviceFilters(); 391 ULONG cOhciCtls = m_machine.GetUSBControllerCountByType(KUSBControllerType_OHCI); 392 ULONG cEhciCtls = m_machine.GetUSBControllerCountByType(KUSBControllerType_EHCI); 393 ULONG cXhciCtls = m_machine.GetUSBControllerCountByType(KUSBControllerType_XHCI); 399 m_machine [all...] |
H A D | UIMachineSettingsStorage.cpp | 2111 m_strMachineId = m_machine.GetId(); 2112 m_strMachineSettingsFilePath = m_machine.GetSettingsFilePath(); 2113 m_strMachineGuestOSTypeId = m_machine.GetOSTypeId(); 2116 const CStorageControllerVector &controllers = m_machine.GetStorageControllers(); 2135 m_machine.GetMediumAttachmentsOfController(storageControllerData.m_strControllerName); 3472 bool fSuccess = m_machine.isOk(); 3531 bool fSuccess = m_machine.isOk(); 3541 const CStorageController &controller = m_machine.GetStorageControllerByName(strControllerName); 3543 fSuccess = m_machine.isOk(); 3548 m_machine [all...] |
H A D | UIMachineSettingsAudio.cpp | 52 const CAudioAdapter &adapter = m_machine.GetAudioAdapter(); 111 CAudioAdapter audioAdapter = m_machine.GetAudioAdapter();
|
/vbox/src/VBox/Frontends/VirtualBox/src/settings/ |
H A D | UISettingsPage.cpp | 116 /* Fetch data to m_machine & m_console: */ 119 m_machine = data.value<UISettingsDataMachine>().m_machine; 123 /* Upload m_machine & m_console to data: */ 126 data = QVariant::fromValue(UISettingsDataMachine(m_machine, m_console));
|
H A D | UISettingsDialogSpecific.cpp | 320 m_machine = vboxGlobal().virtualBox().FindMachine(m_strMachineId); 321 AssertMsg(!m_machine.isNull(), ("Can't find corresponding machine!\n")); 322 m_sessionState = m_machine.GetSessionState(); 323 m_machineState = m_machine.GetState(); 430 pSettingsPage = new UIMachineSettingsInterface(m_machine.GetId()); 499 m_machine = m_session.GetMachine(); 503 UISettingsDataMachine data(m_machine, m_console); 528 m_machine = m_session.GetMachine(); 532 UISettingsDataMachine data(m_machine, m_console); 539 m_machine [all...] |
H A D | UISettingsPage.h | 66 : m_machine(machine), m_console(console) {} 67 CMachine m_machine; member in struct:UISettingsDataMachine 229 /* Fetch data to m_machine: */ 232 /* Upload m_machine to data: */ 236 CMachine m_machine; member in class:UISettingsPageMachine
|
H A D | UISettingsDialogSpecific.h | 103 CMachine m_machine; member in class:UISettingsDialogMachine
|
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/ |
H A D | UIGMachinePreview.cpp | 144 m_machine = machine; 148 if (!m_machine.isNull()) 149 m_strPreviewName = m_machine.GetAccessible() ? m_machine.GetName() : 158 return m_machine; 164 if (m_machine.isNull() || m_machine.GetId() != strId) 185 const KMachineState machineState = m_machine.isNull() ? KMachineState_Null : m_machine.GetState(); 188 if (!m_machine [all...] |
H A D | UIGDetailsSet.h | 55 const CMachine& machine() const { return m_machine; } 111 CMachine m_machine; member in class:UIGDetailsSet
|
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIVMCloseDialog.cpp | 56 , m_machine(machine) 317 KMachineState machineState = m_machine.GetState(); 320 setPixmap(vboxGlobal().vmGuestOSTypeIcon(m_machine.GetOSTypeId())); 347 setDiscardCheckBoxVisible(fIsPowerOffAndRestoreAllowed && m_machine.GetSnapshotCount() > 0); 349 if (!m_machine.GetCurrentSnapshot().isNull()) 350 m_strDiscardCheckBoxText = m_machine.GetCurrentSnapshot().GetName();
|
H A D | UIVMCloseDialog.h | 100 CMachine &m_machine; member in class:UIVMCloseDialog
|
/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | UIVMLogViewer.h | 88 CMachine m_machine; member in class:UIVMLogViewer
|
H A D | UIVMLogViewer.cpp | 379 , m_machine(machine) 420 if (!m_machine.isNull()) 421 m_viewers.remove(m_machine.GetName()); 461 QString strFileName = m_machine.QueryLogFilename(i); 469 QVector<BYTE> data = m_machine.ReadLog(i, uOffset, _1M); 496 .arg(m_machine.GetLogFolder())); 524 QString strDefaultFileName = QString("%1-%2.log").arg(m_machine.GetName()).arg(strDtString); 530 QFile::copy(m_machine.QueryLogFilename(m_pViewerContainer->currentIndex()), strNewFileName); 539 if (!m_machine.isNull()) 540 setWindowTitle(tr("%1 - VirtualBox Log Viewer").arg(m_machine [all...] |