VirtualBox

Changeset 73860 in vbox for trunk


Ignore:
Timestamp:
Aug 23, 2018 4:35:33 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: UIActionPool* classes: Move Log Viewer, Snapshot Pane, Media Manager and Network Manager action shortcuts into own scopes, excluding collisions for their shortcut sequences.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

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

    r73823 r73860  
    12421242    {
    12431243        setName(QApplication::translate("UIActionPool", "&Find"));
     1244        setShortcutScope(QApplication::translate("UIActionPool", "Log Viewer"));
    12441245        setStatusTip(QApplication::translate("UIActionPool", "Open pane with searching options"));
    12451246        setToolTip(tr("Open Find Pane (%1)").arg(shortcut().toString()));
     
    12781279    {
    12791280        setName(QApplication::translate("UIActionPool", "&Filter"));
     1281        setShortcutScope(QApplication::translate("UIActionPool", "Log Viewer"));
    12801282        setStatusTip(QApplication::translate("UIActionPool", "Open pane with filtering options"));
    12811283        setToolTip(tr("Open Filter Pane (%1)").arg(shortcut().toString()));
     
    13141316    {
    13151317        setName(QApplication::translate("UIActionPool", "&Bookmark"));
     1318        setShortcutScope(QApplication::translate("UIActionPool", "Log Viewer"));
    13161319        setStatusTip(QApplication::translate("UIActionPool", "Open pane with bookmarking options"));
    13171320        setToolTip(tr("Open Bookmark Pane (%1)").arg(shortcut().toString()));
     
    13501353    {
    13511354        setName(QApplication::translate("UIActionPool", "&Settings"));
     1355        setShortcutScope(QApplication::translate("UIActionPool", "Log Viewer"));
    13521356        setStatusTip(QApplication::translate("UIActionPool", "Open pane with log viewer settings"));
    13531357        setToolTip(tr("Open Settings Pane (%1)").arg(shortcut().toString()));
     
    13861390    {
    13871391        setName(QApplication::translate("UIActionPool", "&Refresh"));
     1392        setShortcutScope(QApplication::translate("UIActionPool", "Log Viewer"));
    13881393        setStatusTip(QApplication::translate("UIActionPool", "Refresh selected virtual machine log"));
    13891394        setToolTip(tr("Refresh Virtual Machine Log (%1)").arg(shortcut().toString()));
     
    14221427    {
    14231428        setName(QApplication::translate("UIActionPool", "&Save..."));
     1429        setShortcutScope(QApplication::translate("UIActionPool", "Log Viewer"));
    14241430        setStatusTip(QApplication::translate("UIActionPool", "Save selected virtual machine log"));
    14251431        setToolTip(tr("Save Virtual Machine Log (%1)").arg(shortcut().toString()));
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolSelector.cpp

    r73790 r73860  
    16161616    {
    16171617        setName(QApplication::translate("UIActionPool", "&Take..."));
     1618        setShortcutScope(QApplication::translate("UIActionPool", "Snapshot Pane"));
    16181619        setStatusTip(QApplication::translate("UIActionPool", "Take a snapshot of the current virtual machine state"));
    16191620        setToolTip(tr("Take Snapshot (%1)").arg(shortcut().toString()));
     
    16531654    {
    16541655        setName(QApplication::translate("UIActionPool", "&Delete..."));
     1656        setShortcutScope(QApplication::translate("UIActionPool", "Snapshot Pane"));
    16551657        setStatusTip(QApplication::translate("UIActionPool", "Delete selected snapshot of the virtual machine"));
    16561658        setToolTip(tr("Delete Snapshot (%1)").arg(shortcut().toString()));
     
    16901692    {
    16911693        setName(QApplication::translate("UIActionPool", "&Restore..."));
     1694        setShortcutScope(QApplication::translate("UIActionPool", "Snapshot Pane"));
    16921695        setStatusTip(QApplication::translate("UIActionPool", "Restore selected snapshot of the virtual machine"));
    16931696        setToolTip(tr("Restore Snapshot (%1)").arg(shortcut().toString()));
     
    17271730    {
    17281731        setName(QApplication::translate("UIActionPool", "&Properties"));
     1732        setShortcutScope(QApplication::translate("UIActionPool", "Snapshot Pane"));
    17291733        setStatusTip(QApplication::translate("UIActionPool", "Open pane with the selected snapshot properties"));
    17301734        setToolTip(tr("Open Snapshot Properties (%1)").arg(shortcut().toString()));
     
    17641768    {
    17651769        setName(QApplication::translate("UIActionPool", "&Clone..."));
     1770        setShortcutScope(QApplication::translate("UIActionPool", "Snapshot Pane"));
    17661771        setStatusTip(QApplication::translate("UIActionPool", "Clone selected virtual machine"));
    17671772        setToolTip(tr("Clone Virtual Machine (%1)").arg(shortcut().toString()));
     
    18351840    {
    18361841        setName(QApplication::translate("UIActionPool", "&Add..."));
     1842        setShortcutScope(QApplication::translate("UIActionPool", "Media Manager"));
    18371843        setStatusTip(QApplication::translate("UIActionPool", "Add a disk image file"));
    18381844        setToolTip(tr("Add a Disk Image File (%1)").arg(shortcut().toString()));
     
    18771883    {
    18781884        setName(QApplication::translate("UIActionPool", "&Copy..."));
     1885        setShortcutScope(QApplication::translate("UIActionPool", "Media Manager"));
    18791886        setStatusTip(QApplication::translate("UIActionPool", "Copy selected disk image file"));
    18801887        setToolTip(tr("Copy Disk Image File (%1)").arg(shortcut().toString()));
     
    19191926    {
    19201927        setName(QApplication::translate("UIActionPool", "&Move..."));
     1928        setShortcutScope(QApplication::translate("UIActionPool", "Media Manager"));
    19211929        setStatusTip(QApplication::translate("UIActionPool", "Move selected disk image file"));
    19221930        setToolTip(tr("Move Disk Image File (%1)").arg(shortcut().toString()));
     
    19611969    {
    19621970        setName(QApplication::translate("UIActionPool", "&Remove..."));
     1971        setShortcutScope(QApplication::translate("UIActionPool", "Media Manager"));
    19631972        setStatusTip(QApplication::translate("UIActionPool", "Remove selected disk image file"));
    19641973        setToolTip(tr("Remove Disk Image File (%1)").arg(shortcut().toString()));
     
    20032012    {
    20042013        setName(QApplication::translate("UIActionPool", "Re&lease..."));
     2014        setShortcutScope(QApplication::translate("UIActionPool", "Media Manager"));
    20052015        setStatusTip(QApplication::translate("UIActionPool", "Release selected disk image file"));
    20062016        setToolTip(tr("Release Disk Image File (%1)").arg(shortcut().toString()));
     
    20452055    {
    20462056        setName(QApplication::translate("UIActionPool", "&Properties"));
     2057        setShortcutScope(QApplication::translate("UIActionPool", "Media Manager"));
    20472058        setStatusTip(QApplication::translate("UIActionPool", "Open pane with selected disk image file properties"));
    20482059        setToolTip(tr("Open Disk Image File Properties (%1)").arg(shortcut().toString()));
     
    20822093    {
    20832094        setName(QApplication::translate("UIActionPool", "Re&fresh..."));
     2095        setShortcutScope(QApplication::translate("UIActionPool", "Media Manager"));
    20842096        setStatusTip(QApplication::translate("UIActionPool", "Refresh the list of disk image files"));
    20852097        setToolTip(tr("Refresh Disk Image Files (%1)").arg(shortcut().toString()));
     
    21482160    {
    21492161        setName(QApplication::translate("UIActionPool", "&Create..."));
     2162        setShortcutScope(QApplication::translate("UIActionPool", "Network Manager"));
    21502163        setStatusTip(QApplication::translate("UIActionPool", "Create new host-only network"));
    21512164        setToolTip(tr("Create Host-only Network (%1)").arg(shortcut().toString()));
     
    21852198    {
    21862199        setName(QApplication::translate("UIActionPool", "&Remove..."));
     2200        setShortcutScope(QApplication::translate("UIActionPool", "Network Manager"));
    21872201        setStatusTip(QApplication::translate("UIActionPool", "Remove selected host-only network"));
    21882202        setToolTip(tr("Remove Host-only Network (%1)").arg(shortcut().toString()));
     
    22222236    {
    22232237        setName(QApplication::translate("UIActionPool", "&Properties"));
     2238        setShortcutScope(QApplication::translate("UIActionPool", "Network Manager"));
    22242239        setStatusTip(QApplication::translate("UIActionPool", "Open pane with selected host-only network properties"));
    22252240        setToolTip(tr("Open Host-only Network Properties (%1)").arg(shortcut().toString()));
     
    22592274    {
    22602275        setName(QApplication::translate("UIActionPool", "Re&fresh..."));
     2276        setShortcutScope(QApplication::translate("UIActionPool", "Network Manager"));
    22612277        setStatusTip(QApplication::translate("UIActionPool", "Refresh the list of host-only networks"));
    22622278        setToolTip(tr("Refresh Host-only Networks (%1)").arg(shortcut().toString()));
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