Changeset 100943 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 22, 2023 4:21:00 PM (16 months ago)
- 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 1310 1310 }; 1311 1311 1312 /** Simple action extension, used as 'Toggle Pane Options' action class. */1313 class UIActionMenuSelectorLogTogglePane Options : public UIActionToggle1314 { 1315 Q_OBJECT; 1316 1317 public: 1318 1319 /** Constructs action passing @a pParent to the base-class. */ 1320 UIActionMenuSelectorLogTogglePane Options(UIActionPool *pParent)1312 /** Simple action extension, used as 'Toggle Pane Preferences' action class. */ 1313 class UIActionMenuSelectorLogTogglePanePreferences : public UIActionToggle 1314 { 1315 Q_OBJECT; 1316 1317 public: 1318 1319 /** Constructs action passing @a pParent to the base-class. */ 1320 UIActionMenuSelectorLogTogglePanePreferences(UIActionPool *pParent) 1321 1321 : UIActionToggle(pParent) 1322 1322 { … … 1331 1331 virtual QString shortcutExtraDataID() const RT_OVERRIDE 1332 1332 { 1333 return QString("ToggleLog Options");1333 return QString("ToggleLogPreferences"); 1334 1334 } 1335 1335 … … 1343 1343 virtual void retranslateUi() RT_OVERRIDE 1344 1344 { 1345 setName(QApplication::translate("UIActionPool", "& Options"));1345 setName(QApplication::translate("UIActionPool", "&Preferences")); 1346 1346 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") 1349 1349 + (shortcut().isEmpty() ? QString() : QString(" (%1)").arg(shortcut().toString()))); 1350 1350 } … … 3505 3505 m_pool[UIActionIndex_M_Log_T_Filter] = new UIActionMenuSelectorLogTogglePaneFilter(this); 3506 3506 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); 3508 3508 m_pool[UIActionIndex_M_Log_S_Refresh] = new UIActionMenuSelectorLogPerformRefresh(this); 3509 3509 m_pool[UIActionIndex_M_Log_S_Reload] = new UIActionMenuSelectorLogPerformReload(this); … … 3961 3961 /* 'Bookmarks' action: */ 3962 3962 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; 3965 3965 3966 3966 /* Separator? */ -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.h
r100888 r100943 104 104 UIActionIndex_M_Log_T_Filter, 105 105 UIActionIndex_M_Log_T_Bookmark, 106 UIActionIndex_M_Log_T_ Options,106 UIActionIndex_M_Log_T_Preferences, 107 107 UIActionIndex_M_Log_S_Refresh, 108 108 UIActionIndex_M_Log_S_Reload, -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
r100936 r100943 704 704 addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Filter)); 705 705 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)); 707 707 addAction(m_pActionPool->action(UIActionIndex_M_Log_S_Refresh)); 708 708 addAction(m_pActionPool->action(UIActionIndex_M_Log_S_Save)); … … 715 715 connect(m_pActionPool->action(UIActionIndex_M_Log_T_Bookmark), &QAction::toggled, 716 716 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, 718 718 this, &UIVMLogViewerWidget::sltPanelActionToggled); 719 719 connect(m_pActionPool->action(UIActionIndex_M_Log_S_Refresh), &QAction::triggered, … … 806 806 m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_Log_T_Filter)); 807 807 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)); 809 809 m_pToolBar->addSeparator(); 810 810 m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_Log_S_Refresh)); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r100888 r100943 982 982 m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_T_Filter)); 983 983 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)); 985 985 m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_S_Refresh)); 986 986 m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_S_Reload));
Note:
See TracChangeset
for help on using the changeset viewer.