Changeset 69200 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic3.cpp
- Timestamp:
- Oct 24, 2017 11:28:50 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic3.cpp
r69187 r69200 78 78 } 79 79 80 UIWizardCloneVDPageBasic3::UIWizardCloneVDPageBasic3( )80 UIWizardCloneVDPageBasic3::UIWizardCloneVDPageBasic3(KDeviceType enmDeviceType) 81 81 { 82 82 /* Create widgets: */ … … 92 92 { 93 93 m_pDynamicalButton = new QRadioButton(this); 94 if (enmDeviceType == KDeviceType_HardDisk) 94 95 { 95 96 m_pDynamicalButton->click(); … … 97 98 } 98 99 m_pFixedButton = new QRadioButton(this); 100 if ( enmDeviceType == KDeviceType_DVD 101 || enmDeviceType == KDeviceType_Floppy) 102 { 103 m_pFixedButton->click(); 104 m_pFixedButton->setFocus(); 105 } 99 106 m_pVariantButtonGroup->addButton(m_pDynamicalButton, 0); 100 107 m_pVariantButtonGroup->addButton(m_pFixedButton, 1); … … 127 134 128 135 /* Translate widgets: */ 129 m_pDescriptionLabel->setText(UIWizardCloneVD::tr("Please choose whether the new virtual hard diskfile 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 " 130 137 "(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 diskfile will only use space "138 m_pDynamicLabel->setText(UIWizardCloneVD::tr("<p>A <b>dynamically allocated</b> disk image file will only use space " 132 139 "on your physical hard disk as it fills up (up to a maximum <b>fixed size</b>), " 133 140 "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 diskfile 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 " 135 142 "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 diskfile 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 " 137 144 "of up to two gigabytes each. This is mainly useful if you wish to store the " 138 145 "virtual machine on removable USB devices or old systems, some of which cannot "
Note:
See TracChangeset
for help on using the changeset viewer.