Changeset 100156 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
- Timestamp:
- Jun 12, 2023 3:25:05 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r100123 r100156 2292 2292 }; 2293 2293 2294 /** Toggle action extension, used to toggle 'VISO Creator options' panelin file manager. */2295 class UIActionMenuVISOCreatorToggle OptionsPanel: public UIActionToggle2296 { 2297 Q_OBJECT; 2298 2299 public: 2300 2301 /** Constructs action passing @a pParent to the base-class. */ 2302 UIActionMenuVISOCreatorToggle OptionsPanel(UIActionPool *pParent)2294 /** Toggle action extension, used to toggle 'VISO Creator settings' dialog in file manager. */ 2295 class UIActionMenuVISOCreatorToggleSettingsDialog : public UIActionToggle 2296 { 2297 Q_OBJECT; 2298 2299 public: 2300 2301 /** Constructs action passing @a pParent to the base-class. */ 2302 UIActionMenuVISOCreatorToggleSettingsDialog(UIActionPool *pParent) 2303 2303 : UIActionToggle(pParent) 2304 2304 { … … 2315 2315 virtual QString shortcutExtraDataID() const RT_OVERRIDE 2316 2316 { 2317 return QString("ToggleVISOCreator OptionsPanel");2317 return QString("ToggleVISOCreatorSettingsDialog"); 2318 2318 } 2319 2319 … … 2327 2327 virtual void retranslateUi() RT_OVERRIDE 2328 2328 { 2329 setName(QApplication::translate("UIActionPool", " Options"));2329 setName(QApplication::translate("UIActionPool", "Settings")); 2330 2330 setShortcutScope(QApplication::translate("UIActionPool", "VISO Creator")); 2331 setStatusTip(QApplication::translate("UIActionPool", "Open panel for VISO Creator options"));2332 setToolTip(QApplication::translate("UIActionPool", "Open Options Panel")2331 setStatusTip(QApplication::translate("UIActionPool", "Open VISO Creator settings dialog")); 2332 setToolTip(QApplication::translate("UIActionPool", "Open Settings Dialog") 2333 2333 + (shortcut().isEmpty() ? QString() : QString(" (%1)").arg(shortcut().toString()))); 2334 2334 } … … 3186 3186 /* Create VISO Creator actions: */ 3187 3187 m_pool[UIActionIndex_M_VISOCreator] = new UIActionMenuVISOCreator(this); 3188 m_pool[UIActionIndex_M_VISOCreator_Toggle OptionsPanel] = new UIActionMenuVISOCreatorToggleOptionsPanel(this);3188 m_pool[UIActionIndex_M_VISOCreator_ToggleSettingsDialog] = new UIActionMenuVISOCreatorToggleSettingsDialog(this); 3189 3189 m_pool[UIActionIndex_M_VISOCreator_Add] = new UIActionMenuVISOCreatorAdd(this); 3190 3190 m_pool[UIActionIndex_M_VISOCreator_Remove] = new UIActionMenuVISOCreatorRemove(this);
Note:
See TracChangeset
for help on using the changeset viewer.