Changeset 107002 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 14, 2024 1:56:24 PM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 165939
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizard.cpp
r106282 r107002 317 317 if (iIndex > m_iLastIndex) 318 318 pPage->initializePage(); 319 320 /* If there is a help keyword assigned to this page, use it as help keyword of this wizard. */ 321 QString strPageHelpKeyword = uiCommon().helpKeyword(pPage); 322 if (!strPageHelpKeyword.isEmpty()) 323 uiCommon().setHelpKeyword(this, strPageHelpKeyword); 319 324 320 325 /* Disable/enable Next button: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizardPage.cpp
r106061 r107002 27 27 28 28 /* GUI includes: */ 29 #include "UICommon.h" 29 30 #include "UINativeWizard.h" 30 31 #include "UINativeWizardPage.h" 31 32 #include "UITranslationEventListener.h" 32 33 33 UINativeWizardPage::UINativeWizardPage( )34 UINativeWizardPage::UINativeWizardPage(const QString strHelpKeyword /* = QString() */) 34 35 { 35 36 connect(&translationEventListener(), &UITranslationEventListener::sigRetranslateUI, 36 37 this, &UINativeWizardPage::sltRetranslateUI); 38 if (!strHelpKeyword.isEmpty()) 39 uiCommon().setHelpKeyword(this, strHelpKeyword); 37 40 } 38 41 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizardPage.h
r106061 r107002 54 54 55 55 /** Constructs wizard page. */ 56 UINativeWizardPage( );56 UINativeWizardPage(const QString strHelpKeyword = QString()); 57 57 58 58 /** Redirects the translation call to actual handler. */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r106143 r107002 107 107 case WizardMode_Basic: 108 108 { 109 UIWizardNewVMNameOSTypePage *pNamePage = new UIWizardNewVMNameOSTypePage ;109 UIWizardNewVMNameOSTypePage *pNamePage = new UIWizardNewVMNameOSTypePage("create-vm-wizard-name-os" /* help keyword*/); 110 110 addPage(pNamePage); 111 111 if (!m_strInitialISOFilePath.isEmpty()) 112 112 pNamePage->setISOFilePath(m_strInitialISOFilePath); 113 m_iUnattendedInstallPageIndex = addPage(new UIWizardNewVMUnattendedPage );113 m_iUnattendedInstallPageIndex = addPage(new UIWizardNewVMUnattendedPage("create-vm-wizard-unattended-install")); 114 114 setUnattendedPageVisible(false); 115 addPage(new UIWizardNewVMHardwarePage );116 addPage(new UIWizardNewVMDiskPage(m_pActionPool ));115 addPage(new UIWizardNewVMHardwarePage("create-vm-wizard-hardware" /* help keyword*/)); 116 addPage(new UIWizardNewVMDiskPage(m_pActionPool, "create-vm-wizard-virtual-hard-disk" /* help keyword*/)); 117 117 addPage(new UIWizardNewVMSummaryPage); 118 118 break; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMDiskPage.cpp
r106061 r107002 67 67 } 68 68 69 UIWizardNewVMDiskPage::UIWizardNewVMDiskPage(UIActionPool *pActionPool) 70 : m_pDiskSourceButtonGroup(0) 69 UIWizardNewVMDiskPage::UIWizardNewVMDiskPage(UIActionPool *pActionPool, const QString strHelpKeyword /* = QString() */) 70 : UINativeWizardPage(strHelpKeyword) 71 , m_pDiskSourceButtonGroup(0) 71 72 , m_pDiskEmpty(0) 72 73 , m_pDiskNew(0) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMDiskPage.h
r106061 r107002 67 67 public: 68 68 69 UIWizardNewVMDiskPage(UIActionPool *pActionPool );69 UIWizardNewVMDiskPage(UIActionPool *pActionPool, const QString strHelpKeyword = QString()); 70 70 71 71 protected: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMHardwarePage.cpp
r106061 r107002 40 40 41 41 42 UIWizardNewVMHardwarePage::UIWizardNewVMHardwarePage() 43 : m_pLabel(0) 42 UIWizardNewVMHardwarePage::UIWizardNewVMHardwarePage(const QString strHelpKeyword /* = QString() */) 43 : UINativeWizardPage(strHelpKeyword) 44 , m_pLabel(0) 44 45 , m_pHardwareWidgetContainer(0) 45 46 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMHardwarePage.h
r106061 r107002 48 48 public: 49 49 50 UIWizardNewVMHardwarePage( );50 UIWizardNewVMHardwarePage(const QString strHelpKeyword = QString()); 51 51 52 52 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp
r106971 r107002 467 467 } 468 468 469 UIWizardNewVMNameOSTypePage::UIWizardNewVMNameOSTypePage() 470 : m_pNameAndSystemLayout(0) 469 UIWizardNewVMNameOSTypePage::UIWizardNewVMNameOSTypePage(const QString strHelpKeyword /* = QString() */) 470 : UINativeWizardPage(strHelpKeyword) 471 , m_pNameAndSystemLayout(0) 471 472 , m_pNameAndSystemEditor(0) 472 473 , m_pSkipUnattendedCheckBox(0) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.h
r106061 r107002 68 68 69 69 /** Constructor. */ 70 UIWizardNewVMNameOSTypePage( );70 UIWizardNewVMNameOSTypePage(const QString strHelpKeyword = QString()); 71 71 void setISOFilePath(const QString &strISOFilePath); 72 72 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMSummaryPage.cpp
r106061 r107002 419 419 *********************************************************************************************************************************/ 420 420 421 UIWizardNewVMSummaryPage::UIWizardNewVMSummaryPage() 422 : m_pLabel(0) 421 UIWizardNewVMSummaryPage::UIWizardNewVMSummaryPage(const QString strHelpKeyword /* = QString() */) 422 : UINativeWizardPage(strHelpKeyword) 423 , m_pLabel(0) 423 424 , m_pTree(0) 424 425 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMSummaryPage.h
r106061 r107002 46 46 public: 47 47 48 UIWizardNewVMSummaryPage( );48 UIWizardNewVMSummaryPage(const QString strHelpKeyword = QString()); 49 49 50 50 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPage.cpp
r106061 r107002 46 46 } 47 47 48 UIWizardNewVMUnattendedPage::UIWizardNewVMUnattendedPage() 49 : m_pLabel(0) 48 UIWizardNewVMUnattendedPage::UIWizardNewVMUnattendedPage(const QString strHelpKeyword /* = QString() */) 49 : UINativeWizardPage(strHelpKeyword) 50 , m_pLabel(0) 50 51 , m_pAdditionalOptionsContainer(0) 51 52 , m_pGAInstallationISOContainer(0) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMUnattendedPage.h
r106061 r107002 57 57 public: 58 58 59 UIWizardNewVMUnattendedPage( );59 UIWizardNewVMUnattendedPage(const QString strHelpKeyword = QString()); 60 60 61 61 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.