UIWizardFirstRunPageBasic.cpp revision 9f4ab406d222cd081a1522169822c3e7c2d6a718
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * VBox frontends: Qt4 GUI ("VirtualBox"):
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * UIWizardFirstRunPageBasic class implementation
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * Copyright (C) 2008-2013 Oracle Corporation
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * available from http://www.virtualbox.org. This file is free software;
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * you can redistribute it and/or modify it under the terms of the GNU
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * General Public License (GPL) as published by the Free Software
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync/* Qt includes: */
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync/* GUI includes: */
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncUIWizardFirstRunPage::UIWizardFirstRunPage(bool fBootHardDiskWasSet)
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncvoid UIWizardFirstRunPage::onOpenMediumWithFileOpenDialog()
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync /* Get opened vboxMedium id: */
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync QString strMediumId = vboxGlobal().openMediumWithFileOpenDialog(m_pMediaSelector->type(), thisImp());
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync /* Update medium-combo if necessary: */
UIWizardFirstRunPageBasic::UIWizardFirstRunPageBasic(const QString &strMachineId, bool fBootHardDiskWasSet)
m_pSelectMediaButton->setIcon(UIIconPool::iconSet(":/select_file_16px.png", ":/select_file_disabled_16px.png"));
bool fResult = true;
if (fResult)
return fResult;