VirtualBox

Changeset 87589 in vbox


Ignore:
Timestamp:
Feb 3, 2021 5:17:19 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9515. Renaming page5 as page4.

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

Legend:

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

    r87575 r87589  
    656656        src/wizards/newvm/UIWizardNewVMPageBasic2.h \
    657657        src/wizards/newvm/UIWizardNewVMPageBasic3.h \
    658         src/wizards/newvm/UIWizardNewVMPageBasic5.h \
     658        src/wizards/newvm/UIWizardNewVMPageBasic4.h \
    659659        src/wizards/newvm/UIWizardNewVMPageExpert.h \
    660660        src/wizards/clonevm/UIWizardCloneVM.h \
     
    11381138        src/wizards/newvm/UIWizardNewVMPageBasic2.cpp \
    11391139        src/wizards/newvm/UIWizardNewVMPageBasic3.cpp \
    1140         src/wizards/newvm/UIWizardNewVMPageBasic5.cpp \
     1140        src/wizards/newvm/UIWizardNewVMPageBasic4.cpp \
    11411141        src/wizards/newvm/UIWizardNewVMPageExpert.cpp \
    11421142        src/wizards/clonevm/UIWizardCloneVM.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp

    r87575 r87589  
    2626#include "UIWizardNewVMPageBasic2.h"
    2727#include "UIWizardNewVMPageBasic3.h"
    28 #include "UIWizardNewVMPageBasic5.h"
     28#include "UIWizardNewVMPageBasic4.h"
    2929#include "UIWizardNewVMPageExpert.h"
    3030#include "UIMessageCenter.h"
     
    8383            setPage(Page2, new UIWizardNewVMPageBasic2);
    8484            setPage(Page3, new UIWizardNewVMPageBasic3);
    85             setPage(Page5, new UIWizardNewVMPageBasic5);
     85            setPage(Page4, new UIWizardNewVMPageBasic4);
    8686            setStartId(Page1);
    8787            break;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.h

    r87575 r87589  
    6363        Page2,
    6464        Page3,
    65         Page5,
     65        Page4,
    6666        PageMax
    6767    };
     
    9999
    100100    /* Who will be able to create virtual-machine: */
    101     friend class UIWizardNewVMPageBasic5;
     101    friend class UIWizardNewVMPageBasic4;
    102102    friend class UIWizardNewVMPageExpert;
    103103
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic4.cpp

    r87588 r87589  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic5 class implementation.
     3 * VBox Qt GUI - UIWizardNewVMPageBasic4 class implementation.
    44 */
    55
     
    3232#include "UIWizardNewVD.h"
    3333#include "UIWizardNewVM.h"
    34 #include "UIWizardNewVMPageBasic5.h"
    35 
    36 UIWizardNewVMPage5::UIWizardNewVMPage5()
     34#include "UIWizardNewVMPageBasic4.h"
     35
     36UIWizardNewVMPage4::UIWizardNewVMPage4()
    3737    : m_fRecommendedNoDisk(false)
    3838    , m_pDiskSkip(0)
     
    4444}
    4545
    46 void UIWizardNewVMPage5::updateVirtualDiskSource()
     46void UIWizardNewVMPage4::updateVirtualDiskSource()
    4747{
    4848    if (!m_pDiskSelector || !m_pVMMButton)
     
    6868}
    6969
    70 void UIWizardNewVMPage5::getWithFileOpenDialog()
     70void UIWizardNewVMPage4::getWithFileOpenDialog()
    7171{
    7272    /* Get opened medium id: */
     
    9191}
    9292
    93 bool UIWizardNewVMPage5::getWithNewVirtualDiskWizard()
     93bool UIWizardNewVMPage4::getWithNewVirtualDiskWizard()
    9494{
    9595    /* Create New Virtual Hard Drive wizard: */
     
    113113}
    114114
    115 void UIWizardNewVMPage5::ensureNewVirtualDiskDeleted()
     115void UIWizardNewVMPage4::ensureNewVirtualDiskDeleted()
    116116{
    117117    /* Make sure virtual-disk valid: */
     
    137137}
    138138
    139 void UIWizardNewVMPage5::retranslateWidgets()
     139void UIWizardNewVMPage4::retranslateWidgets()
    140140{
    141141    if (m_pDiskSkip)
     
    149149}
    150150
    151 QWidget *UIWizardNewVMPage5::createDiskWidgets()
     151QWidget *UIWizardNewVMPage4::createDiskWidgets()
    152152{
    153153    QWidget *pDiskContainer = new QWidget;
     
    179179}
    180180
    181 UIWizardNewVMPageBasic5::UIWizardNewVMPageBasic5()
     181UIWizardNewVMPageBasic4::UIWizardNewVMPageBasic4()
    182182    : m_pLabel(0)
    183183{
     
    190190}
    191191
    192 void UIWizardNewVMPageBasic5::prepare()
     192void UIWizardNewVMPageBasic4::prepare()
    193193{
    194194    QVBoxLayout *pMainLayout = new QVBoxLayout(this);
     
    203203}
    204204
    205 void UIWizardNewVMPageBasic5::createConnections()
     205void UIWizardNewVMPageBasic4::createConnections()
    206206{
    207207    connect(m_pDiskSkip, &QRadioButton::toggled,
    208             this, &UIWizardNewVMPageBasic5::sltVirtualDiskSourceChanged);
     208            this, &UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged);
    209209    connect(m_pDiskCreate, &QRadioButton::toggled,
    210             this, &UIWizardNewVMPageBasic5::sltVirtualDiskSourceChanged);
     210            this, &UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged);
    211211    connect(m_pDiskPresent, &QRadioButton::toggled,
    212             this, &UIWizardNewVMPageBasic5::sltVirtualDiskSourceChanged);
     212            this, &UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged);
    213213    connect(m_pDiskSelector, static_cast<void(UIMediaComboBox::*)(int)>(&UIMediaComboBox::currentIndexChanged),
    214             this, &UIWizardNewVMPageBasic5::sltVirtualDiskSourceChanged);
     214            this, &UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged);
    215215    connect(m_pVMMButton, &QIToolButton::clicked,
    216             this, &UIWizardNewVMPageBasic5::sltGetWithFileOpenDialog);
    217 }
    218 
    219 void UIWizardNewVMPageBasic5::sltVirtualDiskSourceChanged()
     216            this, &UIWizardNewVMPageBasic4::sltGetWithFileOpenDialog);
     217}
     218
     219void UIWizardNewVMPageBasic4::sltVirtualDiskSourceChanged()
    220220{
    221221    /* Call to base-class: */
     
    226226}
    227227
    228 void UIWizardNewVMPageBasic5::sltGetWithFileOpenDialog()
     228void UIWizardNewVMPageBasic4::sltGetWithFileOpenDialog()
    229229{
    230230    /* Call to base-class: */
     
    232232}
    233233
    234 void UIWizardNewVMPageBasic5::retranslateUi()
     234void UIWizardNewVMPageBasic4::retranslateUi()
    235235{
    236236    setTitle(UIWizardNewVM::tr("Hard disk and Hardware"));
     
    250250}
    251251
    252 void UIWizardNewVMPageBasic5::initializePage()
     252void UIWizardNewVMPageBasic4::initializePage()
    253253{
    254254    retranslateUi();
     
    281281}
    282282
    283 void UIWizardNewVMPageBasic5::cleanupPage()
     283void UIWizardNewVMPageBasic4::cleanupPage()
    284284{
    285285    /* Call to base-class: */
     
    288288}
    289289
    290 bool UIWizardNewVMPageBasic5::isComplete() const
     290bool UIWizardNewVMPageBasic4::isComplete() const
    291291{
    292292    if (!m_pDiskSkip)
     
    297297}
    298298
    299 bool UIWizardNewVMPageBasic5::validatePage()
     299bool UIWizardNewVMPageBasic4::validatePage()
    300300{
    301301    /* Initial result: */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic4.h

    r87588 r87589  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UIWizardNewVMPageBasic5 class declaration.
     3 * VBox Qt GUI - UIWizardNewVMPageBasic4 class declaration.
    44 */
    55
     
    1616 */
    1717
    18 #ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic5_h
    19 #define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic5_h
     18#ifndef FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic4_h
     19#define FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic4_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
     
    3939
    4040/** 3rd page of the New Virtual Machine wizard (base part). */
    41 class UIWizardNewVMPage5 : public UIWizardPageBase
     41class UIWizardNewVMPage4 : public UIWizardPageBase
    4242{
    4343
     
    4545
    4646    /** Constructor. */
    47     UIWizardNewVMPage5();
     47    UIWizardNewVMPage4();
    4848
    4949    /** Handlers. */
     
    9494
    9595/** 3rd page of the New Virtual Machine wizard (basic extension). */
    96 class UIWizardNewVMPageBasic5 : public UIWizardPage, public UIWizardNewVMPage5
     96class UIWizardNewVMPageBasic4 : public UIWizardPage, public UIWizardNewVMPage4
    9797{
    9898    Q_OBJECT;
     
    105105
    106106    /** Constructor. */
    107     UIWizardNewVMPageBasic5();
     107    UIWizardNewVMPageBasic4();
    108108
    109109protected:
     
    140140};
    141141
    142 #endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic5_h */
     142#endif /* !FEQT_INCLUDED_SRC_wizards_newvm_UIWizardNewVMPageBasic4_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp

    r87575 r87589  
    185185    UIWizardNewVMPage2::retranslateWidgets();
    186186    UIWizardNewVMPage3::retranslateWidgets();
    187     UIWizardNewVMPage5::retranslateWidgets();
     187    UIWizardNewVMPage4::retranslateWidgets();
    188188
    189189    if (m_pInstallationISOContainer)
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.h

    r87575 r87589  
    2626#include "UIWizardNewVMPageBasic2.h"
    2727#include "UIWizardNewVMPageBasic3.h"
    28 #include "UIWizardNewVMPageBasic5.h"
     28#include "UIWizardNewVMPageBasic4.h"
    2929
    3030/* Forward declarations: */
     
    3737                                public UIWizardNewVMPage2,
    3838                                public UIWizardNewVMPage3,
    39                                 public UIWizardNewVMPage5
     39                                public UIWizardNewVMPage4
    4040{
    4141
Note: See TracChangeset for help on using the changeset viewer.

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