VirtualBox

Ignore:
Timestamp:
Oct 24, 2017 11:28:50 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9025: Reworking clone VD to copy any kind of virtual disk images, not just virtual hard disks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic3.cpp

    r69187 r69200  
    7878}
    7979
    80 UIWizardCloneVDPageBasic3::UIWizardCloneVDPageBasic3()
     80UIWizardCloneVDPageBasic3::UIWizardCloneVDPageBasic3(KDeviceType enmDeviceType)
    8181{
    8282    /* Create widgets: */
     
    9292            {
    9393                m_pDynamicalButton = new QRadioButton(this);
     94                if (enmDeviceType == KDeviceType_HardDisk)
    9495                {
    9596                    m_pDynamicalButton->click();
     
    9798                }
    9899                m_pFixedButton = new QRadioButton(this);
     100                if (   enmDeviceType == KDeviceType_DVD
     101                    || enmDeviceType == KDeviceType_Floppy)
     102                {
     103                    m_pFixedButton->click();
     104                    m_pFixedButton->setFocus();
     105                }
    99106                m_pVariantButtonGroup->addButton(m_pDynamicalButton, 0);
    100107                m_pVariantButtonGroup->addButton(m_pFixedButton, 1);
     
    127134
    128135    /* Translate widgets: */
    129     m_pDescriptionLabel->setText(UIWizardCloneVD::tr("Please choose whether the new virtual hard disk file should grow as it is used "
     136    m_pDescriptionLabel->setText(UIWizardCloneVD::tr("Please choose whether the new virtual disk image file should grow as it is used "
    130137                                                     "(dynamically allocated) or if it should be created at its maximum size (fixed size)."));
    131     m_pDynamicLabel->setText(UIWizardCloneVD::tr("<p>A <b>dynamically allocated</b> hard disk file will only use space "
     138    m_pDynamicLabel->setText(UIWizardCloneVD::tr("<p>A <b>dynamically allocated</b> disk image file will only use space "
    132139                                                 "on your physical hard disk as it fills up (up to a maximum <b>fixed size</b>), "
    133140                                                 "although it will not shrink again automatically when space on it is freed.</p>"));
    134     m_pFixedLabel->setText(UIWizardCloneVD::tr("<p>A <b>fixed size</b> hard disk file may take longer to create on some "
     141    m_pFixedLabel->setText(UIWizardCloneVD::tr("<p>A <b>fixed size</b> disk image file may take longer to create on some "
    135142                                               "systems but is often faster to use.</p>"));
    136     m_pSplitLabel->setText(UIWizardCloneVD::tr("<p>You can also choose to <b>split</b> the hard disk file into several files "
     143    m_pSplitLabel->setText(UIWizardCloneVD::tr("<p>You can also choose to <b>split</b> the disk image file into several files "
    137144                                               "of up to two gigabytes each. This is mainly useful if you wish to store the "
    138145                                               "virtual machine on removable USB devices or old systems, some of which cannot "
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