- Timestamp:
- Jul 8, 2021 2:51:38 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145601
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r90090 r90101 86 86 switch (mode()) 87 87 { 88 case WizardMode_Expert: 88 89 case WizardMode_Basic: 89 90 { … … 95 96 break; 96 97 } 97 case WizardMode_Expert:98 {99 // addPage(new UIWizardNewCloudVMPageExpert(m_fFullWizard));100 break;101 }98 // case WizardMode_Expert: 99 // { 100 // // addPage(new UIWizardNewCloudVMPageExpert(m_fFullWizard)); 101 // break; 102 // } 102 103 default: 103 104 { … … 568 569 void UIWizardNewVM::setFieldsFromDefaultUnttendedInstallData() 569 570 { 570 // setField("userName", m_unattendedInstallData.m_strUserName);571 // setField("password", m_unattendedInstallData.m_strPassword);572 // setField("hostname", m_unattendedInstallData.m_strHostname);573 // setField("installGuestAdditions", m_unattendedInstallData.m_fInstallGuestAdditions);574 // setField("guestAdditionsISOPath", m_unattendedInstallData.m_strGuestAdditionsISOPath);571 m_strUserName = m_unattendedInstallData.m_strUserName; 572 m_strPassword = m_unattendedInstallData.m_strPassword; 573 m_strHostname = m_unattendedInstallData.m_strHostname; 574 m_fInstallGuestAdditions = m_unattendedInstallData.m_fInstallGuestAdditions; 575 m_strGuestAdditionsISOPath = m_unattendedInstallData.m_strGuestAdditionsISOPath; 575 576 } 576 577 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePageBasic.cpp
r90096 r90101 284 284 } 285 285 286 // QString UIWizardNewVMNameOSTypePage::machineBaseName() const287 // {288 // return m_strMachineBaseName;289 // }290 291 // void UIWizardNewVMNameOSTypePage::setMachineBaseName(const QString &strMachineBaseName)292 // {293 // m_strMachineBaseName = strMachineBaseName;294 // }295 296 297 // QString UIWizardNewVMNameOSTypePage::ISOFilePath() const298 // {299 // if (!m_pNameAndSystemEditor)300 // return QString();301 // return m_pNameAndSystemEditor->image();302 // }303 304 305 286 void UIWizardNewVMNameOSTypePage::determineOSType(const QString &strISOPath, UIWizardNewVM *pWizard) 306 287 { … … 359 340 360 341 createConnections(); 361 // /* Register fields: */362 // registerField("name*", m_pNameAndSystemEditor, "name", SIGNAL(sigNameChanged(const QString &)));363 // registerField("type", m_pNameAndSystemEditor, "type", SIGNAL(sigOsTypeChanged()));364 // registerField("machineFilePath", this, "machineFilePath");365 // registerField("machineFolder", this, "machineFolder");366 // registerField("machineBaseName", this, "machineBaseName");367 // registerField("guestOSFamiyId", this, "guestOSFamiyId");368 // registerField("startHeadless", this, "startHeadless");369 // registerField("ISOFilePath", this, "ISOFilePath");370 // registerField("isUnattendedEnabled", this, "isUnattendedEnabled");371 // registerField("detectedOSTypeId", this, "detectedOSTypeId");372 342 } 373 343 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPageBasic.cpp
r90066 r90101 153 153 disableEnableGAWidgets(m_pGAInstallationISOContainer ? m_pGAInstallationISOContainer->isChecked() : false); 154 154 retranslateUi(); 155 156 /* Initialize user/password if they are not modified by the user: */ 157 if (m_pUserNamePasswordEditor) 158 { 159 m_pUserNamePasswordEditor->blockSignals(true); 160 if (!m_userModifiedParameters.contains("UserName")) 161 { 162 163 } 164 m_pUserNamePasswordEditor->blockSignals(false); 165 166 } 155 167 } 156 168 … … 198 210 { 199 211 newVMWizardPropertySet(UserName, strUserName); 212 m_userModifiedParameters << "UserName"; 200 213 emit completeChanged(); 201 214 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPageBasic.h
r90093 r90101 101 101 QLabel *m_pProductKeyLabel; 102 102 /** @} */ 103 103 QSet<QString> m_userModifiedParameters; 104 104 }; 105 105
Note:
See TracChangeset
for help on using the changeset viewer.