Changeset 88116 in vbox
- Timestamp:
- Mar 15, 2021 10:33:53 AM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp
r88115 r88116 478 478 registerField("ISOFilePath", this, "ISOFilePath"); 479 479 registerField("isUnattendedEnabled", this, "isUnattendedEnabled"); 480 //registerField("skipUnattendedInstall", this, "skipUnattendedInstall");481 480 registerField("detectedOSTypeId", this, "detectedOSTypeId"); 482 481 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.h
r88115 r88116 126 126 Q_PROPERTY(QString ISOFilePath READ ISOFilePath); 127 127 Q_PROPERTY(bool isUnattendedEnabled READ isUnattendedEnabled); 128 //Q_PROPERTY(bool skipUnattendedInstall READ skipUnattendedInstall);129 128 Q_PROPERTY(QString detectedOSTypeId READ detectedOSTypeId); 130 129 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.cpp
r88115 r88116 83 83 registerField("ISOFilePath", this, "ISOFilePath"); 84 84 registerField("isUnattendedEnabled", this, "isUnattendedEnabled"); 85 //registerField("skipUnattendedInstall", this, "skipUnattendedInstall");86 85 registerField("startHeadless", this, "startHeadless"); 87 86 registerField("detectedOSTypeId", this, "detectedOSTypeId"); … … 138 137 if (fileInfo.exists() && fileInfo.isReadable()) 139 138 uiCommon().updateRecentlyUsedMediumListAndFolder(UIMediumDeviceType_DVD, strPath); 139 setSkipCheckBoxEnable(); 140 140 emit completeChanged(); 141 141 } … … 254 254 this, &UIWizardNewVMPageExpert::sltValueModified); 255 255 } 256 connect(m_pSkipUnattendedCheckBox, &QCheckBox::toggled, this, &UIWizardNewVMPageExpert::sltSkipUnattendedCheckBoxChecked); 256 257 } 257 258 … … 323 324 updateVirtualDiskPathFromMachinePathName(); 324 325 updateWidgetAterMediumFormatChange(); 326 setSkipCheckBoxEnable(); 325 327 retranslateUi(); 326 328 } … … 434 436 if (!checkISOFile()) 435 437 { 436 m_pToolBox->setPageTitleIcon(ExpertToolboxItems_ Unattended,438 m_pToolBox->setPageTitleIcon(ExpertToolboxItems_NameAndOSType, 437 439 UIIconPool::iconSet(":/status_error_16px.png"), 438 440 UIWizardNewVM::tr("Invalid path or unreadable ISO file")); … … 542 544 return; 543 545 m_userSetWidgets << pSenderWidget; 546 } 547 548 void UIWizardNewVMPageExpert::sltSkipUnattendedCheckBoxChecked() 549 { 550 disableEnableUnattendedRelatedWidgets(isUnattendedEnabled()); 544 551 } 545 552 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.h
r88115 r88116 55 55 Q_PROPERTY(QString ISOFilePath READ ISOFilePath); 56 56 Q_PROPERTY(bool isUnattendedEnabled READ isUnattendedEnabled); 57 //Q_PROPERTY(bool skipUnattendedInstall READ skipUnattendedInstall);58 57 Q_PROPERTY(bool startHeadless READ startHeadless); 59 58 Q_PROPERTY(QString detectedOSTypeId READ detectedOSTypeId); … … 99 98 void sltInstallGACheckBoxToggle(bool fEnabled); 100 99 void sltValueModified(); 100 void sltSkipUnattendedCheckBoxChecked(); 101 101 void sltMediumFormatChanged(); 102 102 void sltMediumSizeChanged();
Note:
See TracChangeset
for help on using the changeset viewer.