Changeset 96828 in vbox
- Timestamp:
- Sep 22, 2022 1:25:53 PM (2 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.cpp
r96407 r96828 582 582 583 583 /* Set help keyowrd for context sensitive help: */ 584 uiCommon().setHelpKeyword(this, " ovf-cloud-profile-manager");584 uiCommon().setHelpKeyword(this, "cloud-using-cloud-profile-manager"); 585 585 586 586 } -
trunk/src/VBox/Frontends/VirtualBox/src/extensionpackmanager/UIExtensionPackManager.cpp
r96407 r96828 382 382 { 383 383 /* Prepare self: */ 384 uiCommon().setHelpKeyword(this, "ext ensionsdetails"); /// @todo use proper help tag384 uiCommon().setHelpKeyword(this, "ext-pack-manager"); 385 385 connect(&uiCommon(), &UICommon::sigExtensionPackInstalled, 386 386 this, &UIExtensionPackManagerWidget::sltHandleExtensionPackInstalled); -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
r96426 r96828 713 713 /* Setup escape shortcut: */ 714 714 manageEscapeShortCut(); 715 uiCommon().setHelpKeyword(this, " collect-debug-info");715 uiCommon().setHelpKeyword(this, "log-viewer"); 716 716 } 717 717 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r96808 r96828 1114 1114 const QStringList &machineGroupNames = pItemLocal->groups(); 1115 1115 const QString strGroup = !machineGroupNames.isEmpty() ? machineGroupNames.at(0) : QString(); 1116 QPointer<UINativeWizard> pWizard = new UIWizardCloneVM(pWizardParent, pItemLocal->machine(), strGroup, CSnapshot() , "clone");1116 QPointer<UINativeWizard> pWizard = new UIWizardCloneVM(pWizardParent, pItemLocal->machine(), strGroup, CSnapshot()); 1117 1117 windowManager().registerNewParent(pWizard, pWizardParent); 1118 1118 pWizard->exec(); … … 2536 2536 QWidget *pWizardParent = windowManager().realParentWindow(this); 2537 2537 UISafePointerWizardNewVM pWizard = new UIWizardNewVM(pWizardParent, actionPool(), 2538 m_pWidget->fullGroupName(), "gui-createvm",2538 m_pWidget->fullGroupName(), 2539 2539 comUnattendedInstaller, strISOFilePath); 2540 2540 windowManager().registerNewParent(pWizard, pWizardParent); -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIFDCreationDialog.cpp
r96407 r96828 28 28 /* Qt includes */ 29 29 #include <QCheckBox> 30 #include <QDialogButtonBox>31 30 #include <QDir> 32 31 #include <QGridLayout> … … 35 34 36 35 /* GUI includes */ 36 #include "QIDialogButtonBox.h" 37 37 #include "UICommon.h" 38 38 #include "UIFDCreationDialog.h" … … 264 264 265 265 /* Prepare button-box: */ 266 m_pButtonBox = new Q DialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, this);266 m_pButtonBox = new QIDialogButtonBox(QDialogButtonBox::Help | QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, this); 267 267 if (m_pButtonBox) 268 268 { 269 uiCommon().setHelpKeyword(m_pButtonBox->button(QDialogButtonBox::Help), "create-floppy-disk-image"); 269 270 connect(m_pButtonBox, &QDialogButtonBox::accepted, this, &UIFDCreationDialog::accept); 270 271 connect(m_pButtonBox, &QDialogButtonBox::rejected, this, &UIFDCreationDialog::reject); 271 272 connect(m_pButtonBox->button(QDialogButtonBox::Help), &QPushButton::pressed, 273 &(msgCenter()), &UIMessageCenter::sltHandleHelpRequest); 272 274 pLayoutMain->addWidget(m_pButtonBox, 3, 0, 1, 3); 273 275 } -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIFDCreationDialog.h
r96407 r96828 42 42 class QCheckBox; 43 43 class QComboBox; 44 class Q DialogButtonBox;44 class QIDialogButtonBox; 45 45 class QLabel; 46 46 class UIFilePathSelector; … … 125 125 QCheckBox *m_pFormatCheckBox; 126 126 /** holds the button-box instance. */ 127 Q DialogButtonBox*m_pButtonBox;127 QIDialogButtonBox *m_pButtonBox; 128 128 129 129 /** Holds the created medium ID. */ -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.cpp
r96407 r96828 762 762 sltHandleMediumEnumerationFinish(); 763 763 } 764 uiCommon().setHelpKeyword(this,"v dis");764 uiCommon().setHelpKeyword(this,"virtual-media-manager"); 765 765 } 766 766 -
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp
r96407 r96828 691 691 m_pButtonBox->button(QDialogButtonBox::Help)->setShortcut(QKeySequence::HelpContents); 692 692 693 uiCommon().setHelpKeyword(m_pButtonBox->button(QIDialogButtonBox::Help), " viso");693 uiCommon().setHelpKeyword(m_pButtonBox->button(QIDialogButtonBox::Help), "create-optical-disk-image"); 694 694 } 695 695 retranslateUi(); -
trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.cpp
r96426 r96828 1721 1721 { 1722 1722 /* Prepare self: */ 1723 uiCommon().setHelpKeyword(this, "network ingdetails");1723 uiCommon().setHelpKeyword(this, "network-manager"); 1724 1724 1725 1725 /* Prepare stuff: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
r96407 r96828 216 216 addItem(":/machine_32px.png", ":/machine_24px.png", ":/machine_16px.png", 217 217 iPageIndex, "#general", pSettingsPage); 218 addPageHelpKeyword(iPageIndex, " globalsettings");218 addPageHelpKeyword(iPageIndex, "preferences"); 219 219 break; 220 220 } … … 225 225 addItem(":/keyboard_32px.png", ":/keyboard_24px.png", ":/keyboard_16px.png", 226 226 iPageIndex, "#input", pSettingsPage); 227 addPageHelpKeyword(iPageIndex, " globalsettings");227 addPageHelpKeyword(iPageIndex, "preferences"); 228 228 break; 229 229 } … … 235 235 addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png", 236 236 iPageIndex, "#update", pSettingsPage); 237 addPageHelpKeyword(iPageIndex, " globalsettings");237 addPageHelpKeyword(iPageIndex, "preferences"); 238 238 break; 239 239 } … … 245 245 addItem(":/site_32px.png", ":/site_24px.png", ":/site_16px.png", 246 246 iPageIndex, "#language", pSettingsPage); 247 addPageHelpKeyword(iPageIndex, " globalsettings");247 addPageHelpKeyword(iPageIndex, "preferences"); 248 248 break; 249 249 } … … 254 254 addItem(":/vrdp_32px.png", ":/vrdp_24px.png", ":/vrdp_16px.png", 255 255 iPageIndex, "#display", pSettingsPage); 256 addPageHelpKeyword(iPageIndex, " globalsettings");256 addPageHelpKeyword(iPageIndex, "preferences"); 257 257 break; 258 258 } … … 264 264 addItem(":/proxy_32px.png", ":/proxy_24px.png", ":/proxy_16px.png", 265 265 iPageIndex, "#proxy", pSettingsPage); 266 addPageHelpKeyword(iPageIndex, " globalsettings");266 addPageHelpKeyword(iPageIndex, "preferences"); 267 267 break; 268 268 } … … 275 275 addItem(":/interface_32px.png", ":/interface_24px.png", ":/interface_16px.png", 276 276 iPageIndex, "#userInterface", pSettingsPage); 277 addPageHelpKeyword(iPageIndex, " globalsettings");277 addPageHelpKeyword(iPageIndex, "preferences"); 278 278 break; 279 279 } -
trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotPane.cpp
r96660 r96828 1755 1755 1756 1756 /* Show Clone VM wizard: */ 1757 QPointer<UINativeWizard> pWizard = new UIWizardCloneVM(this, comMachine, QString(), comSnapshot , "clone");1757 QPointer<UINativeWizard> pWizard = new UIWizardCloneVM(this, comMachine, QString(), comSnapshot); 1758 1758 pWizard->exec(); 1759 1759 if (pWizard) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/UINativeWizard.cpp
r96407 r96828 92 92 WizardType enmType, 93 93 WizardMode enmMode /* = WizardMode_Auto */, 94 const QString &strHelp Hashtag /* = QString() */)94 const QString &strHelpTag /* = QString() */) 95 95 : QIWithRetranslateUI<QDialog>(pParent) 96 96 , m_enmType(enmType) 97 97 , m_enmMode(enmMode == WizardMode_Auto ? gEDataManager->modeForWizardType(m_enmType) : enmMode) 98 , m_strHelpHashtag(strHelp Hashtag)98 , m_strHelpHashtag(strHelpTag) 99 99 , m_iLastIndex(-1) 100 100 , m_pLabelPixmap(0) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVM.cpp
r96407 r96828 40 40 41 41 UIWizardCloneVM::UIWizardCloneVM(QWidget *pParent, const CMachine &machine, 42 const QString &strGroup, CSnapshot snapshot /* = CSnapshot() */, 43 const QString &strHelpHashtag /* = QString() */) 44 : UINativeWizard(pParent, WizardType_CloneVM, WizardMode_Auto, strHelpHashtag) 42 const QString &strGroup, CSnapshot snapshot /* = CSnapshot() */) 43 : UINativeWizard(pParent, WizardType_CloneVM, WizardMode_Auto, "clone" /* help keyword */) 45 44 , m_machine(machine) 46 45 , m_snapshot(snapshot) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UIWizardCloneVM.h
r96407 r96828 48 48 49 49 UIWizardCloneVM(QWidget *pParent, const CMachine &machine, 50 const QString &strGroup, CSnapshot snapshot = CSnapshot() , const QString &strHelpHashtag = QString());50 const QString &strGroup, CSnapshot snapshot = CSnapshot()); 51 51 void setCloneModePageVisible(bool fIsFullClone); 52 52 bool isCloneModePageVisible() const; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVD.cpp
r96407 r96828 41 41 qulonglong uDefaultSize, 42 42 WizardMode mode) 43 : UINativeWizard(pParent, WizardType_NewVD, mode )43 : UINativeWizard(pParent, WizardType_NewVD, mode, "create-virtual-hard-disk-image" /* help keyword */) 44 44 , m_strDefaultName(strDefaultName) 45 45 , m_strDefaultPath(strDefaultPath) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r96407 r96828 58 58 59 59 60 UIWizardNewVM::UIWizardNewVM(QWidget *pParent, UIActionPool *pActionPool, 61 const QString &strMachineGroup, const QString &strHelpHashtag, 62 CUnattended &comUnattended, const QString &strISOFilePath /* = QString() */) 63 : UINativeWizard(pParent, WizardType_NewVM, WizardMode_Auto, strHelpHashtag) 60 UIWizardNewVM::UIWizardNewVM(QWidget *pParent, 61 UIActionPool *pActionPool, 62 const QString &strMachineGroup, 63 CUnattended &comUnattended, 64 const QString &strISOFilePath /* = QString() */) 65 : UINativeWizard(pParent, WizardType_NewVM, WizardMode_Auto, "create-vm-wizard" /* help keyword */) 64 66 , m_strMachineGroup(strMachineGroup) 65 67 , m_iIDECount(0) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.h
r96407 r96828 60 60 public: 61 61 62 UIWizardNewVM(QWidget *pParent, UIActionPool *pActionPool, 63 const QString &strMachineGroup, const QString &strHelpHashtag, 64 CUnattended &comUnattended, const QString &strISOFilePath = QString()); 62 UIWizardNewVM(QWidget *pParent, 63 UIActionPool *pActionPool, 64 const QString &strMachineGroup, 65 CUnattended &comUnattended, 66 const QString &strISOFilePath = QString()); 65 67 66 68 bool isUnattendedEnabled() const;
Note:
See TracChangeset
for help on using the changeset viewer.