VirtualBox

Changeset 100943 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 22, 2023 4:21:00 PM (16 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10496, bugref:9072. Some renaming.

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

Legend:

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

    r100888 r100943  
    13101310};
    13111311
    1312 /** Simple action extension, used as 'Toggle Pane Options' action class. */
    1313 class UIActionMenuSelectorLogTogglePaneOptions : public UIActionToggle
    1314 {
    1315     Q_OBJECT;
    1316 
    1317 public:
    1318 
    1319     /** Constructs action passing @a pParent to the base-class. */
    1320     UIActionMenuSelectorLogTogglePaneOptions(UIActionPool *pParent)
     1312/** Simple action extension, used as 'Toggle Pane Preferences' action class. */
     1313class UIActionMenuSelectorLogTogglePanePreferences : public UIActionToggle
     1314{
     1315    Q_OBJECT;
     1316
     1317public:
     1318
     1319    /** Constructs action passing @a pParent to the base-class. */
     1320    UIActionMenuSelectorLogTogglePanePreferences(UIActionPool *pParent)
    13211321        : UIActionToggle(pParent)
    13221322    {
     
    13311331    virtual QString shortcutExtraDataID() const RT_OVERRIDE
    13321332    {
    1333         return QString("ToggleLogOptions");
     1333        return QString("ToggleLogPreferences");
    13341334    }
    13351335
     
    13431343    virtual void retranslateUi() RT_OVERRIDE
    13441344    {
    1345         setName(QApplication::translate("UIActionPool", "&Options"));
     1345        setName(QApplication::translate("UIActionPool", "&Preferences"));
    13461346        setShortcutScope(QApplication::translate("UIActionPool", "Log Viewer"));
    1347         setStatusTip(QApplication::translate("UIActionPool", "Open pane with log viewer options"));
    1348         setToolTip(  QApplication::translate("UIActionPool", "Open Options Pane")
     1347        setStatusTip(QApplication::translate("UIActionPool", "Open pane with log viewer preferences"));
     1348        setToolTip(  QApplication::translate("UIActionPool", "Open Preferences Pane")
    13491349                   + (shortcut().isEmpty() ? QString() : QString(" (%1)").arg(shortcut().toString())));
    13501350    }
     
    35053505    m_pool[UIActionIndex_M_Log_T_Filter] = new UIActionMenuSelectorLogTogglePaneFilter(this);
    35063506    m_pool[UIActionIndex_M_Log_T_Bookmark] = new UIActionMenuSelectorLogTogglePaneBookmark(this);
    3507     m_pool[UIActionIndex_M_Log_T_Options] = new UIActionMenuSelectorLogTogglePaneOptions(this);
     3507    m_pool[UIActionIndex_M_Log_T_Preferences] = new UIActionMenuSelectorLogTogglePanePreferences(this);
    35083508    m_pool[UIActionIndex_M_Log_S_Refresh] = new UIActionMenuSelectorLogPerformRefresh(this);
    35093509    m_pool[UIActionIndex_M_Log_S_Reload] = new UIActionMenuSelectorLogPerformReload(this);
     
    39613961    /* 'Bookmarks' action: */
    39623962    fSeparator = addAction(pMenu, action(UIActionIndex_M_Log_T_Bookmark)) || fSeparator;
    3963     /* 'Options' action: */
    3964     fSeparator = addAction(pMenu, action(UIActionIndex_M_Log_T_Options)) || fSeparator;
     3963    /* 'Preferences' action: */
     3964    fSeparator = addAction(pMenu, action(UIActionIndex_M_Log_T_Preferences)) || fSeparator;
    39653965
    39663966    /* Separator? */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.h

    r100888 r100943  
    104104    UIActionIndex_M_Log_T_Filter,
    105105    UIActionIndex_M_Log_T_Bookmark,
    106     UIActionIndex_M_Log_T_Options,
     106    UIActionIndex_M_Log_T_Preferences,
    107107    UIActionIndex_M_Log_S_Refresh,
    108108    UIActionIndex_M_Log_S_Reload,
  • trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp

    r100936 r100943  
    704704    addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Filter));
    705705    addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Bookmark));
    706     addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Options));
     706    addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Preferences));
    707707    addAction(m_pActionPool->action(UIActionIndex_M_Log_S_Refresh));
    708708    addAction(m_pActionPool->action(UIActionIndex_M_Log_S_Save));
     
    715715    connect(m_pActionPool->action(UIActionIndex_M_Log_T_Bookmark), &QAction::toggled,
    716716            this, &UIVMLogViewerWidget::sltPanelActionToggled);
    717     connect(m_pActionPool->action(UIActionIndex_M_Log_T_Options), &QAction::toggled,
     717    connect(m_pActionPool->action(UIActionIndex_M_Log_T_Preferences), &QAction::toggled,
    718718            this, &UIVMLogViewerWidget::sltPanelActionToggled);
    719719    connect(m_pActionPool->action(UIActionIndex_M_Log_S_Refresh), &QAction::triggered,
     
    806806        m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Filter));
    807807        m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Bookmark));
    808         m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Options));
     808        m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Preferences));
    809809        m_pToolBar->addSeparator();
    810810        m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_Log_S_Refresh));
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp

    r100888 r100943  
    982982                    m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_T_Filter));
    983983                    m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_T_Bookmark));
    984                     m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_T_Options));
     984                    m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_T_Preferences));
    985985                    m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_S_Refresh));
    986986                    m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_S_Reload));
Note: See TracChangeset for help on using the changeset viewer.

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