VirtualBox

Changeset 84886 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 21, 2020 3:03:55 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138743
Message:

FE/Qt: bugref:9515. Renaming page files.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
5 edited
8 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r84879 r84886  
    681681        src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h \
    682682        src/wizards/newvm/UIWizardNewVM.h \
    683         src/wizards/newvm/UIWizardNewVMPageBasic0.h \
    684         src/wizards/newvm/UIWizardNewVMPageBasic1.h \
    685         src/wizards/newvm/UIWizardNewVMPageBasic2.h \
    686         src/wizards/newvm/UIWizardNewVMPageBasic3.h \
     683        src/wizards/newvm/UIWizardNewVMPageBasicUnattended.h \
     684        src/wizards/newvm/UIWizardNewVMPageBasicNameType.h \
     685        src/wizards/newvm/UIWizardNewVMPageBasicHardware.h \
     686        src/wizards/newvm/UIWizardNewVMPageBasicDisk.h \
    687687        src/wizards/newvm/UIWizardNewVMPageExpert.h \
    688688        src/wizards/clonevm/UIWizardCloneVM.h \
     
    11411141        src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp \
    11421142        src/wizards/newvm/UIWizardNewVM.cpp \
    1143         src/wizards/newvm/UIWizardNewVMPageBasic0.cpp \
    1144         src/wizards/newvm/UIWizardNewVMPageBasic1.cpp \
    1145         src/wizards/newvm/UIWizardNewVMPageBasic2.cpp \
    1146         src/wizards/newvm/UIWizardNewVMPageBasic3.cpp \
     1143        src/wizards/newvm/UIWizardNewVMPageBasicUnattended.cpp \
     1144        src/wizards/newvm/UIWizardNewVMPageBasicNameType.cpp \
     1145        src/wizards/newvm/UIWizardNewVMPageBasicHardware.cpp \
     1146        src/wizards/newvm/UIWizardNewVMPageBasicDisk.cpp \
    11471147        src/wizards/newvm/UIWizardNewVMPageExpert.cpp \
    11481148        src/wizards/clonevm/UIWizardCloneVM.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp

    r84880 r84886  
    1919#include "UICommon.h"
    2020#include "UIWizardNewVM.h"
    21 #include "UIWizardNewVMPageBasic0.h"
    22 #include "UIWizardNewVMPageBasic1.h"
    23 #include "UIWizardNewVMPageBasic2.h"
    24 #include "UIWizardNewVMPageBasic3.h"
     21#include "UIWizardNewVMPageBasicUnattended.h"
     22#include "UIWizardNewVMPageBasicNameType.h"
     23#include "UIWizardNewVMPageBasicHardware.h"
     24#include "UIWizardNewVMPageBasicDisk.h"
    2525#include "UIWizardNewVMPageExpert.h"
    2626#include "UIMessageCenter.h"
     
    6969        case WizardMode_Basic:
    7070        {
    71             setPage(Page1, new UIWizardNewVMPageBasic0);
    72             setPage(Page2, new UIWizardNewVMPageBasic1(m_strGroup));
    73             setPage(Page3, new UIWizardNewVMPageBasic2);
    74             setPage(Page4, new UIWizardNewVMPageBasic3);
     71            setPage(Page1, new UIWizardNewVMPageBasicUnattended);
     72            setPage(Page2, new UIWizardNewVMPageBasicNameType(m_strGroup));
     73            setPage(Page3, new UIWizardNewVMPageBasicHardware);
     74            setPage(Page4, new UIWizardNewVMPageBasicDisk);
    7575            break;
    7676        }
     
    379379        case WizardMode_Basic:
    380380        {
    381             UIWizardNewVMPageBasic1 *pPage = qobject_cast<UIWizardNewVMPageBasic1*> (page(Page2));
     381            UIWizardNewVMPageBasicNameType *pPage = qobject_cast<UIWizardNewVMPageBasicNameType*> (page(Page2));
    382382            /* Make sure that we were able to find the page that created the folder. */
    383383            Assert(pPage);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.h

    r84870 r84886  
    7373
    7474    /* Who will be able to create virtual-machine: */
    75     friend class UIWizardNewVMPageBasic3;
     75    friend class UIWizardNewVMPageBasicDisk;
    7676    friend class UIWizardNewVMPageExpert;
    7777
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicDisk.cpp

    r84885 r84886  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic3 class implementation.
     3 * VBox Qt GUI - UIWizardNewVMPageBasicDisk class implementation.
    44 */
    55
     
    3232#include "UIWizardNewVD.h"
    3333#include "UIWizardNewVM.h"
    34 #include "UIWizardNewVMPageBasic3.h"
    35 
    36 UIWizardNewVMPage3::UIWizardNewVMPage3()
     34#include "UIWizardNewVMPageBasicDisk.h"
     35
     36UIWizardNewVMPageDisk::UIWizardNewVMPageDisk()
    3737    : m_fRecommendedNoDisk(false)
    3838{
    3939}
    4040
    41 void UIWizardNewVMPage3::updateVirtualDiskSource()
     41void UIWizardNewVMPageDisk::updateVirtualDiskSource()
    4242{
    4343    /* Enable/disable controls: */
     
    6060}
    6161
    62 void UIWizardNewVMPage3::getWithFileOpenDialog()
     62void UIWizardNewVMPageDisk::getWithFileOpenDialog()
    6363{
    6464    /* Get opened medium id: */
     
    8383}
    8484
    85 bool UIWizardNewVMPage3::getWithNewVirtualDiskWizard()
     85bool UIWizardNewVMPageDisk::getWithNewVirtualDiskWizard()
    8686{
    8787    /* Create New Virtual Hard Drive wizard: */
     
    105105}
    106106
    107 void UIWizardNewVMPage3::ensureNewVirtualDiskDeleted()
     107void UIWizardNewVMPageDisk::ensureNewVirtualDiskDeleted()
    108108{
    109109    /* Make sure virtual-disk valid: */
     
    129129}
    130130
    131 UIWizardNewVMPageBasic3::UIWizardNewVMPageBasic3()
     131UIWizardNewVMPageBasicDisk::UIWizardNewVMPageBasicDisk()
    132132{
    133133    /* Create widgets: */
     
    168168    /* Setup connections: */
    169169    connect(m_pDiskSkip, &QRadioButton::toggled,
    170             this, &UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged);
     170            this, &UIWizardNewVMPageBasicDisk::sltVirtualDiskSourceChanged);
    171171    connect(m_pDiskCreate, &QRadioButton::toggled,
    172             this, &UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged);
     172            this, &UIWizardNewVMPageBasicDisk::sltVirtualDiskSourceChanged);
    173173    connect(m_pDiskPresent, &QRadioButton::toggled,
    174             this, &UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged);
     174            this, &UIWizardNewVMPageBasicDisk::sltVirtualDiskSourceChanged);
    175175    connect(m_pDiskSelector, static_cast<void(UIMediaComboBox::*)(int)>(&UIMediaComboBox::currentIndexChanged),
    176             this, &UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged);
     176            this, &UIWizardNewVMPageBasicDisk::sltVirtualDiskSourceChanged);
    177177    connect(m_pVMMButton, &QIToolButton::clicked,
    178             this, &UIWizardNewVMPageBasic3::sltGetWithFileOpenDialog);
     178            this, &UIWizardNewVMPageBasicDisk::sltGetWithFileOpenDialog);
    179179
    180180    /* Register classes: */
     
    187187}
    188188
    189 void UIWizardNewVMPageBasic3::sltVirtualDiskSourceChanged()
     189void UIWizardNewVMPageBasicDisk::sltVirtualDiskSourceChanged()
    190190{
    191191    /* Call to base-class: */
     
    196196}
    197197
    198 void UIWizardNewVMPageBasic3::sltGetWithFileOpenDialog()
     198void UIWizardNewVMPageBasicDisk::sltGetWithFileOpenDialog()
    199199{
    200200    /* Call to base-class: */
     
    202202}
    203203
    204 void UIWizardNewVMPageBasic3::retranslateUi()
     204void UIWizardNewVMPageBasicDisk::retranslateUi()
    205205{
    206206    /* Translate page: */
     
    223223}
    224224
    225 void UIWizardNewVMPageBasic3::initializePage()
     225void UIWizardNewVMPageBasicDisk::initializePage()
    226226{
    227227    /* Translate page: */
     
    244244}
    245245
    246 void UIWizardNewVMPageBasic3::cleanupPage()
     246void UIWizardNewVMPageBasicDisk::cleanupPage()
    247247{
    248248    /* Call to base-class: */
     
    251251}
    252252
    253 bool UIWizardNewVMPageBasic3::isComplete() const
     253bool UIWizardNewVMPageBasicDisk::isComplete() const
    254254{
    255255    /* Make sure 'virtualDisk' field feats the rules: */
     
    259259}
    260260
    261 bool UIWizardNewVMPageBasic3::validatePage()
     261bool UIWizardNewVMPageBasicDisk::validatePage()
    262262{
    263263    /* Initial result: */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicDisk.h

    r84885 r84886  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic3 class declaration.
     3 * VBox Qt GUI - UIWizardNewVMPageBasicDisk class declaration.
    44 */
    55
     
    1616 */
    1717
    18 #ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic3_h
    19 #define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic3_h
     18#ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicDisk_h
     19#define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicDisk_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
     
    3939
    4040/* 3rd page of the New Virtual Machine wizard (base part): */
    41 class UIWizardNewVMPage3 : public UIWizardPageBase
     41class UIWizardNewVMPageDisk : public UIWizardPageBase
    4242{
    4343protected:
    4444
    4545    /* Constructor: */
    46     UIWizardNewVMPage3();
     46    UIWizardNewVMPageDisk();
    4747
    4848    /* Handlers: */
     
    8888
    8989/* 3rd page of the New Virtual Machine wizard (basic extension): */
    90 class UIWizardNewVMPageBasic3 : public UIWizardPage, public UIWizardNewVMPage3
     90class UIWizardNewVMPageBasicDisk : public UIWizardPage, public UIWizardNewVMPageDisk
    9191{
    9292    Q_OBJECT;
     
    9999
    100100    /* Constructor: */
    101     UIWizardNewVMPageBasic3();
     101    UIWizardNewVMPageBasicDisk();
    102102
    103103protected:
     
    133133};
    134134
    135 #endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic3_h */
    136 
     135#endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicDisk_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicHardware.cpp

    r84885 r84886  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic2 class implementation.
     3 * VBox Qt GUI - UIWizardNewVMPageBasicHardware class implementation.
    44 */
    55
     
    3030#include "UICommon.h"
    3131#include "UIVirtualCPUEditor.h"
    32 #include "UIWizardNewVMPageBasic2.h"
     32#include "UIWizardNewVMPageBasicHardware.h"
    3333#include "UIWizardNewVM.h"
    3434
    3535
    36 UIWizardNewVMPage2::UIWizardNewVMPage2()
     36UIWizardNewVMPageHardware::UIWizardNewVMPageHardware()
    3737    : m_pBaseMemoryEditor(0)
    3838    , m_pVirtualCPUEditor(0)
     
    4040}
    4141
    42 int UIWizardNewVMPage2::baseMemory() const
     42int UIWizardNewVMPageHardware::baseMemory() const
    4343{
    4444    if (!m_pBaseMemoryEditor)
     
    4747}
    4848
    49 int UIWizardNewVMPage2::VCPUCount() const
     49int UIWizardNewVMPageHardware::VCPUCount() const
    5050{
    5151    if (!m_pVirtualCPUEditor)
     
    5454}
    5555
    56 UIWizardNewVMPageBasic2::UIWizardNewVMPageBasic2()
     56UIWizardNewVMPageBasicHardware::UIWizardNewVMPageBasicHardware()
    5757    : m_pLabel(0)
    5858{
     
    8080}
    8181
    82 void UIWizardNewVMPageBasic2::retranslateUi()
     82void UIWizardNewVMPageBasicHardware::retranslateUi()
    8383{
    8484    /* Translate page: */
     
    9090}
    9191
    92 void UIWizardNewVMPageBasic2::initializePage()
     92void UIWizardNewVMPageBasicHardware::initializePage()
    9393{
    9494    /* Translate page: */
     
    104104}
    105105
    106 bool UIWizardNewVMPageBasic2::isComplete() const
     106bool UIWizardNewVMPageBasicHardware::isComplete() const
    107107{
    108108    return UIWizardPage::isComplete();
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicHardware.h

    r84885 r84886  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic2 class declaration.
     3 * VBox Qt GUI - UIWizardNewVMPageBasicHardware class declaration.
    44 */
    55
     
    1616 */
    1717
    18 #ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic2_h
    19 #define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic2_h
     18#ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicHardware_h
     19#define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicHardware_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
     
    3434
    3535/* 2nd page of the New Virtual Machine wizard (base part): */
    36 class UIWizardNewVMPage2 : public UIWizardPageBase
     36class UIWizardNewVMPageHardware : public UIWizardPageBase
    3737{
    3838protected:
    3939
    4040    /* Constructor: */
    41     UIWizardNewVMPage2();
     41    UIWizardNewVMPageHardware();
    4242
    4343    int baseMemory() const;
     
    5050
    5151/* 2nd page of the New Virtual Machine wizard (basic extension): */
    52 class UIWizardNewVMPageBasic2 : public UIWizardPage, public UIWizardNewVMPage2
     52class UIWizardNewVMPageBasicHardware : public UIWizardPage, public UIWizardNewVMPageHardware
    5353{
    5454    Q_OBJECT;
     
    5959
    6060    /* Constructor: */
    61     UIWizardNewVMPageBasic2();
     61    UIWizardNewVMPageBasicHardware();
    6262
    6363private slots:
     
    7878};
    7979
    80 #endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic2_h */
     80#endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicHardware_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicNameType.cpp

    r84885 r84886  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic1 class implementation.
     3 * VBox Qt GUI - UIWizardNewVMPageBasicNameType class implementation.
    44 */
    55
     
    2727#include "UIMessageCenter.h"
    2828#include "UINameAndSystemEditor.h"
    29 #include "UIWizardNewVMPageBasic1.h"
     29#include "UIWizardNewVMPageBasicNameType.h"
    3030#include "UIWizardNewVM.h"
    3131
     
    174174};
    175175
    176 UIWizardNewVMPage1::UIWizardNewVMPage1(const QString &strGroup)
     176UIWizardNewVMPageNameType::UIWizardNewVMPageNameType(const QString &strGroup)
    177177    : m_pNameAndSystemEditor(0)
    178178    , m_strGroup(strGroup)
     
    184184}
    185185
    186 void UIWizardNewVMPage1::onNameChanged(QString strNewName)
     186void UIWizardNewVMPageNameType::onNameChanged(QString strNewName)
    187187{
    188188    /* Do not forget about achitecture bits, if not yet specified: */
     
    204204}
    205205
    206 void UIWizardNewVMPage1::onOsTypeChanged()
     206void UIWizardNewVMPageNameType::onOsTypeChanged()
    207207{
    208208    /* If the user manually edited the OS type, we didn't want our automatic OS type guessing anymore.
     
    212212}
    213213
    214 void UIWizardNewVMPage1::composeMachineFilePath()
     214void UIWizardNewVMPageNameType::composeMachineFilePath()
    215215{
    216216    if (!m_pNameAndSystemEditor)
     
    232232}
    233233
    234 bool UIWizardNewVMPage1::createMachineFolder()
     234bool UIWizardNewVMPageNameType::createMachineFolder()
    235235{
    236236    if (!m_pNameAndSystemEditor)
     
    270270}
    271271
    272 bool UIWizardNewVMPage1::cleanupMachineFolder(bool fWizardCancel /* = false */)
     272bool UIWizardNewVMPageNameType::cleanupMachineFolder(bool fWizardCancel /* = false */)
    273273{
    274274    /* Make sure folder was previosly created: */
     
    289289}
    290290
    291 QString UIWizardNewVMPage1::machineFilePath() const
     291QString UIWizardNewVMPageNameType::machineFilePath() const
    292292{
    293293    return m_strMachineFilePath;
    294294}
    295295
    296 void UIWizardNewVMPage1::setMachineFilePath(const QString &strMachineFilePath)
     296void UIWizardNewVMPageNameType::setMachineFilePath(const QString &strMachineFilePath)
    297297{
    298298    m_strMachineFilePath = strMachineFilePath;
    299299}
    300300
    301 QString UIWizardNewVMPage1::machineFolder() const
     301QString UIWizardNewVMPageNameType::machineFolder() const
    302302{
    303303    return m_strMachineFolder;
    304304}
    305305
    306 void UIWizardNewVMPage1::setMachineFolder(const QString &strMachineFolder)
     306void UIWizardNewVMPageNameType::setMachineFolder(const QString &strMachineFolder)
    307307{
    308308    m_strMachineFolder = strMachineFolder;
    309309}
    310310
    311 QString UIWizardNewVMPage1::machineBaseName() const
     311QString UIWizardNewVMPageNameType::machineBaseName() const
    312312{
    313313    return m_strMachineBaseName;
    314314}
    315315
    316 void UIWizardNewVMPage1::setMachineBaseName(const QString &strMachineBaseName)
     316void UIWizardNewVMPageNameType::setMachineBaseName(const QString &strMachineBaseName)
    317317{
    318318    m_strMachineBaseName = strMachineBaseName;
    319319}
    320320
    321 UIWizardNewVMPageBasic1::UIWizardNewVMPageBasic1(const QString &strGroup)
    322     : UIWizardNewVMPage1(strGroup)
     321UIWizardNewVMPageBasicNameType::UIWizardNewVMPageBasicNameType(const QString &strGroup)
     322    : UIWizardNewVMPageNameType(strGroup)
    323323{
    324324    /* Create widgets: */
     
    333333
    334334    /* Setup connections: */
    335     connect(m_pNameAndSystemEditor, &UINameAndSystemEditor::sigNameChanged, this, &UIWizardNewVMPageBasic1::sltNameChanged);
    336     connect(m_pNameAndSystemEditor, &UINameAndSystemEditor::sigPathChanged, this, &UIWizardNewVMPageBasic1::sltPathChanged);
    337     connect(m_pNameAndSystemEditor, &UINameAndSystemEditor::sigOsTypeChanged, this, &UIWizardNewVMPageBasic1::sltOsTypeChanged);
     335    connect(m_pNameAndSystemEditor, &UINameAndSystemEditor::sigNameChanged, this, &UIWizardNewVMPageBasicNameType::sltNameChanged);
     336    connect(m_pNameAndSystemEditor, &UINameAndSystemEditor::sigPathChanged, this, &UIWizardNewVMPageBasicNameType::sltPathChanged);
     337    connect(m_pNameAndSystemEditor, &UINameAndSystemEditor::sigOsTypeChanged, this, &UIWizardNewVMPageBasicNameType::sltOsTypeChanged);
    338338
    339339    /* Register fields: */
     
    345345}
    346346
    347 void UIWizardNewVMPageBasic1::sltNameChanged(const QString &strNewName)
     347void UIWizardNewVMPageBasicNameType::sltNameChanged(const QString &strNewName)
    348348{
    349349    /* Call to base-class: */
     
    352352}
    353353
    354 void UIWizardNewVMPageBasic1::sltPathChanged(const QString &strNewPath)
     354void UIWizardNewVMPageBasicNameType::sltPathChanged(const QString &strNewPath)
    355355{
    356356    Q_UNUSED(strNewPath);
     
    358358}
    359359
    360 void UIWizardNewVMPageBasic1::sltOsTypeChanged()
     360void UIWizardNewVMPageBasicNameType::sltOsTypeChanged()
    361361{
    362362    /* Call to base-class: */
     
    364364}
    365365
    366 void UIWizardNewVMPageBasic1::retranslateUi()
     366void UIWizardNewVMPageBasicNameType::retranslateUi()
    367367{
    368368    /* Translate page: */
     
    376376}
    377377
    378 void UIWizardNewVMPageBasic1::initializePage()
     378void UIWizardNewVMPageBasicNameType::initializePage()
    379379{
    380380    /* Translate page: */
     
    384384}
    385385
    386 void UIWizardNewVMPageBasic1::cleanupPage()
     386void UIWizardNewVMPageBasicNameType::cleanupPage()
    387387{
    388388    /* Cleanup: */
     
    392392}
    393393
    394 bool UIWizardNewVMPageBasic1::validatePage()
     394bool UIWizardNewVMPageBasicNameType::validatePage()
    395395{
    396396    /* Try to create machine folder: */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicNameType.h

    r84885 r84886  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic1 class declaration.
     3 * VBox Qt GUI - UIWizardNewVMPageBasicNameType class declaration.
    44 */
    55
     
    1616 */
    1717
    18 #ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic1_h
    19 #define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic1_h
     18#ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicNameType_h
     19#define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicNameType_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
     
    3030
    3131/* 1st page of the New Virtual Machine wizard (base part): */
    32 class UIWizardNewVMPage1 : public UIWizardPageBase
     32class UIWizardNewVMPageNameType : public UIWizardPageBase
    3333{
    3434protected:
    3535
    3636    /* Constructor: */
    37     UIWizardNewVMPage1(const QString &strGroup);
     37    UIWizardNewVMPageNameType(const QString &strGroup);
    3838
    3939    /* Handlers: */
     
    8282
    8383/* 1st page of the New Virtual Machine wizard (basic extension): */
    84 class UIWizardNewVMPageBasic1 : public UIWizardPage, public UIWizardNewVMPage1
     84class UIWizardNewVMPageBasicNameType : public UIWizardPage, public UIWizardNewVMPageNameType
    8585{
    8686    Q_OBJECT;
     
    9292
    9393    /* Constructor: */
    94     UIWizardNewVMPageBasic1(const QString &strGroup);
     94    UIWizardNewVMPageBasicNameType(const QString &strGroup);
    9595
    9696protected:
     
    122122};
    123123
    124 #endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic1_h */
     124#endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicNameType_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicUnattended.cpp

    r84885 r84886  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic0 class implementation.
     3 * VBox Qt GUI - UIWizardNewVMPageBasicUnattended class implementation.
    44 */
    55
     
    3030#include "UIMessageCenter.h"
    3131#include "UINameAndSystemEditor.h"
    32 #include "UIWizardNewVMPageBasic0.h"
     32#include "UIWizardNewVMPageBasicUnattended.h"
    3333#include "UIWizardNewVM.h"
    3434
     
    3838
    3939
    40 UIWizardNewVMPage0::UIWizardNewVMPage0()
     40UIWizardNewVMPageUnattended::UIWizardNewVMPageUnattended()
    4141    : m_pUnattendedCheckBox(0)
    4242    , m_pStartHeadlessCheckBox(0)
     
    4545}
    4646
    47 QString UIWizardNewVMPage0::ISOFilePath() const
     47QString UIWizardNewVMPageUnattended::ISOFilePath() const
    4848{
    4949    if (!m_pISOFilePathSelector)
     
    5252}
    5353
    54 bool UIWizardNewVMPage0::isUnattendedEnabled() const
     54bool UIWizardNewVMPageUnattended::isUnattendedEnabled() const
    5555{
    5656    if (!m_pUnattendedCheckBox)
     
    5959}
    6060
    61 bool UIWizardNewVMPage0::startHeadless() const
     61bool UIWizardNewVMPageUnattended::startHeadless() const
    6262{
    6363    if (!m_pStartHeadlessCheckBox)
     
    6666}
    6767
    68 UIWizardNewVMPageBasic0::UIWizardNewVMPageBasic0()
    69     : UIWizardNewVMPage0()
     68UIWizardNewVMPageBasicUnattended::UIWizardNewVMPageBasicUnattended()
     69    : UIWizardNewVMPageUnattended()
    7070{
    7171    /* Create widgets: */
     
    7474        m_pLabel = new QIRichTextLabel(this);
    7575        m_pUnattendedCheckBox = new QCheckBox;
    76         connect(m_pUnattendedCheckBox, &QCheckBox::toggled, this, &UIWizardNewVMPageBasic0::sltUnattendedCheckBoxToggle);
     76        connect(m_pUnattendedCheckBox, &QCheckBox::toggled, this, &UIWizardNewVMPageBasicUnattended::sltUnattendedCheckBoxToggle);
    7777        m_pISOSelectorLabel = new QLabel;
    7878        {
     
    8787            m_pISOFilePathSelector->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum);
    8888            m_pISOFilePathSelector->setEnabled(false);
    89             connect(m_pISOFilePathSelector, &UIFilePathSelector::pathChanged, this, &UIWizardNewVMPageBasic0::sltPathChanged);
     89            connect(m_pISOFilePathSelector, &UIFilePathSelector::pathChanged, this, &UIWizardNewVMPageBasicUnattended::sltPathChanged);
    9090        }
    9191        m_pStartHeadlessCheckBox = new QCheckBox;
     
    112112}
    113113
    114 bool UIWizardNewVMPageBasic0::isComplete() const
     114bool UIWizardNewVMPageBasicUnattended::isComplete() const
    115115{
    116116    bool fISOFileOK = checkISOFile();
     
    119119}
    120120
    121 void UIWizardNewVMPageBasic0::sltUnattendedCheckBoxToggle(bool fEnabled)
     121void UIWizardNewVMPageBasicUnattended::sltUnattendedCheckBoxToggle(bool fEnabled)
    122122{
    123123    if (m_pISOSelectorLabel)
     
    130130}
    131131
    132 void UIWizardNewVMPageBasic0::sltPathChanged(const QString &strPath)
     132void UIWizardNewVMPageBasicUnattended::sltPathChanged(const QString &strPath)
    133133{
    134134    Q_UNUSED(strPath);
     
    136136}
    137137
    138 void UIWizardNewVMPageBasic0::retranslateUi()
     138void UIWizardNewVMPageBasicUnattended::retranslateUi()
    139139{
    140140    /* Translate page: */
     
    154154}
    155155
    156 bool UIWizardNewVMPageBasic0::checkISOFile() const
     156bool UIWizardNewVMPageBasicUnattended::checkISOFile() const
    157157{
    158158    if (m_pUnattendedCheckBox && m_pUnattendedCheckBox->isChecked())
     
    165165}
    166166
    167 void UIWizardNewVMPageBasic0::initializePage()
     167void UIWizardNewVMPageBasicUnattended::initializePage()
    168168{
    169169    /* Translate page: */
     
    173173}
    174174
    175 void UIWizardNewVMPageBasic0::cleanupPage()
     175void UIWizardNewVMPageBasicUnattended::cleanupPage()
    176176{
    177177    UIWizardPage::cleanupPage();
    178178}
    179179
    180 bool UIWizardNewVMPageBasic0::validatePage()
     180bool UIWizardNewVMPageBasicUnattended::validatePage()
    181181{
    182182    return checkISOFile();
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicUnattended.h

    r84885 r84886  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic0 class declaration.
     3 * VBox Qt GUI - UIWizardNewVMPageBasicUnattended class declaration.
    44 */
    55
     
    1616 */
    1717
    18 #ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic0_h
    19 #define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic0_h
     18#ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicUnattended_h
     19#define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicUnattended_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
     
    3333
    3434/* 1st page of the New Virtual Machine wizard (base part): */
    35 class UIWizardNewVMPage0 : public UIWizardPageBase
     35class UIWizardNewVMPageUnattended : public UIWizardPageBase
    3636{
    3737protected:
    3838
    3939    /* Constructor: */
    40     UIWizardNewVMPage0();
     40    UIWizardNewVMPageUnattended();
    4141
    4242    QString ISOFilePath() const;
     
    5555
    5656/* 1st page of the New Virtual Machine wizard (basic extension): */
    57 class UIWizardNewVMPageBasic0 : public UIWizardPage, public UIWizardNewVMPage0
     57class UIWizardNewVMPageBasicUnattended : public UIWizardPage, public UIWizardNewVMPageUnattended
    5858{
    5959    Q_OBJECT;
     
    6565
    6666    /* Constructor: */
    67     UIWizardNewVMPageBasic0();
     67    UIWizardNewVMPageBasicUnattended();
    6868    virtual bool isComplete() const; /* override */
    6969
     
    9797};
    9898
    99 #endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic0_h */
     99#endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasicUnattended_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp

    r84874 r84886  
    4040
    4141UIWizardNewVMPageExpert::UIWizardNewVMPageExpert(const QString &strGroup)
    42     : UIWizardNewVMPage1(strGroup)
     42    : UIWizardNewVMPageNameType(strGroup)
    4343{
    4444    /* Create widgets: */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.h

    r84874 r84886  
    2323
    2424/* Local includes: */
    25 #include "UIWizardNewVMPageBasic1.h"
    26 #include "UIWizardNewVMPageBasic2.h"
    27 #include "UIWizardNewVMPageBasic3.h"
     25#include "UIWizardNewVMPageBasicNameType.h"
     26#include "UIWizardNewVMPageBasicHardware.h"
     27#include "UIWizardNewVMPageBasicDisk.h"
    2828
    2929/* Forward declarations: */
     
    3232/* Expert page of the New Virtual Machine wizard: */
    3333class UIWizardNewVMPageExpert : public UIWizardPage,
    34                                 public UIWizardNewVMPage1,
    35                                 public UIWizardNewVMPage2,
    36                                 public UIWizardNewVMPage3
     34                                public UIWizardNewVMPageNameType,
     35                                public UIWizardNewVMPageHardware,
     36                                public UIWizardNewVMPageDisk
    3737{
    3838    Q_OBJECT;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette