Searched refs:m_machine (Results 1 - 25 of 35) sorted by relevance

12

/vbox/src/VBox/Frontends/VirtualBox/src/wizards/newvm/
H A DUIWizardNewVM.cpp73 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 DUIWizardNewVM.h72 CMachine m_machine; member in class:UIWizardNewVM
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/
H A DUIWizardFirstRun.cpp38 , 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 DUIWizardFirstRun.h63 CMachine m_machine; member in class:UIWizardFirstRun
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/
H A DUIWizardCloneVM.cpp39 , 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 DUIWizardCloneVM.h71 CMachine m_machine; member in class:UIWizardCloneVM
/vbox/src/VBox/Frontends/VirtualBox/src/selector/
H A DUIVMItem.cpp143 : 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 DUIVMItem.h42 CMachine machine() const { return m_machine; }
87 CMachine m_machine; member in class:UIVMItem
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/
H A DUIMachineSettingsInterface.cpp59 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 DUIMachineSettingsDisplay.cpp104 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 DUIMachineSettingsSystem.cpp96 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 DUIMachineSettingsGeneral.cpp95 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 DUIMachineSettingsUSB.cpp260 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 DUIMachineSettingsStorage.cpp2111 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 DUIMachineSettingsAudio.cpp52 const CAudioAdapter &adapter = m_machine.GetAudioAdapter();
111 CAudioAdapter audioAdapter = m_machine.GetAudioAdapter();
/vbox/src/VBox/Frontends/VirtualBox/src/settings/
H A DUISettingsPage.cpp116 /* 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 DUISettingsDialogSpecific.cpp320 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 DUISettingsPage.h66 : 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 DUISettingsDialogSpecific.h103 CMachine m_machine; member in class:UISettingsDialogMachine
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/
H A DUIGMachinePreview.cpp144 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 DUIGDetailsSet.h55 const CMachine& machine() const { return m_machine; }
111 CMachine m_machine; member in class:UIGDetailsSet
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/
H A DUIVMCloseDialog.cpp56 , 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 DUIVMCloseDialog.h100 CMachine &m_machine; member in class:UIVMCloseDialog
/vbox/src/VBox/Frontends/VirtualBox/src/
H A DUIVMLogViewer.h88 CMachine m_machine; member in class:UIVMLogViewer
H A DUIVMLogViewer.cpp379 , 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...]

Completed in 698 milliseconds

12