Changeset 90018 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 5, 2021 7:35:04 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145507
- 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
r90009 r90018 519 519 } 520 520 521 QString UIWizardNewVM::getStringFieldValue(const QString &strFieldName) const522 {523 Q_UNUSED(strFieldName);524 // QVariant fieldValue = field(strFieldName);525 // if (!fieldValue.isNull() && fieldValue.isValid() && fieldValue.canConvert(QMetaType::QString))526 // return fieldValue.toString();527 return QString();528 }529 530 bool UIWizardNewVM::getBoolFieldValue(const QString &strFieldName) const531 {532 Q_UNUSED(strFieldName);533 // QVariant fieldValue = field(strFieldName);534 // if (!fieldValue.isNull() && fieldValue.isValid() && fieldValue.canConvert(QMetaType::Bool))535 // return fieldValue.toBool();536 return false;537 }538 539 521 void UIWizardNewVM::sltHandleWizardCancel() 540 522 { 541 // switch (mode()) 542 // { 543 // case WizardMode_Basic: 544 // { 545 // UIWizardNewVMPageNameOSType *pPage = qobject_cast<UIWizardNewVMPageNameOSType*> (page(Page1)); 546 // /* Make sure that we were able to find the page that created the folder. */ 547 // Assert(pPage); 548 // if (pPage) 549 // pPage->cleanupMachineFolder(true); 550 // break; 551 // } 552 // case WizardMode_Expert: 553 // { 554 // UIWizardNewVMPageExpert *pPage = qobject_cast<UIWizardNewVMPageExpert*> (page(PageExpert)); 555 // if (pPage) 556 // pPage->cleanupMachineFolder(true); 557 // break; 558 // } 559 // default: 560 // break; 561 // } 562 } 563 564 void UIWizardNewVM::sltHandleDetectedOSTypeChange() 565 { 566 // UIWizardNewVMPageNameOSType *pPage = qobject_cast<UIWizardNewVMPageNameOSType*>(page(Page1)); 567 // if (!pPage) 568 // return; 569 // pPage->setTypeByISODetectedOSType(getStringFieldValue("detectedOSTypeId")); 570 } 523 UIWizardNewVMNameOSTypePage::cleanupMachineFolder(this, true); 524 } 525 526 // void UIWizardNewVM::sltHandleDetectedOSTypeChange() 527 // { 528 // // UIWizardNewVMPageNameOSType *pPage = qobject_cast<UIWizardNewVMPageNameOSType*>(page(Page1)); 529 // // if (!pPage) 530 // // return; 531 // // pPage->setTypeByISODetectedOSType(getStringFieldValue("detectedOSTypeId")); 532 // } 571 533 572 534 void UIWizardNewVM::sltCustomButtonClicked(int iId) … … 669 631 QString UIWizardNewVM::ISOFilePath() const 670 632 { 671 QString strPath = getStringFieldValue("ISOFilePath");672 if (strPath.isNull() || strPath.isEmpty())673 return QString();674 QFileInfo isoFileInfo(strPath);675 if (isoFileInfo.exists() && isoFileInfo.isReadable())676 return strPath;633 // QString strPath = getStringFieldValue("ISOFilePath"); 634 // if (strPath.isNull() || strPath.isEmpty()) 635 // return QString(); 636 // QFileInfo isoFileInfo(strPath); 637 // if (isoFileInfo.exists() && isoFileInfo.isReadable()) 638 // return strPath; 677 639 return QString(); 678 640 } … … 732 694 } 733 695 696 const QString &UIWizardNewVM::createdMachineFolder() const 697 { 698 return m_strCreatedFolder; 699 } 700 701 void UIWizardNewVM::setCreatedMachineFolder(const QString &strCreatedMachineFolder) 702 { 703 m_strCreatedFolder = strCreatedMachineFolder; 704 } 705 734 706 const QString &UIWizardNewVM::detectedOSTypeId() const 735 707 { … … 744 716 const UIUnattendedInstallData &UIWizardNewVM::unattendedInstallData() const 745 717 { 746 m_unattendedInstallData.m_strISOPath = getStringFieldValue("ISOFilePath");747 m_unattendedInstallData.m_strUserName = getStringFieldValue("userName");748 m_unattendedInstallData.m_strHostname = getStringFieldValue("hostname");749 m_unattendedInstallData.m_strPassword = getStringFieldValue("password");750 m_unattendedInstallData.m_strDetectedOSTypeId = getStringFieldValue("detectedOSTypeId");751 // m_unattendedInstallData.m_strDetectedOSVersion = getStringFieldValue("detectedOSVersion");752 // m_unattendedInstallData.m_strDetectedOSFlavor = getStringFieldValue("detectedOSFlavor");753 // m_unattendedInstallData.m_strDetectedOSLanguages = getStringFieldValue("detectedOSLanguages");754 // m_unattendedInstallData.m_strDetectedOSHints = getStringFieldValue("detectedOSHints");755 m_unattendedInstallData.m_strProductKey = getStringFieldValue("productKey");756 m_unattendedInstallData.m_strGuestAdditionsISOPath = getStringFieldValue("guestAdditionsISOPath");757 758 m_unattendedInstallData.m_fUnattendedEnabled = getBoolFieldValue("isUnattendedEnabled");759 m_unattendedInstallData.m_fStartHeadless = getBoolFieldValue("startHeadless");760 m_unattendedInstallData.m_fInstallGuestAdditions = getBoolFieldValue("installGuestAdditions");761 762 m_unattendedInstallData.m_uMachineUid = createdMachineId();718 // m_unattendedInstallData.m_strISOPath = getStringFieldValue("ISOFilePath"); 719 // m_unattendedInstallData.m_strUserName = getStringFieldValue("userName"); 720 // m_unattendedInstallData.m_strHostname = getStringFieldValue("hostname"); 721 // m_unattendedInstallData.m_strPassword = getStringFieldValue("password"); 722 // m_unattendedInstallData.m_strDetectedOSTypeId = getStringFieldValue("detectedOSTypeId"); 723 // // m_unattendedInstallData.m_strDetectedOSVersion = getStringFieldValue("detectedOSVersion"); 724 // // m_unattendedInstallData.m_strDetectedOSFlavor = getStringFieldValue("detectedOSFlavor"); 725 // // m_unattendedInstallData.m_strDetectedOSLanguages = getStringFieldValue("detectedOSLanguages"); 726 // // m_unattendedInstallData.m_strDetectedOSHints = getStringFieldValue("detectedOSHints"); 727 // m_unattendedInstallData.m_strProductKey = getStringFieldValue("productKey"); 728 // m_unattendedInstallData.m_strGuestAdditionsISOPath = getStringFieldValue("guestAdditionsISOPath"); 729 730 // m_unattendedInstallData.m_fUnattendedEnabled = getBoolFieldValue("isUnattendedEnabled"); 731 // m_unattendedInstallData.m_fStartHeadless = getBoolFieldValue("startHeadless"); 732 // m_unattendedInstallData.m_fInstallGuestAdditions = getBoolFieldValue("installGuestAdditions"); 733 734 // m_unattendedInstallData.m_uMachineUid = createdMachineId(); 763 735 764 736 return m_unattendedInstallData; … … 774 746 } 775 747 776 bool UIWizardNewVM::isGuestOSTypeWindows() const777 {778 return getStringFieldValue("guestOSFamiyId").contains("windows", Qt::CaseInsensitive);779 }748 // bool UIWizardNewVM::isGuestOSTypeWindows() const 749 // { 750 // return getStringFieldValue("guestOSFamiyId").contains("windows", Qt::CaseInsensitive); 751 // } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.h
r90009 r90018 83 83 const UIUnattendedInstallData &unattendedInstallData() const; 84 84 bool isUnattendedEnabled() const; 85 bool isGuestOSTypeWindows() const;85 //bool isGuestOSTypeWindows() const; 86 86 CMedium &virtualDisk(); 87 87 void setVirtualDisk(const CMedium &medium); … … 98 98 const QString &machineBaseName() const; 99 99 void setMachineBaseName(const QString &strMachineBaseName); 100 101 const QString &createdMachineFolder() const; 102 void setCreatedMachineFolder(const QString &strCreatedMachineFolder); 100 103 101 104 const QString &detectedOSTypeId() const; … … 114 117 bool attachDefaultDevices(const CGuestOSType &comGuestType); 115 118 116 QString getStringFieldValue(const QString &strFieldName) const;117 bool getBoolFieldValue(const QString &strFieldName) const;118 119 119 friend class UIWizardNewVMPageDisk; 120 120 friend class UIWizardNewVMPageExpert; … … 123 123 124 124 void sltHandleWizardCancel(); 125 void sltHandleDetectedOSTypeChange();125 //void sltHandleDetectedOSTypeChange(); 126 126 virtual void sltCustomButtonClicked(int iId) /* override */; 127 127 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePageBasic.cpp
r90009 r90018 199 199 200 200 void UIWizardNewVMNameOSTypePage::composeMachineFilePath(UINameAndSystemEditor *pNameAndSystemEditor, 201 UINativeWizard *pWizard) 202 { 203 UIWizardNewVM *pNewVMWizard = qobject_cast<UIWizardNewVM*>(pWizard); 204 if (!pNameAndSystemEditor || !pNewVMWizard) 201 UIWizardNewVM *pWizard) 202 { 203 if (!pNameAndSystemEditor || !pWizard) 205 204 return; 206 205 if (pNameAndSystemEditor->name().isEmpty() || pNameAndSystemEditor->path().isEmpty()) … … 210 209 211 210 /* Compose machine filename: */ 212 p NewVMWizard->setMachineFilePath(vbox.ComposeMachineFilename(pNameAndSystemEditor->name(),213 p NewVMWizard->machineGroup(),211 pWizard->setMachineFilePath(vbox.ComposeMachineFilename(pNameAndSystemEditor->name(), 212 pWizard->machineGroup(), 214 213 QString(), 215 214 pNameAndSystemEditor->path())); 216 215 /* Compose machine folder/basename: */ 217 const QFileInfo fileInfo(p NewVMWizard->machineFilePath());218 p NewVMWizard->setMachineFolder(fileInfo.absolutePath());219 p NewVMWizard->setMachineBaseName(fileInfo.completeBaseName());216 const QFileInfo fileInfo(pWizard->machineFilePath()); 217 pWizard->setMachineFolder(fileInfo.absolutePath()); 218 pWizard->setMachineBaseName(fileInfo.completeBaseName()); 220 219 } 221 220 222 221 bool UIWizardNewVMNameOSTypePage::createMachineFolder(UINameAndSystemEditor *pNameAndSystemEditor, 223 222 UINativeWizardPage *pCaller, 224 const QString &strMachineFolder, 225 QString &strCreatedFolder) 226 { 227 if (!pNameAndSystemEditor) 228 return false; 223 UIWizardNewVM *pWizard) 224 { 225 if (!pNameAndSystemEditor || !pWizard) 226 return false; 227 const QString &strMachineFolder = pWizard->machineFolder(); 228 const QString &strCreatedFolder = pWizard->createdMachineFolder(); 229 229 230 /* Cleanup previosly created folder if any: */ 230 if (!cleanupMachineFolder( strMachineFolder, strCreatedFolder))231 if (!cleanupMachineFolder(pWizard)) 231 232 { 232 233 msgCenter().cannotRemoveMachineFolder(strMachineFolder, pCaller); … … 255 256 return false; 256 257 } 257 strCreatedFolder = strMachineFolder;258 pWizard->setCreatedMachineFolder(strMachineFolder); 258 259 return true; 259 260 } 260 261 261 bool UIWizardNewVMNameOSTypePage::cleanupMachineFolder(const QString &strMachineFolder, 262 QString &strCreatedFolder, bool fWizardCancel /* = false */) 263 { 262 bool UIWizardNewVMNameOSTypePage::cleanupMachineFolder(UIWizardNewVM *pWizard, bool fWizardCancel /* = false */) 263 { 264 if (!pWizard) 265 return false; 266 const QString &strMachineFolder = pWizard->machineFolder(); 267 const QString &strCreatedFolder = pWizard->createdMachineFolder(); 264 268 /* Make sure folder was previosly created: */ 265 269 if (strCreatedFolder.isEmpty()) … … 272 276 /* Reset machine folder value: */ 273 277 if (fMachineFolderRemoved) 274 strCreatedFolder = QString();278 pWizard->setCreatedMachineFolder(QString()); 275 279 /* Return cleanup result: */ 276 280 return fMachineFolderRemoved; … … 278 282 return true; 279 283 } 280 281 // QString UIWizardNewVMNameOSTypePage::machineFilePath() const282 // {283 // return m_strMachineFilePath;284 // }285 286 // void UIWizardNewVMNameOSTypePage::setMachineFilePath(const QString &strMachineFilePath)287 // {288 // m_strMachineFilePath = strMachineFilePath;289 // }290 291 // QString UIWizardNewVMNameOSTypePage::machineFolder() const292 // {293 // return m_strMachineFolder;294 // }295 296 // void UIWizardNewVMNameOSTypePage::setMachineFolder(const QString &strMachineFolder)297 // {298 // m_strMachineFolder = strMachineFolder;299 // }300 284 301 285 // QString UIWizardNewVMNameOSTypePage::machineBaseName() const … … 316 300 // } 317 301 318 // void UIWizardNewVMNameOSTypePage::markWidgets() const319 // {320 // if (m_pNameAndSystemEditor)321 // {322 // m_pNameAndSystemEditor->markNameEditor(m_pNameAndSystemEditor->name().isEmpty());323 // m_pNameAndSystemEditor->markImageEditor(!checkISOFile(), UIWizardNewVM::tr("Invalid file path or unreadable file"));324 // }325 // }326 327 302 328 303 // QString UIWizardNewVMNameOSTypePage::ISOFilePath() const … … 333 308 // } 334 309 335 // bool UIWizardNewVMNameOSTypePage::isUnattendedEnabled() const 336 // { 337 // if (!m_pNameAndSystemEditor) 338 // return false; 339 // const QString &strPath = m_pNameAndSystemEditor->image(); 340 // if (strPath.isNull() || strPath.isEmpty()) 341 // return false; 342 // if (m_pSkipUnattendedCheckBox && m_pSkipUnattendedCheckBox->isChecked()) 343 // return false; 344 // return true; 345 // } 346 347 // const QString &UIWizardNewVMNameOSTypePage::detectedOSTypeId() const 348 // { 349 // return m_strDetectedOSTypeId; 350 // } 351 352 void UIWizardNewVMNameOSTypePage::determineOSType(const QString &strISOPath, UINativeWizard *pWizard) 353 { 354 UIWizardNewVM *pNewVMWizard = qobject_cast<UIWizardNewVM*>(pWizard); 355 if (!pNewVMWizard) 310 311 void UIWizardNewVMNameOSTypePage::determineOSType(const QString &strISOPath, UIWizardNewVM *pWizard) 312 { 313 if (!pWizard) 356 314 return; 357 315 … … 359 317 if (!isoFileInfo.exists()) 360 318 { 361 p NewVMWizard->setDetectedOSTypeId(QString());319 pWizard->setDetectedOSTypeId(QString()); 362 320 return; 363 321 } … … 366 324 comUnatteded.SetIsoPath(strISOPath); 367 325 comUnatteded.DetectIsoOS(); 368 p NewVMWizard->setDetectedOSTypeId(comUnatteded.GetDetectedOSTypeId());326 pWizard->setDetectedOSTypeId(comUnatteded.GetDetectedOSTypeId()); 369 327 } 370 328 … … 374 332 // } 375 333 376 // bool UIWizardNewVMNameOSTypePage::checkISOFile() const 377 // { 378 // if (!m_pNameAndSystemEditor) 379 // return true; 380 // const QString &strPath = m_pNameAndSystemEditor->image(); 381 // if (strPath.isNull() || strPath.isEmpty()) 382 // return true; 383 // QFileInfo fileInfo(strPath); 384 // if (!fileInfo.exists() || !fileInfo.isReadable()) 385 // return false; 386 // return true; 387 // } 388 389 // void UIWizardNewVMNameOSTypePage::setSkipCheckBoxEnable() 390 // { 391 // if (!m_pSkipUnattendedCheckBox) 392 // return; 393 // if (m_pNameAndSystemEditor) 394 // { 395 // const QString &strPath = m_pNameAndSystemEditor->image(); 396 // m_pSkipUnattendedCheckBox->setEnabled(!strPath.isNull() && !strPath.isEmpty()); 397 // } 398 // } 399 400 // void UIWizardNewVMNameOSTypePage::setTypeByISODetectedOSType(const QString &strDetectedOSType) 401 // { 402 // Q_UNUSED(strDetectedOSType); 403 // if (!strDetectedOSType.isEmpty()) 404 // onNameChanged(strDetectedOSType); 405 // } 406 334 bool UIWizardNewVMNameOSTypePage::checkISOFile(UINameAndSystemEditor *pNameAndSystemEditor) 335 { 336 if (!pNameAndSystemEditor) 337 return false; 338 const QString &strPath = pNameAndSystemEditor->image(); 339 if (strPath.isNull() || strPath.isEmpty()) 340 return true; 341 QFileInfo fileInfo(strPath); 342 if (!fileInfo.exists() || !fileInfo.isReadable()) 343 return false; 344 return true; 345 } 407 346 408 347 UIWizardNewVMNameOSTypePageBasic::UIWizardNewVMNameOSTypePageBasic() … … 412 351 , m_pNameOSTypeLabel(0) 413 352 { 353 m_pWizard = qobject_cast<UIWizardNewVM*>(wizard()); 414 354 prepare(); 415 355 } … … 457 397 bool UIWizardNewVMNameOSTypePageBasic::isComplete() const 458 398 { 459 //markWidgets();460 //if (m_pNameAndSystemEditor->name().isEmpty())461 //return false;462 // return checkISOFile();399 markWidgets(); 400 if (m_pNameAndSystemEditor->name().isEmpty()) 401 return false; 402 return UIWizardNewVMNameOSTypePage::checkISOFile(m_pNameAndSystemEditor); 463 403 return true; 464 404 } … … 468 408 Q_UNUSED(strNewName); 469 409 UIWizardNewVMNameOSTypePage::onNameChanged(m_pNameAndSystemEditor, strNewName); 470 UIWizardNewVMNameOSTypePage::composeMachineFilePath(m_pNameAndSystemEditor, wizard());410 UIWizardNewVMNameOSTypePage::composeMachineFilePath(m_pNameAndSystemEditor, m_pWizard); 471 411 } 472 412 … … 474 414 { 475 415 Q_UNUSED(strNewPath); 476 UIWizardNewVMNameOSTypePage::composeMachineFilePath(m_pNameAndSystemEditor, wizard());416 UIWizardNewVMNameOSTypePage::composeMachineFilePath(m_pNameAndSystemEditor, m_pWizard); 477 417 } 478 418 … … 517 457 void UIWizardNewVMNameOSTypePageBasic::cleanupPage() 518 458 { 519 /* Cleanup: */520 459 // cleanupMachineFolder(); 521 460 // /* Call to base-class: */ … … 526 465 { 527 466 /* Try to create machine folder: */ 528 //composeMachineFilePath 529 //return createMachineFolder(); 530 return true; 467 return UIWizardNewVMNameOSTypePage::createMachineFolder(m_pNameAndSystemEditor, this, m_pWizard); 531 468 } 532 469 533 470 void UIWizardNewVMNameOSTypePageBasic::sltISOPathChanged(const QString &strPath) 534 471 { 535 UIWizardNewVMNameOSTypePage::determineOSType(strPath, wizard()); 536 // setTypeByISODetectedOSType(m_strDetectedOSTypeId); 537 // /* Update the global recent ISO path: */ 538 // QFileInfo fileInfo(strPath); 539 // if (fileInfo.exists() && fileInfo.isReadable()) 540 // uiCommon().updateRecentlyUsedMediumListAndFolder(UIMediumDeviceType_DVD, strPath); 472 UIWizardNewVMNameOSTypePage::determineOSType(strPath, m_pWizard); 473 if (m_pWizard && !m_pWizard->detectedOSTypeId().isEmpty()) 474 UIWizardNewVMNameOSTypePage::onNameChanged(m_pNameAndSystemEditor, m_pWizard->detectedOSTypeId()); 475 /* Update the global recent ISO path: */ 476 QFileInfo fileInfo(strPath); 477 if (fileInfo.exists() && fileInfo.isReadable()) 478 uiCommon().updateRecentlyUsedMediumListAndFolder(UIMediumDeviceType_DVD, strPath); 541 479 // setSkipCheckBoxEnable(); 542 480 // emit completeChanged(); … … 574 512 return pContainerWidget; 575 513 } 514 515 void UIWizardNewVMNameOSTypePageBasic::markWidgets() const 516 { 517 if (m_pNameAndSystemEditor) 518 { 519 m_pNameAndSystemEditor->markNameEditor(m_pNameAndSystemEditor->name().isEmpty()); 520 m_pNameAndSystemEditor->markImageEditor(!UIWizardNewVMNameOSTypePage::checkISOFile(m_pNameAndSystemEditor), 521 UIWizardNewVM::tr("Invalid file path or unreadable file")); 522 } 523 } 524 525 void UIWizardNewVMNameOSTypePageBasic::setSkipCheckBoxEnable() 526 { 527 if (!m_pSkipUnattendedCheckBox) 528 return; 529 if (m_pNameAndSystemEditor) 530 { 531 const QString &strPath = m_pNameAndSystemEditor->image(); 532 m_pSkipUnattendedCheckBox->setEnabled(!strPath.isNull() && !strPath.isEmpty()); 533 } 534 } 535 536 bool UIWizardNewVMNameOSTypePageBasic::isUnattendedEnabled() const 537 { 538 if (!m_pNameAndSystemEditor) 539 return false; 540 const QString &strPath = m_pNameAndSystemEditor->image(); 541 if (strPath.isNull() || strPath.isEmpty()) 542 return false; 543 if (m_pSkipUnattendedCheckBox && m_pSkipUnattendedCheckBox->isChecked()) 544 return false; 545 return true; 546 } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePageBasic.h
r90009 r90018 36 36 class UIFilePathSelector; 37 37 class UINameAndSystemEditor; 38 class UI NativeWizard;38 class UIWizardNewVM; 39 39 40 40 namespace UIWizardNewVMNameOSTypePage … … 43 43 bool createMachineFolder(UINameAndSystemEditor *pNameAndSystemEditor, 44 44 UINativeWizardPage *pCaller, 45 const QString &strMachineFolder, 46 QString &strCreatedFolder); 45 UIWizardNewVM *pWizard); 47 46 48 47 /** Removes a previously created folder (if exists) before creating a new one. 49 48 * used during page cleanup and new folder creation. Called upon page Next/Back and 50 49 * wizard cancel */ 51 bool cleanupMachineFolder( const QString &strMachineFolder,52 QString &strCreatedFolder,bool fWizardCancel = false);53 void composeMachineFilePath(UINameAndSystemEditor *pNameAndSystemEditor, UINativeWizard*pWizard);54 void determineOSType(const QString &strISOPath, UINativeWizard *pWizard);55 50 bool cleanupMachineFolder(UIWizardNewVM *pWizard, bool fWizardCancel = false); 51 void composeMachineFilePath(UINameAndSystemEditor *pNameAndSystemEditor, UIWizardNewVM *pWizard); 52 void determineOSType(const QString &strISOPath, UIWizardNewVM *pWizard); 53 /** Return false if ISO path is not empty but points to an missing or unreadable file. */ 54 bool checkISOFile(UINameAndSystemEditor *pNameAndSystemEditor); 56 55 // /** @name Property getters/setters 57 56 // * @{ */ 58 // QString machineFilePath() const;59 // void setMachineFilePath(const QString &strMachineFilePath);60 61 // QString machineFolder() const;62 // void setMachineFolder(const QString &strMachineFolder);63 64 // QString machineBaseName() const;65 // void setMachineBaseName(const QString &strMachineBaseName);66 57 67 58 // QString guestOSFamiyId() const; 68 59 69 // bool isUnattendedEnabled() const;70 60 // const QString &detectedOSTypeId() const; 71 61 … … 75 65 76 66 // /** Colors the widgets red if they cause isComplete to fail. */ 77 // void markWidgets() const;78 67 // void retranslateWidgets(); 79 68 // QString ISOFilePath() const; 80 69 81 // void setTypeByISODetectedOSType(const QString &strDetectedOSType);82 // /** Return false if ISO path is not empty but points to an missing or unreadable file. */83 // bool checkISOFile() const;84 // void setSkipCheckBoxEnable();85 70 86 71 // … … 129 114 void cleanupPage(); 130 115 QWidget *createNameOSTypeWidgets(); 116 void markWidgets() const; 117 void setSkipCheckBoxEnable(); 118 bool isUnattendedEnabled() const; 131 119 120 121 UIWizardNewVM *m_pWizard; 132 122 133 123 /** @name Widgets
Note:
See TracChangeset
for help on using the changeset viewer.