VirtualBox

Changeset 91025 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 31, 2021 10:52:50 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996. Some cleaning

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp

    r90757 r91025  
    309309void UIWizardNewVM::configureVM(const QString &strGuestTypeId, const CGuestOSType &comGuestType)
    310310{
    311     Q_UNUSED(strGuestTypeId);
    312     Q_UNUSED(comGuestType);
    313311    /* Get graphics adapter: */
    314312    CGraphicsAdapter comGraphics = m_machine.GetGraphicsAdapter();
     
    550548    UINativeWizard::retranslateUi();
    551549    setWindowTitle(tr("Create Virtual Machine"));
    552     // setButtonText(QWizard::FinishButton, tr("Create"));
    553550}
    554551
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.h

    r90990 r91025  
    183183       mutable UIUnattendedInstallData m_unattendedInstallData;
    184184
    185       /** Path of the ISO file attached to the new vm. Possibly used for the unattended install. */
    186       QString m_strISOFilePath;
    187 
    188       /** Path of the folder created by this wizard page. Used to remove previously created
    189         *  folder. see cleanupMachineFolder();*/
    190       QString m_strCreatedFolder;
    191 
    192       /** Full path (including the file name) of the machine's configuration file. */
    193       QString m_strMachineFilePath;
    194       /** Path of the folder hosting the machine's configuration file. Generated from m_strMachineFilePath. */
    195       QString m_strMachineFolder;
    196       /** Base name of the machine is generated from the m_strMachineFilePath. */
    197       QString m_strMachineBaseName;
    198 
    199       /** Type Id od the OS detected from the ISO file by IUnattended. */
    200       QString m_strDetectedOSTypeId;
    201 
    202       /** Holds the VM OS family ID. */
    203       QString  m_strGuestOSFamilyId;
    204       /** Holds the VM OS type. */
    205       CGuestOSType m_comGuestOSType;
    206 
    207       /** True if guest additions are to be installed during unattended install. */
    208       bool m_fInstallGuestAdditions;
    209       bool m_fSkipUnattendedInstall;
    210       bool m_fEFIEnabled;
    211 
    212       int m_iCPUCount;
    213       int m_iMemorySize;
    214       int m_iUnattendedInstallPageIndex;
    215 
    216       qulonglong m_uMediumVariant;
    217       CMediumFormat m_comMediumFormat;
    218       QString m_strMediumPath;
    219       qulonglong m_uMediumSize;
     185       /** Path of the ISO file attached to the new vm. Possibly used for the unattended install. */
     186       QString m_strISOFilePath;
     187
     188       /** Path of the folder created by this wizard page. Used to remove previously created
     189         *  folder. see cleanupMachineFolder();*/
     190       QString m_strCreatedFolder;
     191
     192       /** Full path (including the file name) of the machine's configuration file. */
     193       QString m_strMachineFilePath;
     194       /** Path of the folder hosting the machine's configuration file. Generated from m_strMachineFilePath. */
     195       QString m_strMachineFolder;
     196       /** Base name of the machine is generated from the m_strMachineFilePath. */
     197       QString m_strMachineBaseName;
     198
     199       /** Type Id od the OS detected from the ISO file by IUnattended. */
     200       QString m_strDetectedOSTypeId;
     201
     202       /** Holds the VM OS family ID. */
     203       QString  m_strGuestOSFamilyId;
     204       /** Holds the VM OS type. */
     205       CGuestOSType m_comGuestOSType;
     206
     207       /** True if guest additions are to be installed during unattended install. */
     208       bool m_fInstallGuestAdditions;
     209       bool m_fSkipUnattendedInstall;
     210       bool m_fEFIEnabled;
     211
     212       int m_iCPUCount;
     213       int m_iMemorySize;
     214       int m_iUnattendedInstallPageIndex;
     215
     216       qulonglong m_uMediumVariant;
     217       CMediumFormat m_comMediumFormat;
     218       QString m_strMediumPath;
     219       qulonglong m_uMediumSize;
    220220    /** @} */
    221221};
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMHardwarePageBasic.cpp

    r90990 r91025  
    9898}
    9999
    100 void UIWizardNewVMHardwarePageBasic::cleanupPage()
    101 {
    102     //UIWizardPage::cleanupPage();
    103 }
    104 
    105100bool UIWizardNewVMHardwarePageBasic::isComplete() const
    106101{
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMHardwarePageBasic.h

    r90990 r91025  
    6161    void retranslateUi();
    6262    void initializePage();
    63     void cleanupPage();
    6463    bool isComplete() const;
    6564
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp

    r90990 r91025  
    405405}
    406406
    407 void UIWizardNewVMPageExpert::cleanupPage()
    408 {
    409     //cleanupMachineFolder();
    410 }
    411 
    412407void UIWizardNewVMPageExpert::markWidgets() const
    413408{
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPageBasic.cpp

    r90990 r91025  
    172172}
    173173
    174 void UIWizardNewVMUnattendedPageBasic::cleanupPage()
    175 {
    176 }
    177 
    178174void UIWizardNewVMUnattendedPageBasic::showEvent(QShowEvent *pEvent)
    179175{
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPageBasic.h

    r90990 r91025  
    5050    virtual void showEvent(QShowEvent *pEvent) /* override final*/;
    5151    /** Don't reset the user entered values in case of "back" button press. */
    52     virtual void cleanupPage() /* override */;
    5352
    5453private slots:
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