VirtualBox

Changeset 86913 in vbox


Ignore:
Timestamp:
Nov 19, 2020 10:32:18 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
141395
Message:

FE/Qt: bugref:9831. Adding help tags to global and machine setting dialogs. and several more improvements.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r86906 r86913  
    615615}
    616616
    617 void UIMessageCenter::cannotFindHelpFile(const QString &strFileLocation, QWidget *pParent /* = 0 */) const
    618 {
    619     /* Show the error: */
    620     error(pParent, MessageType_Error,
    621           tr("Failed to find help file."),
    622           QString("%1:<!--EOM-->%2").arg(tr("The following file could not found")).arg(strFileLocation));
     617void UIMessageCenter::cannotFindHelpFile(const QString &strFileLocation) const
     618{
     619    alert(0, MessageType_Error, QString("<p>%1:</p>%2").arg(tr("Failed to find the following help file")).arg(strFileLocation));
     620}
     621
     622void UIMessageCenter::cannotFindHelpTag() const
     623{
     624    alert(0, MessageType_Error, QString("<p>%1</p>").arg(tr("There is no help page for this dialog.")));
    623625}
    624626
     
    34383440    if (!QFileInfo(strHelpFilePath).exists())
    34393441    {
    3440         cannotFindHelpFile(strHelpFilePath, pParent);
     3442        cannotFindHelpFile(strHelpFilePath);
    34413443        return;
    34423444    }
    34433445    if (!m_pHelpBrowserDialog)
    34443446    {
    3445         UIHelpBrowserDialogFactory dialogFactory(strHelpFilePath, strKeyword);
     3447        UIHelpBrowserDialogFactory dialogFactory(strHelpFilePath);
    34463448        dialogFactory.prepare(m_pHelpBrowserDialog);
    34473449        AssertReturnVoid(m_pHelpBrowserDialog);
     
    34493451                this, &UIMessageCenter::sltCloseHelpBrowser);
    34503452    }
     3453    if (!strKeyword.isEmpty())
     3454    {
     3455        UIHelpBrowserDialog *pWidget = qobject_cast<UIHelpBrowserDialog*>(m_pHelpBrowserDialog);
     3456        if (pWidget)
     3457            pWidget->showHelpForKeyword(strKeyword);
     3458    }
     3459
    34513460    m_pHelpBrowserDialog->show();
    34523461    m_pHelpBrowserDialog->setWindowState(m_pHelpBrowserDialog->windowState() & ~Qt::WindowMinimized);
     
    34743483    QVariant keyWordProp = pSender->property("helptag");
    34753484    if (!keyWordProp.isValid() || !keyWordProp.canConvert(QMetaType::QString))
     3485    {
     3486        cannotFindHelpTag();
    34763487        return;
     3488    }
    34773489    QString strKeyword = keyWordProp.toString();
     3490    if (strKeyword.isEmpty())
     3491    {
     3492        cannotFindHelpTag();
     3493        return;
     3494    }
     3495
    34783496    showHelpBrowser(uiCommon().helpFile(), strKeyword);
    34793497# endif /* #if defined(VBOX_WITH_DOCS_QHELP) && (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))&& (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)) */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h

    r86906 r86913  
    266266    void cannotAcquireVirtualBoxParameter(const CVirtualBox &comVBox, QWidget *pParent = 0) const;
    267267    void cannotAcquireMachineParameter(const CMachine &comMachine, QWidget *pParent = 0) const;
    268     void cannotFindHelpFile(const QString &strFileLocation, QWidget *pParent = 0) const;
     268    void cannotFindHelpFile(const QString &strFileLocation) const;
     269    void cannotFindHelpTag() const;
    269270
    270271    /* API: Selector warnings: */
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserDialog.cpp

    r86906 r86913  
    4444*********************************************************************************************************************************/
    4545
    46 UIHelpBrowserDialogFactory::UIHelpBrowserDialogFactory(const QString &strHelpFilePath,
    47                                                        const QString &strKeyword /* = QString() */)
     46UIHelpBrowserDialogFactory::UIHelpBrowserDialogFactory(const QString &strHelpFilePath)
    4847    : m_strHelpFilePath(strHelpFilePath)
    49     , m_strKeyword(strKeyword)
    5048{
    5149}
     
    5351UIHelpBrowserDialogFactory::UIHelpBrowserDialogFactory()
    5452    : m_strHelpFilePath(QString())
    55     , m_strKeyword(QString())
    5653{
    5754}
     
    5956void UIHelpBrowserDialogFactory::create(QIManagerDialog *&pDialog, QWidget *pCenterWidget)
    6057{
    61     pDialog = new UIHelpBrowserDialog(pCenterWidget, m_strHelpFilePath, m_strKeyword);
     58    pDialog = new UIHelpBrowserDialog(pCenterWidget, m_strHelpFilePath);
    6259}
    6360
     
    6764*********************************************************************************************************************************/
    6865
    69 UIHelpBrowserDialog::UIHelpBrowserDialog(QWidget *pCenterWidget, const QString &strHelpFilePath,
    70                                          const QString &strKeyword /* = QString() */)
     66UIHelpBrowserDialog::UIHelpBrowserDialog(QWidget *pCenterWidget, const QString &strHelpFilePath)
    7167    : QIWithRetranslateUI<QIManagerDialog>(pCenterWidget)
    7268    , m_strHelpFilePath(strHelpFilePath)
    73     , m_strKeyword(strKeyword)
     69    , m_pWidget(0)
    7470{
     71}
     72
     73void UIHelpBrowserDialog::showHelpForKeyword(const QString &strKeyword)
     74{
     75    if (m_pWidget)
     76        m_pWidget->showHelpForKeyword(strKeyword);
    7577}
    7678
     
    9294{
    9395#if defined(RT_OS_LINUX) && defined(VBOX_WITH_DOCS_QHELP) && (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
    94     UIHelpBrowserWidget *pWidget = new UIHelpBrowserWidget(EmbedTo_Dialog, m_strHelpFilePath, m_strKeyword);
    95     if (pWidget)
     96    m_pWidget = new UIHelpBrowserWidget(EmbedTo_Dialog, m_strHelpFilePath);
     97    if (m_pWidget)
    9698    {
    9799        /* Configure widget: */
    98         setWidget(pWidget);
    99         setWidgetMenus(pWidget->menus());
     100        setWidget(m_pWidget);
     101        setWidgetMenus(m_pWidget->menus());
    100102#ifdef VBOX_WS_MAC
    101         setWidgetToolbar(pWidget->toolbar());
     103        setWidgetToolbar(m_pWidget->toolbar());
    102104#endif
    103         connect(pWidget, &UIHelpBrowserWidget::sigSetCloseButtonShortCut,
     105        connect(m_pWidget, &UIHelpBrowserWidget::sigSetCloseButtonShortCut,
    104106                this, &UIHelpBrowserDialog::sltSetCloseButtonShortCut);
    105107
    106108        /* Add into layout: */
    107         centralWidget()->layout()->addWidget(pWidget);
     109        centralWidget()->layout()->addWidget(m_pWidget);
    108110    }
    109111#endif
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserDialog.h

    r86906 r86913  
    3838class QVBoxLayout;
    3939class UIHelpBrowserDialog;
    40 
     40class UIHelpBrowserWidget;
    4141
    4242/** QIManagerDialogFactory extension used as a factory for Log Viewer dialog. */
     
    4646public:
    4747
    48     /** @param strHelpFilePath: the full path of the qHelp archive file.
    49       * @param strKeyword: optional keyword string. Used in context sensitive help. */
    50     UIHelpBrowserDialogFactory(const QString &strHelpFilePath, const QString &strKeyword = QString());
     48    /** @param strHelpFilePath: the full path of the qHelp archive file. */
     49    UIHelpBrowserDialogFactory(const QString &strHelpFilePath);
    5150    UIHelpBrowserDialogFactory();
    5251
     
    6059
    6160    QString m_strHelpFilePath;
    62     QString    m_strKeyword;
    6361};
    6462
     
    6967public:
    7068
    71     UIHelpBrowserDialog(QWidget *pCenterWidget, const QString &strHelpFilePath,
    72                         const QString &strKeyword = QString());
     69    UIHelpBrowserDialog(QWidget *pCenterWidget, const QString &strHelpFilePath);
     70    /** A passthru function for QHelpIndexWidget::showHelpForKeyword. */
     71    void showHelpForKeyword(const QString &strKeyword);
    7372
    7473protected:
     
    109108
    110109    QString m_strHelpFilePath;
    111     QString m_strKeyword;
     110    UIHelpBrowserWidget *m_pWidget;
    112111};
    113112
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp

    r86906 r86913  
    405405    /** Either start with a single tab showin the home url or saved tab(s). Depending on the params. passed to ctor. */
    406406    void initializeTabs();
    407     /** Initialize with a single url. Effectively disables multitab. Possibly used in context sensitive help mode. */
    408     void initializeSingleTab(const QUrl &url);
    409407    /* Url of the current tab. */
    410408    QUrl currentSource() const;
     
    418416    int fontPointSize() const;
    419417    void setFontScaleWidgetVisible(bool fToggled);
    420     void setMultiTabEnabled(bool fFlag);
    421418
    422419protected:
     
    443440    /** Immediately switch the newly created tab. Otherwise open the tab in background. */
    444441    bool m_fSwitchToNewTab;
    445     bool m_fMultiTabEnabled;
    446442    bool m_fToolBarVisible;
    447443};
     
    14181414    , m_savedUrlList(urlList)
    14191415    , m_fSwitchToNewTab(true)
    1420     , m_fMultiTabEnabled(true)
    14211416    , m_fToolBarVisible(true)
    14221417{
     
    14261421void UIHelpBrowserTabManager::addNewTab(const QUrl &initialUrl)
    14271422{
    1428     if (!m_fMultiTabEnabled && count() >= 1)
    1429         return;
    14301423   UIHelpBrowserTab *pTabWidget = new  UIHelpBrowserTab(m_pHelpEngine, m_homeUrl, initialUrl);
    14311424   AssertReturnVoid(pTabWidget);
     
    14661459}
    14671460
    1468 void UIHelpBrowserTabManager::initializeSingleTab(const QUrl &url)
    1469 {
    1470     m_fMultiTabEnabled = false;
    1471     clearAndDeleteTabs();
    1472     addNewTab(url);
    1473 }
    1474 
    14751461QUrl UIHelpBrowserTabManager::currentSource() const
    14761462{
     
    16401626*********************************************************************************************************************************/
    16411627
    1642 UIHelpBrowserWidget::UIHelpBrowserWidget(EmbedTo enmEmbedding, const QString &strHelpFilePath,
    1643                                          const QString &strKeyword /* = QString() */, QWidget *pParent /* = 0 */)
     1628UIHelpBrowserWidget::UIHelpBrowserWidget(EmbedTo enmEmbedding, const QString &strHelpFilePath, QWidget *pParent /* = 0 */)
    16441629    : QIWithRetranslateUI<QWidget>(pParent)
    16451630    , m_enmEmbedding(enmEmbedding)
     
    16501635    , m_pToolBar(0)
    16511636    , m_strHelpFilePath(strHelpFilePath)
    1652     , m_strKeyword(strKeyword)
    1653     , m_fContextSensitiveMode(strKeyword.isEmpty() ? false : true)
    16541637    , m_pHelpEngine(0)
    16551638    , m_pSplitter(0)
     
    16731656    , m_pFontSizeResetAction(0)
    16741657    , m_fModelContentCreated(false)
     1658    , m_fIndexingFinished(false)
    16751659{
    16761660    qRegisterMetaType<HelpBrowserTabs>("HelpBrowserTabs");
     
    16911675        << m_pViewMenu;
    16921676    return menuList;
     1677}
     1678
     1679void UIHelpBrowserWidget::showHelpForKeyword(const QString &strKeyword)
     1680{
     1681    if (m_fIndexingFinished)
     1682        findAndShowUrlForKeyword(strKeyword);
     1683    else
     1684        m_keywordList.append(strKeyword);
    16931685}
    16941686
     
    19111903void UIHelpBrowserWidget::saveOptions()
    19121904{
    1913     /* dont save the url list if context sensitive mode; */
    1914     if (m_pTabManager && !m_fContextSensitiveMode)
     1905    if (m_pTabManager)
    19151906        gEDataManager->setHelpBrowserLastUrlList(m_pTabManager->tabUrlList());
    19161907}
     
    20162007}
    20172008
     2009void UIHelpBrowserWidget::findAndShowUrlForKeyword(const QString &strKeyword)
     2010{
     2011    QMap<QString, QUrl> map = m_pHelpEngine->linksForIdentifier(strKeyword);
     2012    if (!map.isEmpty())
     2013    {
     2014        /* We have to a have a single url per keyword in this case: */
     2015        QUrl keywordUrl = map.first();
     2016        m_pTabManager->setSource(keywordUrl, true /* new tab */);
     2017    }
     2018}
     2019
    20182020void UIHelpBrowserWidget::sltHandleWidgetVisibilityToggle(bool fToggled)
    20192021{
     
    20472049void UIHelpBrowserWidget::sltHandleHelpEngineSetupFinished()
    20482050{
     2051    AssertReturnVoid(m_pTabManager);
     2052    m_fIndexingFinished = true;
     2053    m_pTabManager->initializeTabs();
    20492054}
    20502055
     
    20982103
    20992104    m_pSearchContainerWidget->setEnabled(true);
    2100     if (!m_fContextSensitiveMode)
    2101         m_pTabManager->initializeTabs();
    2102     else
    2103     {
    2104         QMap<QString, QUrl> map = m_pHelpEngine->linksForIdentifier(m_strKeyword);
    2105         if (!map.isEmpty())
    2106         {
    2107             /* We have to a have a single url per keyword in this case: */
    2108             QUrl keywordUrl = map.first();
    2109             m_pTabManager->initializeSingleTab(keywordUrl);
    2110         }
    2111     }
     2105    m_fIndexingFinished = true;
     2106    /* Process the keyword queue. */
     2107    foreach (const QString strKeyword, m_keywordList)
     2108        findAndShowUrlForKeyword(strKeyword);
     2109    m_keywordList.clear();
     2110
    21122111}
    21132112
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.h

    r86906 r86913  
    6767public:
    6868
    69     UIHelpBrowserWidget(EmbedTo enmEmbedding, const QString &strHelpFilePath,
    70                         const QString &strKeyword = QString(), QWidget *pParent = 0);
     69    UIHelpBrowserWidget(EmbedTo enmEmbedding, const QString &strHelpFilePath, QWidget *pParent = 0);
    7170    ~UIHelpBrowserWidget();
    72 
    7371    QList<QMenu*> menus() const;
    74 
     72    void showHelpForKeyword(const QString &strKeyword);
    7573#ifdef VBOX_WS_MAC
    7674    QIToolBar *toolbar() const { return m_pToolBar; }
     
    130128       virtual void keyPressEvent(QKeyEvent *pEvent) /* override */;
    131129    /** @} */
     130    /* Looks for Url for the keyword using QHelpEngine API and shows it in a new tab whne successful. */
     131    void findAndShowUrlForKeyword(const QString &strKeyword);
    132132
    133133    /** Holds the widget's embedding type. */
    134134    const EmbedTo m_enmEmbedding;
    135     /** Hold sthe action-pool reference. */
    136135    UIActionPool *m_pActionPool;
    137 
    138     /** Holds whether the dialog is polished. */
    139136    bool m_fIsPolished;
    140137
    141     /** Holds container for log-pages. */
    142138    QVBoxLayout         *m_pMainLayout;
    143139    QHBoxLayout         *m_pTopLayout;
     140    /** Container tab widget for content, index, bookmark widgets. Sits on a side bar. */
     141    QITabWidget *m_pTabWidget;
    144142
    145     QITabWidget *m_pTabWidget;
    146143    /** @name Toolbar and menu variables.
    147144     * @{ */
    148     QIToolBar *m_pToolBar;
     145       QIToolBar *m_pToolBar;
    149146    /** @} */
    150147
    151148    QString       m_strHelpFilePath;
    152149    /** Start the browser with this keyword. When not empty widget is shown `only` with html viewer and single tab.*/
    153     QString m_strKeyword;
    154     bool    m_fContextSensitiveMode;
    155150    QHelpEngine  *m_pHelpEngine;
    156151    QSplitter           *m_pSplitter;
     
    175170    /* This is set t true when handling QHelpContentModel::contentsCreated signal. */
    176171    bool                 m_fModelContentCreated;
     172    bool                 m_fIndexingFinished;
     173    /** This queue is used in unlikely case where possibly several keywords are requested to be shown
     174      *  but indexing is not yet finished. In that case we queue the keywords and process them after
     175      * after indexing is finished. */
     176    QStringList          m_keywordList;
    177177};
    178178
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialog.cpp

    r86907 r86913  
    118118{
    119119    const int iIndex = m_pages.value(cId);
    120     setHelpButtonHelpTag(iIndex);
     120    setHelpButtonHelpTag(cId);
    121121#ifdef VBOX_WS_MAC
    122122    /* If index is within the stored size list bounds: */
     
    423423        pSettingsPage->setId(cId);
    424424        assignValidator(pSettingsPage);
    425     }
    426 }
    427 
    428 void UISettingsDialog::enableHelpButton()
    429 {
    430     if (m_pButtonBox)
    431     {
    432         QPushButton *pHelpButton = m_pButtonBox->addButton(QDialogButtonBox::Help);
    433         if (pHelpButton)
    434             connect(pHelpButton, &QAbstractButton::pressed,
    435                     &(msgCenter()), &UIMessageCenter::sltHandleDialogHelpButtonPress);
    436425    }
    437426}
     
    784773    m_pButtonBox = new QIDialogButtonBox(pCentralWidget);
    785774    m_pButtonBox->setObjectName(QStringLiteral("m_pButtonBox"));
    786     m_pButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
     775    m_pButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|
     776                                     QDialogButtonBox::Ok| QDialogButtonBox::Help);
    787777    pMainLayout->addWidget(m_pButtonBox, 2, 0, 1, 2);
    788778
     
    791781    QObject::connect(m_pButtonBox, &QIDialogButtonBox::rejected, this, &UISettingsDialog::reject);
    792782    QObject::connect(m_pButtonBox, &QIDialogButtonBox::accepted, this, &UISettingsDialog::accept);
     783    connect(m_pButtonBox->button(QDialogButtonBox::Help), &QAbstractButton::pressed,
     784                                 &(msgCenter()), &UIMessageCenter::sltHandleDialogHelpButtonPress);
    793785}
    794786
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialog.h

    r86907 r86913  
    136136    virtual void recorrelate(UISettingsPage *pSettingsPage) { Q_UNUSED(pSettingsPage); }
    137137
    138     /** Inserts the standard help button to the button box of the dialog and make a connection to the appropirate slot. */
    139     void enableHelpButton();
    140138    /** Set/change/reset the help tag of the help buttons help tag. Possibly used as tabs are changed. Searches the map
    141139     * m_pageHelpTags for the help tag for the page with @iPageType (GlobalSettingsPageType or MachineSettingsPageType) */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp

    r86907 r86913  
    197197                    addItem(":/machine_32px.png", ":/machine_24px.png", ":/machine_16px.png",
    198198                            iPageIndex, "#general", pSettingsPage);
     199                    addPageHelpTag(iPageIndex, "globalsettings");
    199200                    break;
    200201                }
     
    205206                    addItem(":/keyboard_32px.png", ":/keyboard_24px.png", ":/keyboard_16px.png",
    206207                            iPageIndex, "#input", pSettingsPage);
     208                    addPageHelpTag(iPageIndex, "globalsettings");
    207209                    break;
    208210                }
     
    214216                    addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png",
    215217                            iPageIndex, "#update", pSettingsPage);
     218                    addPageHelpTag(iPageIndex, "globalsettings");
    216219                    break;
    217220                }
     
    223226                    addItem(":/site_32px.png", ":/site_24px.png", ":/site_16px.png",
    224227                            iPageIndex, "#language", pSettingsPage);
     228                    addPageHelpTag(iPageIndex, "globalsettings");
    225229                    break;
    226230                }
     
    231235                    addItem(":/vrdp_32px.png", ":/vrdp_24px.png", ":/vrdp_16px.png",
    232236                            iPageIndex, "#display", pSettingsPage);
     237                    addPageHelpTag(iPageIndex, "globalsettings");
    233238                    break;
    234239                }
     
    239244                    addItem(":/nw_32px.png", ":/nw_24px.png", ":/nw_16px.png",
    240245                            iPageIndex, "#network", pSettingsPage);
     246                    addPageHelpTag(iPageIndex, "globalsettings");
    241247                    break;
    242248                }
     
    247253                    addItem(":/extension_pack_32px.png", ":/extension_pack_24px.png", ":/extension_pack_16px.png",
    248254                            iPageIndex, "#extensions", pSettingsPage);
     255                    addPageHelpTag(iPageIndex, "globalsettings");
    249256                    break;
    250257                }
     
    256263                    addItem(":/proxy_32px.png", ":/proxy_24px.png", ":/proxy_16px.png",
    257264                            iPageIndex, "#proxy", pSettingsPage);
     265                    addPageHelpTag(iPageIndex, "globalsettings");
    258266                    break;
    259267                }
     
    721729                    addItem(":/vrdp_32px.png", ":/vrdp_24px.png", ":/vrdp_16px.png",
    722730                            iPageIndex, "#display", pSettingsPage);
     731                    addPageHelpTag(iPageIndex, "settings-display");
    723732                    break;
    724733                }
     
    731740                    addItem(":/hd_32px.png", ":/hd_24px.png", ":/hd_16px.png",
    732741                            iPageIndex, "#storage", pSettingsPage);
     742                    addPageHelpTag(iPageIndex, "settings-storage");
    733743                    break;
    734744                }
     
    739749                    addItem(":/sound_32px.png", ":/sound_24px.png", ":/sound_16px.png",
    740750                            iPageIndex, "#audio", pSettingsPage);
     751                    addPageHelpTag(iPageIndex, "settings-audio");
    741752                    break;
    742753                }
     
    747758                    addItem(":/nw_32px.png", ":/nw_24px.png", ":/nw_16px.png",
    748759                            iPageIndex, "#network", pSettingsPage);
     760                    addPageHelpTag(iPageIndex, "settings-network");
    749761                    break;
    750762                }
     
    762774                    addItem(":/serial_port_32px.png", ":/serial_port_24px.png", ":/serial_port_16px.png",
    763775                            iPageIndex, "#serialPorts", pSettingsPage, MachineSettingsPageType_Ports);
     776                    addPageHelpTag(iPageIndex, "serialports");
    764777                    break;
    765778                }
     
    770783                    addItem(":/usb_32px.png", ":/usb_24px.png", ":/usb_16px.png",
    771784                            iPageIndex, "#usb", pSettingsPage, MachineSettingsPageType_Ports);
     785                    addPageHelpTag(iPageIndex, "usb-support");
    772786                    break;
    773787                }
     
    778792                    addItem(":/sf_32px.png", ":/sf_24px.png", ":/sf_16px.png",
    779793                            iPageIndex, "#sharedFolders", pSettingsPage);
     794                    addPageHelpTag(iPageIndex, "shared-folders");
    780795                    break;
    781796                }
     
    786801                    addItem(":/interface_32px.png", ":/interface_24px.png", ":/interface_16px.png",
    787802                            iPageIndex, "#userInterface", pSettingsPage);
     803                    addPageHelpTag(iPageIndex, "user-interface");
    788804                    break;
    789805                }
     
    833849    else
    834850        m_pSelector->selectById(MachineSettingsPageType_General);
    835 
    836     /* Enabled the 'Help' button of the button box for the context senstive help: */
    837     enableHelpButton();
    838851}
    839852
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette