Changeset 90885 in vbox for trunk/src/VBox
- Timestamp:
- Aug 25, 2021 2:28:36 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageExpert.cpp
r90854 r90885 47 47 if (m_pMediumSizePathGroupBox) 48 48 { 49 pMainLayout->addWidget(m_pMediumSizePathGroupBox, 0, 0, 2, 2);49 pMainLayout->addWidget(m_pMediumSizePathGroupBox, 0, 0, 4, 2); 50 50 connect(m_pMediumSizePathGroupBox, &UIMediumSizeAndPathGroupBox::sigMediumLocationButtonClicked, 51 51 this, &UIWizardCloneVDPageExpert::sltSelectLocationButtonClicked); … … 59 59 if (m_pFormatGroupBox) 60 60 { 61 pMainLayout-> addWidget(m_pFormatGroupBox, 2, 0, 6, 1);61 pMainLayout-> addWidget(m_pFormatGroupBox, 4, 0, 7, 1); 62 62 connect(m_pFormatGroupBox, &UIDiskFormatsGroupBox::sigMediumFormatChanged, 63 63 this, &UIWizardCloneVDPageExpert::sltMediumFormatChanged); … … 67 67 if (m_pVariantGroupBox) 68 68 { 69 pMainLayout-> addWidget(m_pVariantGroupBox, 2, 1, 6, 1);69 pMainLayout-> addWidget(m_pVariantGroupBox, 4, 1, 3, 1); 70 70 connect(m_pVariantGroupBox, &UIDiskVariantGroupBox::sigMediumVariantChanged, 71 71 this, &UIWizardCloneVDPageExpert::sltMediumVariantChanged); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageExpert.cpp
r90763 r90885 68 68 m_pVariantGroup = new UIDiskVariantGroupBox(true /* fExpertMode */, 0); 69 69 70 pMainLayout->addWidget(m_pSizeAndPathGroup, 0, 0, 2, 2);71 pMainLayout->addWidget(m_pFormatGroup, 2, 0, 6, 1);72 pMainLayout->addWidget(m_pVariantGroup, 2, 1, 6, 1);70 pMainLayout->addWidget(m_pSizeAndPathGroup, 0, 0, 4, 2); 71 pMainLayout->addWidget(m_pFormatGroup, 4, 0, 7, 1); 72 pMainLayout->addWidget(m_pVariantGroup, 4, 1, 3, 1); 73 73 74 74 connect(m_pFormatGroup, &UIDiskFormatsGroupBox::sigMediumFormatChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp
r90763 r90885 398 398 399 399 setOSTypeDependedValues(); 400 setSkipCheckBoxEnable(); 400 401 disableEnableUnattendedRelatedWidgets(isUnattendedEnabled()); 401 402 updateDiskWidgetsAfterMediumFormatChange(); … … 868 869 void UIWizardNewVMPageExpert::setSkipCheckBoxEnable() 869 870 { 870 if (!m_pSkipUnattendedCheckBox) 871 AssertReturnVoid(m_pSkipUnattendedCheckBox && m_pNameAndSystemEditor); 872 const QString &strPath = m_pNameAndSystemEditor->image(); 873 if (strPath.isNull() || strPath.isEmpty()) 874 { 875 m_pSkipUnattendedCheckBox->setEnabled(false); 871 876 return; 872 if (m_pNameAndSystemEditor) 873 { 874 const QString &strPath = m_pNameAndSystemEditor->image(); 875 m_pSkipUnattendedCheckBox->setEnabled(!strPath.isNull() && !strPath.isEmpty()); 876 } 877 } 878 m_pSkipUnattendedCheckBox->setEnabled(UIWizardNewVMNameOSTypePage::checkISOFile(m_pNameAndSystemEditor)); 877 879 } 878 880
Note:
See TracChangeset
for help on using the changeset viewer.