VirtualBox

Changeset 85597 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 3, 2020 12:17:47 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9609: A bit of cleanup for action-pool stuff: Rename ST (from SelecTor) to MN (MaNager).

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/cloud/consolemanager/UICloudConsoleManager.cpp

    r85486 r85597  
    469469QMenu *UICloudConsoleManagerWidget::menu() const
    470470{
    471     return m_pActionPool->action(UIActionIndexST_M_CloudConsoleWindow)->menu();
     471    return m_pActionPool->action(UIActionIndexMN_M_CloudConsoleWindow)->menu();
    472472}
    473473
     
    689689
    690690    /* Update actions availability: */
    691     m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationAdd)->setEnabled(!pItem || pItemApplication);
    692     m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationRemove)->setEnabled(pItemApplication);
    693     m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileAdd)->setEnabled(pItemApplication || pItemProfile);
    694     m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileRemove)->setEnabled(pItemProfile);
    695     m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details)->setEnabled(pItemApplication || pItemProfile);
     691    m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationAdd)->setEnabled(!pItem || pItemApplication);
     692    m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationRemove)->setEnabled(pItemApplication);
     693    m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileAdd)->setEnabled(pItemApplication || pItemProfile);
     694    m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileRemove)->setEnabled(pItemProfile);
     695    m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details)->setEnabled(pItemApplication || pItemProfile);
    696696
    697697    /* Update current-item definition: */
     
    708708
    709709    /* Update details area visibility: */
    710     sltToggleCloudConsoleDetailsVisibility(pItem && m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details)->isChecked());
     710    sltToggleCloudConsoleDetailsVisibility(pItem && m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details)->isChecked());
    711711}
    712712
     
    722722    if (pItemApplication)
    723723    {
    724         menu.addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationRemove));
    725         menu.addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileAdd));
    726         menu.addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details));
     724        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationRemove));
     725        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileAdd));
     726        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details));
    727727    }
    728728    else if (pItemProfile)
    729729    {
    730         menu.addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileRemove));
    731         menu.addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details));
     730        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileRemove));
     731        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details));
    732732    }
    733733    else
    734         menu.addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationAdd));
     734        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationAdd));
    735735
    736736    /* And show it: */
     
    787787{
    788788    /* First of all, add actions which has smaller shortcut scope: */
    789     addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationAdd));
    790     addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationRemove));
    791     addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileAdd));
    792     addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileRemove));
    793     addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details));
     789    addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationAdd));
     790    addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationRemove));
     791    addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileAdd));
     792    addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileRemove));
     793    addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details));
    794794}
    795795
     
    832832
    833833        /* Add toolbar actions: */
    834         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationAdd));
    835         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationRemove));
     834        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationAdd));
     835        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationRemove));
    836836        m_pToolBar->addSeparator();
    837         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileAdd));
    838         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileRemove));
     837        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileAdd));
     838        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileRemove));
    839839        m_pToolBar->addSeparator();
    840         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details));
     840        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details));
    841841
    842842#ifdef VBOX_WS_MAC
     
    894894{
    895895    /* Action connections: */
    896     connect(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationAdd), &QAction::triggered,
     896    connect(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationAdd), &QAction::triggered,
    897897            this, &UICloudConsoleManagerWidget::sltAddCloudConsoleApplication);
    898     connect(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ApplicationRemove), &QAction::triggered,
     898    connect(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ApplicationRemove), &QAction::triggered,
    899899            this, &UICloudConsoleManagerWidget::sltRemoveCloudConsoleApplication);
    900     connect(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileAdd), &QAction::triggered,
     900    connect(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileAdd), &QAction::triggered,
    901901            this, &UICloudConsoleManagerWidget::sltAddCloudConsoleProfile);
    902     connect(m_pActionPool->action(UIActionIndexST_M_CloudConsole_S_ProfileRemove), &QAction::triggered,
     902    connect(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_S_ProfileRemove), &QAction::triggered,
    903903            this, &UICloudConsoleManagerWidget::sltRemoveCloudConsoleProfile);
    904     connect(m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details), &QAction::toggled,
     904    connect(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details), &QAction::toggled,
    905905            this, &UICloudConsoleManagerWidget::sltToggleCloudConsoleDetailsVisibility);
    906906
     
    915915            this, &UICloudConsoleManagerWidget::sltHandleContextMenuRequest);
    916916    connect(m_pTreeWidget, &QITreeWidget::itemDoubleClicked,
    917             m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details), &QAction::setChecked);
     917            m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details), &QAction::setChecked);
    918918    connect(m_pTreeWidget, &QITreeWidget::itemChanged,
    919919            this, &UICloudConsoleManagerWidget::sltHandleItemChange);
     
    937937{
    938938    /* Details action/widget: */
    939     m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details)->setChecked(gEDataManager->cloudConsoleManagerDetailsExpanded());
    940     sltToggleCloudConsoleDetailsVisibility(m_pActionPool->action(UIActionIndexST_M_CloudConsole_T_Details)->isChecked());
     939    m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details)->setChecked(gEDataManager->cloudConsoleManagerDetailsExpanded());
     940    sltToggleCloudConsoleDetailsVisibility(m_pActionPool->action(UIActionIndexMN_M_CloudConsole_T_Details)->isChecked());
    941941}
    942942
  • trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.cpp

    r85387 r85597  
    164164QMenu *UICloudProfileManagerWidget::menu() const
    165165{
    166     return m_pActionPool->action(UIActionIndexST_M_CloudWindow)->menu();
     166    return m_pActionPool->action(UIActionIndexMN_M_CloudWindow)->menu();
    167167}
    168168
     
    521521
    522522    /* Update actions availability: */
    523     m_pActionPool->action(UIActionIndexST_M_Cloud_S_Add)->setEnabled(!pItem || pItemProvider);
    524     m_pActionPool->action(UIActionIndexST_M_Cloud_S_Import)->setEnabled(!pItem || pItemProvider);
    525     m_pActionPool->action(UIActionIndexST_M_Cloud_S_Remove)->setEnabled(pItemProfile);
    526     m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details)->setEnabled(pItemProfile || pItemProvider);
     523    m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Add)->setEnabled(!pItem || pItemProvider);
     524    m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Import)->setEnabled(!pItem || pItemProvider);
     525    m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Remove)->setEnabled(pItemProfile);
     526    m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details)->setEnabled(pItemProfile || pItemProvider);
    527527
    528528    /* If there is an item => update details data: */
     
    534534
    535535    /* Update details area visibility: */
    536     sltToggleCloudProfileDetailsVisibility(pItem && m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details)->isChecked());
     536    sltToggleCloudProfileDetailsVisibility(pItem && m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details)->isChecked());
    537537}
    538538
     
    548548    if (pItemProfile)
    549549    {
    550         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Remove));
    551         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details));
     550        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Remove));
     551        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details));
    552552    }
    553553    else if (pItemProvider)
    554554    {
    555         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Add));
    556         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Import));
    557         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details));
     555        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Add));
     556        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Import));
     557        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details));
    558558    }
    559559
     
    611611{
    612612    /* First of all, add actions which has smaller shortcut scope: */
    613     addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Add));
    614     addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Import));
    615     addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Remove));
    616     addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details));
    617     addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_TryPage));
    618     addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Help));
     613    addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Add));
     614    addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Import));
     615    addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Remove));
     616    addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details));
     617    addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_TryPage));
     618    addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Help));
    619619}
    620620
     
    657657
    658658        /* Add toolbar actions: */
    659         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Add));
    660         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Import));
     659        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Add));
     660        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Import));
    661661        m_pToolBar->addSeparator();
    662         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Remove));
    663         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details));
     662        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Remove));
     663        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details));
    664664        m_pToolBar->addSeparator();
    665         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_TryPage));
    666         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Help));
     665        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_TryPage));
     666        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Help));
    667667
    668668#ifdef VBOX_WS_MAC
     
    720720{
    721721    /* Action connections: */
    722     connect(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Add), &QAction::triggered,
     722    connect(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Add), &QAction::triggered,
    723723            this, &UICloudProfileManagerWidget::sltAddCloudProfile);
    724     connect(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Import), &QAction::triggered,
     724    connect(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Import), &QAction::triggered,
    725725            this, &UICloudProfileManagerWidget::sltImportCloudProfiles);
    726     connect(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Remove), &QAction::triggered,
     726    connect(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Remove), &QAction::triggered,
    727727            this, &UICloudProfileManagerWidget::sltRemoveCloudProfile);
    728     connect(m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details), &QAction::toggled,
     728    connect(m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details), &QAction::toggled,
    729729            this, &UICloudProfileManagerWidget::sltToggleCloudProfileDetailsVisibility);
    730     connect(m_pActionPool->action(UIActionIndexST_M_Cloud_S_TryPage), &QAction::triggered,
     730    connect(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_TryPage), &QAction::triggered,
    731731            this, &UICloudProfileManagerWidget::sltShowCloudProfileTryPage);
    732     connect(m_pActionPool->action(UIActionIndexST_M_Cloud_S_Help), &QAction::triggered,
     732    connect(m_pActionPool->action(UIActionIndexMN_M_Cloud_S_Help), &QAction::triggered,
    733733            this, &UICloudProfileManagerWidget::sltShowCloudProfileHelp);
    734734
     
    743743            this, &UICloudProfileManagerWidget::sltHandleContextMenuRequest);
    744744    connect(m_pTreeWidget, &QITreeWidget::itemDoubleClicked,
    745             m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details), &QAction::setChecked);
     745            m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details), &QAction::setChecked);
    746746    connect(m_pTreeWidget, &QITreeWidget::itemChanged,
    747747            this, &UICloudProfileManagerWidget::sltHandleItemChange);
     
    763763{
    764764    /* Details action/widget: */
    765     m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details)->setChecked(gEDataManager->cloudProfileManagerDetailsExpanded());
    766     sltToggleCloudProfileDetailsVisibility(m_pActionPool->action(UIActionIndexST_M_Cloud_T_Details)->isChecked());
     765    m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details)->setChecked(gEDataManager->cloudProfileManagerDetailsExpanded());
     766    sltToggleCloudProfileDetailsVisibility(m_pActionPool->action(UIActionIndexMN_M_Cloud_T_Details)->isChecked());
    767767}
    768768
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolManager.cpp

    r85572 r85597  
    33663366{
    33673367    /* 'File' actions: */
    3368     m_pool[UIActionIndexST_M_File] = new UIActionMenuSelectorFile(this);
    3369     m_pool[UIActionIndexST_M_File_S_ShowVirtualMediumManager] = new UIActionSimpleSelectorFileShowVirtualMediaManager(this);
    3370     m_pool[UIActionIndexST_M_File_S_ShowHostNetworkManager] = new UIActionSimpleSelectorFileShowHostNetworkManager(this);
    3371     m_pool[UIActionIndexST_M_File_S_ShowCloudProfileManager] = new UIActionSimpleSelectorFileShowCloudProfileManager(this);
    3372     m_pool[UIActionIndexST_M_File_S_ImportAppliance] = new UIActionSimpleSelectorFileShowImportApplianceWizard(this);
    3373     m_pool[UIActionIndexST_M_File_S_ExportAppliance] = new UIActionSimpleSelectorFileShowExportApplianceWizard(this);
    3374     m_pool[UIActionIndexST_M_File_S_NewCloudVM] = new UIActionSimpleSelectorFileShowNewCloudVMWizard(this);
     3368    m_pool[UIActionIndexMN_M_File] = new UIActionMenuSelectorFile(this);
     3369    m_pool[UIActionIndexMN_M_File_S_ShowVirtualMediumManager] = new UIActionSimpleSelectorFileShowVirtualMediaManager(this);
     3370    m_pool[UIActionIndexMN_M_File_S_ShowHostNetworkManager] = new UIActionSimpleSelectorFileShowHostNetworkManager(this);
     3371    m_pool[UIActionIndexMN_M_File_S_ShowCloudProfileManager] = new UIActionSimpleSelectorFileShowCloudProfileManager(this);
     3372    m_pool[UIActionIndexMN_M_File_S_ImportAppliance] = new UIActionSimpleSelectorFileShowImportApplianceWizard(this);
     3373    m_pool[UIActionIndexMN_M_File_S_ExportAppliance] = new UIActionSimpleSelectorFileShowExportApplianceWizard(this);
     3374    m_pool[UIActionIndexMN_M_File_S_NewCloudVM] = new UIActionSimpleSelectorFileShowNewCloudVMWizard(this);
    33753375#ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    3376     m_pool[UIActionIndexST_M_File_S_ShowExtraDataManager] = new UIActionSimpleSelectorFileShowExtraDataManager(this);
     3376    m_pool[UIActionIndexMN_M_File_S_ShowExtraDataManager] = new UIActionSimpleSelectorFileShowExtraDataManager(this);
    33773377#endif
    3378     m_pool[UIActionIndexST_M_File_S_Close] = new UIActionSimpleSelectorFilePerformExit(this);
     3378    m_pool[UIActionIndexMN_M_File_S_Close] = new UIActionSimpleSelectorFilePerformExit(this);
    33793379
    33803380    /* 'Welcome' actions: */
    3381     m_pool[UIActionIndexST_M_Welcome] = new UIActionMenuSelectorMachine(this);
    3382     m_pool[UIActionIndexST_M_Welcome_S_New] = new UIActionSimpleSelectorMachinePerformCreate(this);
    3383     m_pool[UIActionIndexST_M_Welcome_S_Add] = new UIActionSimpleSelectorMachinePerformAdd(this);
     3381    m_pool[UIActionIndexMN_M_Welcome] = new UIActionMenuSelectorMachine(this);
     3382    m_pool[UIActionIndexMN_M_Welcome_S_New] = new UIActionSimpleSelectorMachinePerformCreate(this);
     3383    m_pool[UIActionIndexMN_M_Welcome_S_Add] = new UIActionSimpleSelectorMachinePerformAdd(this);
    33843384
    33853385    /* 'Group' actions: */
    3386     m_pool[UIActionIndexST_M_Group] = new UIActionMenuSelectorGroup(this);
    3387     m_pool[UIActionIndexST_M_Group_S_New] = new UIActionSimpleSelectorGroupPerformCreateMachine(this);
    3388     m_pool[UIActionIndexST_M_Group_S_Add] = new UIActionSimpleSelectorGroupPerformAddMachine(this);
    3389     m_pool[UIActionIndexST_M_Group_S_Rename] = new UIActionSimpleSelectorGroupPerformRename(this);
    3390     m_pool[UIActionIndexST_M_Group_S_Remove] = new UIActionSimpleSelectorGroupPerformRemove(this);
    3391     m_pool[UIActionIndexST_M_Group_M_MoveToGroup] = new UIActionMenuSelectorCommonMoveToGroup(this);
    3392     m_pool[UIActionIndexST_M_Group_M_StartOrShow] = new UIActionStateSelectorCommonStartOrShow(this);
    3393     m_pool[UIActionIndexST_M_Group_M_StartOrShow_S_StartNormal] = new UIActionSimpleSelectorCommonPerformStartNormal(this);
    3394     m_pool[UIActionIndexST_M_Group_M_StartOrShow_S_StartHeadless] = new UIActionSimpleSelectorCommonPerformStartHeadless(this);
    3395     m_pool[UIActionIndexST_M_Group_M_StartOrShow_S_StartDetachable] = new UIActionSimpleSelectorCommonPerformStartDetachable(this);
    3396     m_pool[UIActionIndexST_M_Group_T_Pause] = new UIActionToggleSelectorCommonPauseAndResume(this);
    3397     m_pool[UIActionIndexST_M_Group_S_Reset] = new UIActionSimpleSelectorCommonPerformReset(this);
    3398     m_pool[UIActionIndexST_M_Group_M_Console] = new UIActionMenuSelectorConsole(this);
    3399     m_pool[UIActionIndexST_M_Group_M_Console_S_CreateConnection] = new UIActionSimpleSelectorConsolePerformCreateConnection(this);
    3400     m_pool[UIActionIndexST_M_Group_M_Console_S_DeleteConnection] = new UIActionSimpleSelectorConsolePerformDeleteConnection(this);
    3401     m_pool[UIActionIndexST_M_Group_M_Console_S_ConfigureApplications] = new UIActionSimpleSelectorConsolePerformConfigureApplications(this);
    3402     m_pool[UIActionIndexST_M_Group_M_Close] = new UIActionMenuSelectorClose(this);
    3403     m_pool[UIActionIndexST_M_Group_M_Close_S_Detach] = new UIActionSimpleSelectorClosePerformDetach(this);
    3404     m_pool[UIActionIndexST_M_Group_M_Close_S_SaveState] = new UIActionSimpleSelectorClosePerformSave(this);
    3405     m_pool[UIActionIndexST_M_Group_M_Close_S_Shutdown] = new UIActionSimpleSelectorClosePerformShutdown(this);
    3406     m_pool[UIActionIndexST_M_Group_M_Close_S_PowerOff] = new UIActionSimpleSelectorClosePerformPowerOff(this);
    3407     m_pool[UIActionIndexST_M_Group_M_Tools] = new UIActionMenuSelectorToolsMachine(this);
    3408     m_pool[UIActionIndexST_M_Group_M_Tools_T_Details] = new UIActionToggleSelectorToolsMachineShowDetails(this);
    3409     m_pool[UIActionIndexST_M_Group_M_Tools_T_Snapshots] = new UIActionToggleSelectorToolsMachineShowSnapshots(this);
    3410     m_pool[UIActionIndexST_M_Group_M_Tools_T_Logs] = new UIActionToggleSelectorToolsMachineShowLogs(this);
    3411     m_pool[UIActionIndexST_M_Group_M_Tools_T_Performance] = new UIActionToggleSelectorToolsMachineShowPerformance(this);
    3412     m_pool[UIActionIndexST_M_Group_S_Discard] = new UIActionSimpleSelectorCommonPerformDiscard(this);
    3413     m_pool[UIActionIndexST_M_Group_S_ShowLogDialog] = new UIActionSimpleSelectorCommonShowMachineLogs(this);
    3414     m_pool[UIActionIndexST_M_Group_S_ShowLogDialog] = new UIActionSimpleSelectorCommonShowMachineLogs(this);
    3415     m_pool[UIActionIndexST_M_Group_S_Refresh] = new UIActionSimpleSelectorCommonPerformRefresh(this);
    3416     m_pool[UIActionIndexST_M_Group_S_ShowInFileManager] = new UIActionSimpleSelectorCommonShowInFileManager(this);
    3417     m_pool[UIActionIndexST_M_Group_S_CreateShortcut] = new UIActionSimpleSelectorCommonPerformCreateShortcut(this);
    3418     m_pool[UIActionIndexST_M_Group_S_Sort] = new UIActionSimpleSelectorGroupPerformSort(this);
     3386    m_pool[UIActionIndexMN_M_Group] = new UIActionMenuSelectorGroup(this);
     3387    m_pool[UIActionIndexMN_M_Group_S_New] = new UIActionSimpleSelectorGroupPerformCreateMachine(this);
     3388    m_pool[UIActionIndexMN_M_Group_S_Add] = new UIActionSimpleSelectorGroupPerformAddMachine(this);
     3389    m_pool[UIActionIndexMN_M_Group_S_Rename] = new UIActionSimpleSelectorGroupPerformRename(this);
     3390    m_pool[UIActionIndexMN_M_Group_S_Remove] = new UIActionSimpleSelectorGroupPerformRemove(this);
     3391    m_pool[UIActionIndexMN_M_Group_M_MoveToGroup] = new UIActionMenuSelectorCommonMoveToGroup(this);
     3392    m_pool[UIActionIndexMN_M_Group_M_StartOrShow] = new UIActionStateSelectorCommonStartOrShow(this);
     3393    m_pool[UIActionIndexMN_M_Group_M_StartOrShow_S_StartNormal] = new UIActionSimpleSelectorCommonPerformStartNormal(this);
     3394    m_pool[UIActionIndexMN_M_Group_M_StartOrShow_S_StartHeadless] = new UIActionSimpleSelectorCommonPerformStartHeadless(this);
     3395    m_pool[UIActionIndexMN_M_Group_M_StartOrShow_S_StartDetachable] = new UIActionSimpleSelectorCommonPerformStartDetachable(this);
     3396    m_pool[UIActionIndexMN_M_Group_T_Pause] = new UIActionToggleSelectorCommonPauseAndResume(this);
     3397    m_pool[UIActionIndexMN_M_Group_S_Reset] = new UIActionSimpleSelectorCommonPerformReset(this);
     3398    m_pool[UIActionIndexMN_M_Group_M_Console] = new UIActionMenuSelectorConsole(this);
     3399    m_pool[UIActionIndexMN_M_Group_M_Console_S_CreateConnection] = new UIActionSimpleSelectorConsolePerformCreateConnection(this);
     3400    m_pool[UIActionIndexMN_M_Group_M_Console_S_DeleteConnection] = new UIActionSimpleSelectorConsolePerformDeleteConnection(this);
     3401    m_pool[UIActionIndexMN_M_Group_M_Console_S_ConfigureApplications] = new UIActionSimpleSelectorConsolePerformConfigureApplications(this);
     3402    m_pool[UIActionIndexMN_M_Group_M_Close] = new UIActionMenuSelectorClose(this);
     3403    m_pool[UIActionIndexMN_M_Group_M_Close_S_Detach] = new UIActionSimpleSelectorClosePerformDetach(this);
     3404    m_pool[UIActionIndexMN_M_Group_M_Close_S_SaveState] = new UIActionSimpleSelectorClosePerformSave(this);
     3405    m_pool[UIActionIndexMN_M_Group_M_Close_S_Shutdown] = new UIActionSimpleSelectorClosePerformShutdown(this);
     3406    m_pool[UIActionIndexMN_M_Group_M_Close_S_PowerOff] = new UIActionSimpleSelectorClosePerformPowerOff(this);
     3407    m_pool[UIActionIndexMN_M_Group_M_Tools] = new UIActionMenuSelectorToolsMachine(this);
     3408    m_pool[UIActionIndexMN_M_Group_M_Tools_T_Details] = new UIActionToggleSelectorToolsMachineShowDetails(this);
     3409    m_pool[UIActionIndexMN_M_Group_M_Tools_T_Snapshots] = new UIActionToggleSelectorToolsMachineShowSnapshots(this);
     3410    m_pool[UIActionIndexMN_M_Group_M_Tools_T_Logs] = new UIActionToggleSelectorToolsMachineShowLogs(this);
     3411    m_pool[UIActionIndexMN_M_Group_M_Tools_T_Performance] = new UIActionToggleSelectorToolsMachineShowPerformance(this);
     3412    m_pool[UIActionIndexMN_M_Group_S_Discard] = new UIActionSimpleSelectorCommonPerformDiscard(this);
     3413    m_pool[UIActionIndexMN_M_Group_S_ShowLogDialog] = new UIActionSimpleSelectorCommonShowMachineLogs(this);
     3414    m_pool[UIActionIndexMN_M_Group_S_ShowLogDialog] = new UIActionSimpleSelectorCommonShowMachineLogs(this);
     3415    m_pool[UIActionIndexMN_M_Group_S_Refresh] = new UIActionSimpleSelectorCommonPerformRefresh(this);
     3416    m_pool[UIActionIndexMN_M_Group_S_ShowInFileManager] = new UIActionSimpleSelectorCommonShowInFileManager(this);
     3417    m_pool[UIActionIndexMN_M_Group_S_CreateShortcut] = new UIActionSimpleSelectorCommonPerformCreateShortcut(this);
     3418    m_pool[UIActionIndexMN_M_Group_S_Sort] = new UIActionSimpleSelectorGroupPerformSort(this);
    34193419
    34203420    /* 'Machine' actions: */
    3421     m_pool[UIActionIndexST_M_Machine] = new UIActionMenuSelectorMachine(this);
    3422     m_pool[UIActionIndexST_M_Machine_S_New] = new UIActionSimpleSelectorMachinePerformCreate(this);
    3423     m_pool[UIActionIndexST_M_Machine_S_Add] = new UIActionSimpleSelectorMachinePerformAdd(this);
    3424     m_pool[UIActionIndexST_M_Machine_S_Settings] = new UIActionSimpleSelectorMachineShowSettings(this);
    3425     m_pool[UIActionIndexST_M_Machine_S_Clone] = new UIActionSimpleSelectorMachinePerformClone(this);
    3426     m_pool[UIActionIndexST_M_Machine_S_Move] = new UIActionSimpleSelectorMachinePerformMove(this);
    3427     m_pool[UIActionIndexST_M_Machine_S_ExportToOCI] = new UIActionSimpleSelectorMachinePerformExportToOCI(this);
    3428     m_pool[UIActionIndexST_M_Machine_S_Remove] = new UIActionSimpleSelectorMachinePerformRemove(this);
    3429     m_pool[UIActionIndexST_M_Machine_M_MoveToGroup] = new UIActionMenuSelectorCommonMoveToGroup(this);
    3430     m_pool[UIActionIndexST_M_Machine_M_MoveToGroup_S_New] = new UIActionSimpleSelectorMachineMoveToGroupNew(this);
    3431     m_pool[UIActionIndexST_M_Machine_M_StartOrShow] = new UIActionStateSelectorCommonStartOrShow(this);
    3432     m_pool[UIActionIndexST_M_Machine_M_StartOrShow_S_StartNormal] = new UIActionSimpleSelectorCommonPerformStartNormal(this);
    3433     m_pool[UIActionIndexST_M_Machine_M_StartOrShow_S_StartHeadless] = new UIActionSimpleSelectorCommonPerformStartHeadless(this);
    3434     m_pool[UIActionIndexST_M_Machine_M_StartOrShow_S_StartDetachable] = new UIActionSimpleSelectorCommonPerformStartDetachable(this);
    3435     m_pool[UIActionIndexST_M_Machine_T_Pause] = new UIActionToggleSelectorCommonPauseAndResume(this);
    3436     m_pool[UIActionIndexST_M_Machine_S_Reset] = new UIActionSimpleSelectorCommonPerformReset(this);
    3437     m_pool[UIActionIndexST_M_Machine_M_Console] = new UIActionMenuSelectorConsole(this);
    3438     m_pool[UIActionIndexST_M_Machine_M_Console_S_CreateConnection] = new UIActionSimpleSelectorConsolePerformCreateConnection(this);
    3439     m_pool[UIActionIndexST_M_Machine_M_Console_S_DeleteConnection] = new UIActionSimpleSelectorConsolePerformDeleteConnection(this);
    3440     m_pool[UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialUnix] = new UIActionSimpleSelectorConsolePerformCopyCommand(this, true, true);
    3441     m_pool[UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialWindows] = new UIActionSimpleSelectorConsolePerformCopyCommand(this, true, false);
    3442     m_pool[UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCUnix] = new UIActionSimpleSelectorConsolePerformCopyCommand(this, false, true);
    3443     m_pool[UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCWindows] = new UIActionSimpleSelectorConsolePerformCopyCommand(this, false, false);
    3444     m_pool[UIActionIndexST_M_Machine_M_Console_S_ConfigureApplications] = new UIActionSimpleSelectorConsolePerformConfigureApplications(this);
    3445     m_pool[UIActionIndexST_M_Machine_M_Close] = new UIActionMenuSelectorClose(this);
    3446     m_pool[UIActionIndexST_M_Machine_M_Close_S_Detach] = new UIActionSimpleSelectorClosePerformDetach(this);
    3447     m_pool[UIActionIndexST_M_Machine_M_Close_S_SaveState] = new UIActionSimpleSelectorClosePerformSave(this);
    3448     m_pool[UIActionIndexST_M_Machine_M_Close_S_Shutdown] = new UIActionSimpleSelectorClosePerformShutdown(this);
    3449     m_pool[UIActionIndexST_M_Machine_M_Close_S_PowerOff] = new UIActionSimpleSelectorClosePerformPowerOff(this);
    3450     m_pool[UIActionIndexST_M_Machine_M_Tools] = new UIActionMenuSelectorToolsMachine(this);
    3451     m_pool[UIActionIndexST_M_Machine_M_Tools_T_Details] = new UIActionToggleSelectorToolsMachineShowDetails(this);
    3452     m_pool[UIActionIndexST_M_Machine_M_Tools_T_Snapshots] = new UIActionToggleSelectorToolsMachineShowSnapshots(this);
    3453     m_pool[UIActionIndexST_M_Machine_M_Tools_T_Logs] = new UIActionToggleSelectorToolsMachineShowLogs(this);
    3454     m_pool[UIActionIndexST_M_Machine_M_Tools_T_Performance] = new UIActionToggleSelectorToolsMachineShowPerformance(this);
    3455     m_pool[UIActionIndexST_M_Machine_S_Discard] = new UIActionSimpleSelectorCommonPerformDiscard(this);
    3456     m_pool[UIActionIndexST_M_Machine_S_ShowLogDialog] = new UIActionSimpleSelectorCommonShowMachineLogs(this);
    3457     m_pool[UIActionIndexST_M_Machine_S_Refresh] = new UIActionSimpleSelectorCommonPerformRefresh(this);
    3458     m_pool[UIActionIndexST_M_Machine_S_ShowInFileManager] = new UIActionSimpleSelectorCommonShowInFileManager(this);
    3459     m_pool[UIActionIndexST_M_Machine_S_CreateShortcut] = new UIActionSimpleSelectorCommonPerformCreateShortcut(this);
    3460     m_pool[UIActionIndexST_M_Machine_S_SortParent] = new UIActionSimpleSelectorMachinePerformSortParent(this);
    3461     m_pool[UIActionIndexST_M_Machine_T_Search] = new UIActionToggleSelectorMachineToggleSearch(this);
     3421    m_pool[UIActionIndexMN_M_Machine] = new UIActionMenuSelectorMachine(this);
     3422    m_pool[UIActionIndexMN_M_Machine_S_New] = new UIActionSimpleSelectorMachinePerformCreate(this);
     3423    m_pool[UIActionIndexMN_M_Machine_S_Add] = new UIActionSimpleSelectorMachinePerformAdd(this);
     3424    m_pool[UIActionIndexMN_M_Machine_S_Settings] = new UIActionSimpleSelectorMachineShowSettings(this);
     3425    m_pool[UIActionIndexMN_M_Machine_S_Clone] = new UIActionSimpleSelectorMachinePerformClone(this);
     3426    m_pool[UIActionIndexMN_M_Machine_S_Move] = new UIActionSimpleSelectorMachinePerformMove(this);
     3427    m_pool[UIActionIndexMN_M_Machine_S_ExportToOCI] = new UIActionSimpleSelectorMachinePerformExportToOCI(this);
     3428    m_pool[UIActionIndexMN_M_Machine_S_Remove] = new UIActionSimpleSelectorMachinePerformRemove(this);
     3429    m_pool[UIActionIndexMN_M_Machine_M_MoveToGroup] = new UIActionMenuSelectorCommonMoveToGroup(this);
     3430    m_pool[UIActionIndexMN_M_Machine_M_MoveToGroup_S_New] = new UIActionSimpleSelectorMachineMoveToGroupNew(this);
     3431    m_pool[UIActionIndexMN_M_Machine_M_StartOrShow] = new UIActionStateSelectorCommonStartOrShow(this);
     3432    m_pool[UIActionIndexMN_M_Machine_M_StartOrShow_S_StartNormal] = new UIActionSimpleSelectorCommonPerformStartNormal(this);
     3433    m_pool[UIActionIndexMN_M_Machine_M_StartOrShow_S_StartHeadless] = new UIActionSimpleSelectorCommonPerformStartHeadless(this);
     3434    m_pool[UIActionIndexMN_M_Machine_M_StartOrShow_S_StartDetachable] = new UIActionSimpleSelectorCommonPerformStartDetachable(this);
     3435    m_pool[UIActionIndexMN_M_Machine_T_Pause] = new UIActionToggleSelectorCommonPauseAndResume(this);
     3436    m_pool[UIActionIndexMN_M_Machine_S_Reset] = new UIActionSimpleSelectorCommonPerformReset(this);
     3437    m_pool[UIActionIndexMN_M_Machine_M_Console] = new UIActionMenuSelectorConsole(this);
     3438    m_pool[UIActionIndexMN_M_Machine_M_Console_S_CreateConnection] = new UIActionSimpleSelectorConsolePerformCreateConnection(this);
     3439    m_pool[UIActionIndexMN_M_Machine_M_Console_S_DeleteConnection] = new UIActionSimpleSelectorConsolePerformDeleteConnection(this);
     3440    m_pool[UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialUnix] = new UIActionSimpleSelectorConsolePerformCopyCommand(this, true, true);
     3441    m_pool[UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialWindows] = new UIActionSimpleSelectorConsolePerformCopyCommand(this, true, false);
     3442    m_pool[UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCUnix] = new UIActionSimpleSelectorConsolePerformCopyCommand(this, false, true);
     3443    m_pool[UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCWindows] = new UIActionSimpleSelectorConsolePerformCopyCommand(this, false, false);
     3444    m_pool[UIActionIndexMN_M_Machine_M_Console_S_ConfigureApplications] = new UIActionSimpleSelectorConsolePerformConfigureApplications(this);
     3445    m_pool[UIActionIndexMN_M_Machine_M_Close] = new UIActionMenuSelectorClose(this);
     3446    m_pool[UIActionIndexMN_M_Machine_M_Close_S_Detach] = new UIActionSimpleSelectorClosePerformDetach(this);
     3447    m_pool[UIActionIndexMN_M_Machine_M_Close_S_SaveState] = new UIActionSimpleSelectorClosePerformSave(this);
     3448    m_pool[UIActionIndexMN_M_Machine_M_Close_S_Shutdown] = new UIActionSimpleSelectorClosePerformShutdown(this);
     3449    m_pool[UIActionIndexMN_M_Machine_M_Close_S_PowerOff] = new UIActionSimpleSelectorClosePerformPowerOff(this);
     3450    m_pool[UIActionIndexMN_M_Machine_M_Tools] = new UIActionMenuSelectorToolsMachine(this);
     3451    m_pool[UIActionIndexMN_M_Machine_M_Tools_T_Details] = new UIActionToggleSelectorToolsMachineShowDetails(this);
     3452    m_pool[UIActionIndexMN_M_Machine_M_Tools_T_Snapshots] = new UIActionToggleSelectorToolsMachineShowSnapshots(this);
     3453    m_pool[UIActionIndexMN_M_Machine_M_Tools_T_Logs] = new UIActionToggleSelectorToolsMachineShowLogs(this);
     3454    m_pool[UIActionIndexMN_M_Machine_M_Tools_T_Performance] = new UIActionToggleSelectorToolsMachineShowPerformance(this);
     3455    m_pool[UIActionIndexMN_M_Machine_S_Discard] = new UIActionSimpleSelectorCommonPerformDiscard(this);
     3456    m_pool[UIActionIndexMN_M_Machine_S_ShowLogDialog] = new UIActionSimpleSelectorCommonShowMachineLogs(this);
     3457    m_pool[UIActionIndexMN_M_Machine_S_Refresh] = new UIActionSimpleSelectorCommonPerformRefresh(this);
     3458    m_pool[UIActionIndexMN_M_Machine_S_ShowInFileManager] = new UIActionSimpleSelectorCommonShowInFileManager(this);
     3459    m_pool[UIActionIndexMN_M_Machine_S_CreateShortcut] = new UIActionSimpleSelectorCommonPerformCreateShortcut(this);
     3460    m_pool[UIActionIndexMN_M_Machine_S_SortParent] = new UIActionSimpleSelectorMachinePerformSortParent(this);
     3461    m_pool[UIActionIndexMN_M_Machine_T_Search] = new UIActionToggleSelectorMachineToggleSearch(this);
    34623462
    34633463    /* Global Tools actions: */
    3464     m_pool[UIActionIndexST_M_Tools_M_Global] = new UIActionMenuSelectorToolsGlobal(this);
    3465     m_pool[UIActionIndexST_M_Tools_M_Global_S_VirtualMediaManager] = new UIActionSimpleSelectorToolsGlobalShowVirtualMediaManager(this);
    3466     m_pool[UIActionIndexST_M_Tools_M_Global_S_HostNetworkManager] = new UIActionSimpleSelectorToolsGlobalShowHostNetworkManager(this);
    3467     m_pool[UIActionIndexST_M_Tools_M_Global_S_CloudProfileManager] = new UIActionSimpleSelectorToolsGlobalShowCloudProfileManager(this);
    3468     m_pool[UIActionIndexST_M_Tools_M_Global_S_VMResourceMonitor] = new UIActionSimpleSelectorToolsGlobalShowVMResourceMonitor(this);
     3464    m_pool[UIActionIndexMN_M_Tools_M_Global] = new UIActionMenuSelectorToolsGlobal(this);
     3465    m_pool[UIActionIndexMN_M_Tools_M_Global_S_VirtualMediaManager] = new UIActionSimpleSelectorToolsGlobalShowVirtualMediaManager(this);
     3466    m_pool[UIActionIndexMN_M_Tools_M_Global_S_HostNetworkManager] = new UIActionSimpleSelectorToolsGlobalShowHostNetworkManager(this);
     3467    m_pool[UIActionIndexMN_M_Tools_M_Global_S_CloudProfileManager] = new UIActionSimpleSelectorToolsGlobalShowCloudProfileManager(this);
     3468    m_pool[UIActionIndexMN_M_Tools_M_Global_S_VMResourceMonitor] = new UIActionSimpleSelectorToolsGlobalShowVMResourceMonitor(this);
    34693469
    34703470    /* Snapshot Pane actions: */
    3471     m_pool[UIActionIndexST_M_Snapshot] = new UIActionMenuSelectorSnapshot(this);
    3472     m_pool[UIActionIndexST_M_Snapshot_S_Take] = new UIActionMenuSelectorSnapshotPerformTake(this);
    3473     m_pool[UIActionIndexST_M_Snapshot_S_Delete] = new UIActionMenuSelectorSnapshotPerformDelete(this);
    3474     m_pool[UIActionIndexST_M_Snapshot_S_Restore] = new UIActionMenuSelectorSnapshotPerformRestore(this);
    3475     m_pool[UIActionIndexST_M_Snapshot_T_Properties] = new UIActionMenuSelectorSnapshotToggleProperties(this);
    3476     m_pool[UIActionIndexST_M_Snapshot_S_Clone] = new UIActionMenuSelectorSnapshotPerformClone(this);
     3471    m_pool[UIActionIndexMN_M_Snapshot] = new UIActionMenuSelectorSnapshot(this);
     3472    m_pool[UIActionIndexMN_M_Snapshot_S_Take] = new UIActionMenuSelectorSnapshotPerformTake(this);
     3473    m_pool[UIActionIndexMN_M_Snapshot_S_Delete] = new UIActionMenuSelectorSnapshotPerformDelete(this);
     3474    m_pool[UIActionIndexMN_M_Snapshot_S_Restore] = new UIActionMenuSelectorSnapshotPerformRestore(this);
     3475    m_pool[UIActionIndexMN_M_Snapshot_T_Properties] = new UIActionMenuSelectorSnapshotToggleProperties(this);
     3476    m_pool[UIActionIndexMN_M_Snapshot_S_Clone] = new UIActionMenuSelectorSnapshotPerformClone(this);
    34773477
    34783478    /* Virtual Medium Manager actions: */
    3479     m_pool[UIActionIndexST_M_MediumWindow] = new UIActionMenuSelectorMedium(this);
    3480     m_pool[UIActionIndexST_M_Medium] = new UIActionMenuSelectorMedium(this);
    3481     m_pool[UIActionIndexST_M_Medium_S_Add] = new UIActionMenuSelectorMediumPerformAdd(this);
    3482     m_pool[UIActionIndexST_M_Medium_S_Create] = new UIActionMenuSelectorMediumPerformCreate(this);
    3483     m_pool[UIActionIndexST_M_Medium_S_Copy] = new UIActionMenuSelectorMediumPerformCopy(this);
    3484     m_pool[UIActionIndexST_M_Medium_S_Move] = new UIActionMenuSelectorMediumPerformMove(this);
    3485     m_pool[UIActionIndexST_M_Medium_S_Remove] = new UIActionMenuSelectorMediumPerformRemove(this);
    3486     m_pool[UIActionIndexST_M_Medium_S_Release] = new UIActionMenuSelectorMediumPerformRelease(this);
    3487     m_pool[UIActionIndexST_M_Medium_T_Details] = new UIActionMenuSelectorMediumToggleProperties(this);
    3488     m_pool[UIActionIndexST_M_Medium_T_Search] = new UIActionMenuSelectorMediumToggleSearch(this);
    3489     m_pool[UIActionIndexST_M_Medium_S_Refresh] = new UIActionMenuSelectorMediumPerformRefresh(this);
     3479    m_pool[UIActionIndexMN_M_MediumWindow] = new UIActionMenuSelectorMedium(this);
     3480    m_pool[UIActionIndexMN_M_Medium] = new UIActionMenuSelectorMedium(this);
     3481    m_pool[UIActionIndexMN_M_Medium_S_Add] = new UIActionMenuSelectorMediumPerformAdd(this);
     3482    m_pool[UIActionIndexMN_M_Medium_S_Create] = new UIActionMenuSelectorMediumPerformCreate(this);
     3483    m_pool[UIActionIndexMN_M_Medium_S_Copy] = new UIActionMenuSelectorMediumPerformCopy(this);
     3484    m_pool[UIActionIndexMN_M_Medium_S_Move] = new UIActionMenuSelectorMediumPerformMove(this);
     3485    m_pool[UIActionIndexMN_M_Medium_S_Remove] = new UIActionMenuSelectorMediumPerformRemove(this);
     3486    m_pool[UIActionIndexMN_M_Medium_S_Release] = new UIActionMenuSelectorMediumPerformRelease(this);
     3487    m_pool[UIActionIndexMN_M_Medium_T_Details] = new UIActionMenuSelectorMediumToggleProperties(this);
     3488    m_pool[UIActionIndexMN_M_Medium_T_Search] = new UIActionMenuSelectorMediumToggleSearch(this);
     3489    m_pool[UIActionIndexMN_M_Medium_S_Refresh] = new UIActionMenuSelectorMediumPerformRefresh(this);
    34903490
    34913491    /* Host Network Manager actions: */
    3492     m_pool[UIActionIndexST_M_NetworkWindow] = new UIActionMenuSelectorNetwork(this);
    3493     m_pool[UIActionIndexST_M_Network] = new UIActionMenuSelectorNetwork(this);
    3494     m_pool[UIActionIndexST_M_Network_S_Create] = new UIActionMenuSelectorNetworkPerformCreate(this);
    3495     m_pool[UIActionIndexST_M_Network_S_Remove] = new UIActionMenuSelectorNetworkPerformRemove(this);
    3496     m_pool[UIActionIndexST_M_Network_T_Details] = new UIActionMenuSelectorNetworkToggleProperties(this);
    3497     m_pool[UIActionIndexST_M_Network_S_Refresh] = new UIActionMenuSelectorNetworkPerformRefresh(this);
     3492    m_pool[UIActionIndexMN_M_NetworkWindow] = new UIActionMenuSelectorNetwork(this);
     3493    m_pool[UIActionIndexMN_M_Network] = new UIActionMenuSelectorNetwork(this);
     3494    m_pool[UIActionIndexMN_M_Network_S_Create] = new UIActionMenuSelectorNetworkPerformCreate(this);
     3495    m_pool[UIActionIndexMN_M_Network_S_Remove] = new UIActionMenuSelectorNetworkPerformRemove(this);
     3496    m_pool[UIActionIndexMN_M_Network_T_Details] = new UIActionMenuSelectorNetworkToggleProperties(this);
     3497    m_pool[UIActionIndexMN_M_Network_S_Refresh] = new UIActionMenuSelectorNetworkPerformRefresh(this);
    34983498
    34993499    /* Cloud Profile Manager actions: */
    3500     m_pool[UIActionIndexST_M_CloudWindow] = new UIActionMenuSelectorCloud(this);
    3501     m_pool[UIActionIndexST_M_Cloud] = new UIActionMenuSelectorCloud(this);
    3502     m_pool[UIActionIndexST_M_Cloud_S_Add] = new UIActionMenuSelectorCloudPerformAdd(this);
    3503     m_pool[UIActionIndexST_M_Cloud_S_Import] = new UIActionMenuSelectorCloudPerformImport(this);
    3504     m_pool[UIActionIndexST_M_Cloud_S_Remove] = new UIActionMenuSelectorCloudPerformRemove(this);
    3505     m_pool[UIActionIndexST_M_Cloud_T_Details] = new UIActionMenuSelectorCloudToggleProperties(this);
    3506     m_pool[UIActionIndexST_M_Cloud_S_TryPage] = new UIActionMenuSelectorCloudShowTryPage(this);
    3507     m_pool[UIActionIndexST_M_Cloud_S_Help] = new UIActionMenuSelectorCloudShowHelp(this);
     3500    m_pool[UIActionIndexMN_M_CloudWindow] = new UIActionMenuSelectorCloud(this);
     3501    m_pool[UIActionIndexMN_M_Cloud] = new UIActionMenuSelectorCloud(this);
     3502    m_pool[UIActionIndexMN_M_Cloud_S_Add] = new UIActionMenuSelectorCloudPerformAdd(this);
     3503    m_pool[UIActionIndexMN_M_Cloud_S_Import] = new UIActionMenuSelectorCloudPerformImport(this);
     3504    m_pool[UIActionIndexMN_M_Cloud_S_Remove] = new UIActionMenuSelectorCloudPerformRemove(this);
     3505    m_pool[UIActionIndexMN_M_Cloud_T_Details] = new UIActionMenuSelectorCloudToggleProperties(this);
     3506    m_pool[UIActionIndexMN_M_Cloud_S_TryPage] = new UIActionMenuSelectorCloudShowTryPage(this);
     3507    m_pool[UIActionIndexMN_M_Cloud_S_Help] = new UIActionMenuSelectorCloudShowHelp(this);
    35083508
    35093509    /* Cloud Console Manager actions: */
    3510     m_pool[UIActionIndexST_M_CloudConsoleWindow] = new UIActionMenuSelectorCloudConsole(this);
    3511     m_pool[UIActionIndexST_M_CloudConsole] = new UIActionMenuSelectorCloudConsole(this);
    3512     m_pool[UIActionIndexST_M_CloudConsole_S_ApplicationAdd] = new UIActionMenuSelectorCloudConsolePerformApplicationAdd(this);
    3513     m_pool[UIActionIndexST_M_CloudConsole_S_ApplicationRemove] = new UIActionMenuSelectorCloudConsolePerformApplicationRemove(this);
    3514     m_pool[UIActionIndexST_M_CloudConsole_S_ProfileAdd] = new UIActionMenuSelectorCloudConsolePerformProfileAdd(this);
    3515     m_pool[UIActionIndexST_M_CloudConsole_S_ProfileRemove] = new UIActionMenuSelectorCloudConsolePerformProfileRemove(this);
    3516     m_pool[UIActionIndexST_M_CloudConsole_T_Details] = new UIActionMenuSelectorCloudConsoleToggleProperties(this);
     3510    m_pool[UIActionIndexMN_M_CloudConsoleWindow] = new UIActionMenuSelectorCloudConsole(this);
     3511    m_pool[UIActionIndexMN_M_CloudConsole] = new UIActionMenuSelectorCloudConsole(this);
     3512    m_pool[UIActionIndexMN_M_CloudConsole_S_ApplicationAdd] = new UIActionMenuSelectorCloudConsolePerformApplicationAdd(this);
     3513    m_pool[UIActionIndexMN_M_CloudConsole_S_ApplicationRemove] = new UIActionMenuSelectorCloudConsolePerformApplicationRemove(this);
     3514    m_pool[UIActionIndexMN_M_CloudConsole_S_ProfileAdd] = new UIActionMenuSelectorCloudConsolePerformProfileAdd(this);
     3515    m_pool[UIActionIndexMN_M_CloudConsole_S_ProfileRemove] = new UIActionMenuSelectorCloudConsolePerformProfileRemove(this);
     3516    m_pool[UIActionIndexMN_M_CloudConsole_T_Details] = new UIActionMenuSelectorCloudConsoleToggleProperties(this);
    35173517
    35183518    /* VM resource Monitor actions: */
    3519     m_pool[UIActionIndexST_M_VMResourceMonitor] = new UIActionMenuVMResourceMonitor(this);
    3520     m_pool[UIActionIndexST_M_VMResourceMonitor_M_Columns] = new UIActionMenuSelectorVMResourceMonitorToggleColumns(this);
    3521     m_pool[UIActionIndexST_M_VMResourceMonitor_S_SwitchToMachinePerformance] = new UIActionMenuSelectorVMResourceMonitorSwitchToMachinePerformance(this);
     3519    m_pool[UIActionIndexMN_M_VMResourceMonitor] = new UIActionMenuVMResourceMonitor(this);
     3520    m_pool[UIActionIndexMN_M_VMResourceMonitor_M_Columns] = new UIActionMenuSelectorVMResourceMonitorToggleColumns(this);
     3521    m_pool[UIActionIndexMN_M_VMResourceMonitor_S_SwitchToMachinePerformance] = new UIActionMenuSelectorVMResourceMonitorSwitchToMachinePerformance(this);
    35223522
    35233523    /* 'Group' action groups: */
    3524     m_groupPool[UIActionIndexST_M_Group_M_Tools] = new QActionGroup(m_pool.value(UIActionIndexST_M_Group_M_Tools));
    3525     m_groupPool[UIActionIndexST_M_Group_M_Tools]->addAction(m_pool.value(UIActionIndexST_M_Group_M_Tools_T_Details));
    3526     m_groupPool[UIActionIndexST_M_Group_M_Tools]->addAction(m_pool.value(UIActionIndexST_M_Group_M_Tools_T_Snapshots));
    3527     m_groupPool[UIActionIndexST_M_Group_M_Tools]->addAction(m_pool.value(UIActionIndexST_M_Group_M_Tools_T_Logs));
    3528     m_groupPool[UIActionIndexST_M_Group_M_Tools]->addAction(m_pool.value(UIActionIndexST_M_Group_M_Tools_T_Performance));
     3524    m_groupPool[UIActionIndexMN_M_Group_M_Tools] = new QActionGroup(m_pool.value(UIActionIndexMN_M_Group_M_Tools));
     3525    m_groupPool[UIActionIndexMN_M_Group_M_Tools]->addAction(m_pool.value(UIActionIndexMN_M_Group_M_Tools_T_Details));
     3526    m_groupPool[UIActionIndexMN_M_Group_M_Tools]->addAction(m_pool.value(UIActionIndexMN_M_Group_M_Tools_T_Snapshots));
     3527    m_groupPool[UIActionIndexMN_M_Group_M_Tools]->addAction(m_pool.value(UIActionIndexMN_M_Group_M_Tools_T_Logs));
     3528    m_groupPool[UIActionIndexMN_M_Group_M_Tools]->addAction(m_pool.value(UIActionIndexMN_M_Group_M_Tools_T_Performance));
    35293529
    35303530    /* 'Machine' action groups: */
    3531     m_groupPool[UIActionIndexST_M_Machine_M_Tools] = new QActionGroup(m_pool.value(UIActionIndexST_M_Machine_M_Tools));
    3532     m_groupPool[UIActionIndexST_M_Machine_M_Tools]->addAction(m_pool.value(UIActionIndexST_M_Machine_M_Tools_T_Details));
    3533     m_groupPool[UIActionIndexST_M_Machine_M_Tools]->addAction(m_pool.value(UIActionIndexST_M_Machine_M_Tools_T_Snapshots));
    3534     m_groupPool[UIActionIndexST_M_Machine_M_Tools]->addAction(m_pool.value(UIActionIndexST_M_Machine_M_Tools_T_Logs));
    3535     m_groupPool[UIActionIndexST_M_Machine_M_Tools]->addAction(m_pool.value(UIActionIndexST_M_Machine_M_Tools_T_Performance));
     3531    m_groupPool[UIActionIndexMN_M_Machine_M_Tools] = new QActionGroup(m_pool.value(UIActionIndexMN_M_Machine_M_Tools));
     3532    m_groupPool[UIActionIndexMN_M_Machine_M_Tools]->addAction(m_pool.value(UIActionIndexMN_M_Machine_M_Tools_T_Details));
     3533    m_groupPool[UIActionIndexMN_M_Machine_M_Tools]->addAction(m_pool.value(UIActionIndexMN_M_Machine_M_Tools_T_Snapshots));
     3534    m_groupPool[UIActionIndexMN_M_Machine_M_Tools]->addAction(m_pool.value(UIActionIndexMN_M_Machine_M_Tools_T_Logs));
     3535    m_groupPool[UIActionIndexMN_M_Machine_M_Tools]->addAction(m_pool.value(UIActionIndexMN_M_Machine_M_Tools_T_Performance));
    35363536
    35373537    /* Prepare update-handlers for known menus: */
    3538     m_menuUpdateHandlers[UIActionIndexST_M_File].ptfm =                  &UIActionPoolManager::updateMenuFile;
    3539     m_menuUpdateHandlers[UIActionIndexST_M_Welcome].ptfm =               &UIActionPoolManager::updateMenuWelcome;
    3540     m_menuUpdateHandlers[UIActionIndexST_M_Group].ptfm =                 &UIActionPoolManager::updateMenuGroup;
    3541     m_menuUpdateHandlers[UIActionIndexST_M_Machine].ptfm =               &UIActionPoolManager::updateMenuMachine;
    3542     m_menuUpdateHandlers[UIActionIndexST_M_Group_M_MoveToGroup].ptfm =   &UIActionPoolManager::updateMenuGroupMoveToGroup;
    3543     m_menuUpdateHandlers[UIActionIndexST_M_Machine_M_MoveToGroup].ptfm = &UIActionPoolManager::updateMenuMachineMoveToGroup;
    3544     m_menuUpdateHandlers[UIActionIndexST_M_Group_M_StartOrShow].ptfm =   &UIActionPoolManager::updateMenuGroupStartOrShow;
    3545     m_menuUpdateHandlers[UIActionIndexST_M_Machine_M_StartOrShow].ptfm = &UIActionPoolManager::updateMenuMachineStartOrShow;
    3546     m_menuUpdateHandlers[UIActionIndexST_M_Group_M_Console].ptfm =       &UIActionPoolManager::updateMenuGroupConsole;
    3547     m_menuUpdateHandlers[UIActionIndexST_M_Machine_M_Console].ptfm =     &UIActionPoolManager::updateMenuMachineConsole;
    3548     m_menuUpdateHandlers[UIActionIndexST_M_Group_M_Close].ptfm =         &UIActionPoolManager::updateMenuGroupClose;
    3549     m_menuUpdateHandlers[UIActionIndexST_M_Machine_M_Close].ptfm =       &UIActionPoolManager::updateMenuMachineClose;
    3550     m_menuUpdateHandlers[UIActionIndexST_M_Group_M_Tools].ptfm =         &UIActionPoolManager::updateMenuGroupTools;
    3551     m_menuUpdateHandlers[UIActionIndexST_M_Machine_M_Tools].ptfm =       &UIActionPoolManager::updateMenuMachineTools;
    3552     m_menuUpdateHandlers[UIActionIndexST_M_MediumWindow].ptfm =          &UIActionPoolManager::updateMenuMediumWindow;
    3553     m_menuUpdateHandlers[UIActionIndexST_M_Medium].ptfm =                &UIActionPoolManager::updateMenuMedium;
    3554     m_menuUpdateHandlers[UIActionIndexST_M_NetworkWindow].ptfm =         &UIActionPoolManager::updateMenuNetworkWindow;
    3555     m_menuUpdateHandlers[UIActionIndexST_M_Network].ptfm =               &UIActionPoolManager::updateMenuNetwork;
    3556     m_menuUpdateHandlers[UIActionIndexST_M_CloudWindow].ptfm =           &UIActionPoolManager::updateMenuCloudWindow;
    3557     m_menuUpdateHandlers[UIActionIndexST_M_Cloud].ptfm =                 &UIActionPoolManager::updateMenuCloud;
    3558     m_menuUpdateHandlers[UIActionIndexST_M_CloudConsoleWindow].ptfm =    &UIActionPoolManager::updateMenuCloudConsoleWindow;
    3559     m_menuUpdateHandlers[UIActionIndexST_M_CloudConsole].ptfm =          &UIActionPoolManager::updateMenuCloudConsole;
    3560     m_menuUpdateHandlers[UIActionIndexST_M_VMResourceMonitor].ptfm =     &UIActionPoolManager::updateMenuVMResourceMonitor;
    3561     m_menuUpdateHandlers[UIActionIndexST_M_Snapshot].ptfm =              &UIActionPoolManager::updateMenuSnapshot;
     3538    m_menuUpdateHandlers[UIActionIndexMN_M_File].ptfm =                  &UIActionPoolManager::updateMenuFile;
     3539    m_menuUpdateHandlers[UIActionIndexMN_M_Welcome].ptfm =               &UIActionPoolManager::updateMenuWelcome;
     3540    m_menuUpdateHandlers[UIActionIndexMN_M_Group].ptfm =                 &UIActionPoolManager::updateMenuGroup;
     3541    m_menuUpdateHandlers[UIActionIndexMN_M_Machine].ptfm =               &UIActionPoolManager::updateMenuMachine;
     3542    m_menuUpdateHandlers[UIActionIndexMN_M_Group_M_MoveToGroup].ptfm =   &UIActionPoolManager::updateMenuGroupMoveToGroup;
     3543    m_menuUpdateHandlers[UIActionIndexMN_M_Machine_M_MoveToGroup].ptfm = &UIActionPoolManager::updateMenuMachineMoveToGroup;
     3544    m_menuUpdateHandlers[UIActionIndexMN_M_Group_M_StartOrShow].ptfm =   &UIActionPoolManager::updateMenuGroupStartOrShow;
     3545    m_menuUpdateHandlers[UIActionIndexMN_M_Machine_M_StartOrShow].ptfm = &UIActionPoolManager::updateMenuMachineStartOrShow;
     3546    m_menuUpdateHandlers[UIActionIndexMN_M_Group_M_Console].ptfm =       &UIActionPoolManager::updateMenuGroupConsole;
     3547    m_menuUpdateHandlers[UIActionIndexMN_M_Machine_M_Console].ptfm =     &UIActionPoolManager::updateMenuMachineConsole;
     3548    m_menuUpdateHandlers[UIActionIndexMN_M_Group_M_Close].ptfm =         &UIActionPoolManager::updateMenuGroupClose;
     3549    m_menuUpdateHandlers[UIActionIndexMN_M_Machine_M_Close].ptfm =       &UIActionPoolManager::updateMenuMachineClose;
     3550    m_menuUpdateHandlers[UIActionIndexMN_M_Group_M_Tools].ptfm =         &UIActionPoolManager::updateMenuGroupTools;
     3551    m_menuUpdateHandlers[UIActionIndexMN_M_Machine_M_Tools].ptfm =       &UIActionPoolManager::updateMenuMachineTools;
     3552    m_menuUpdateHandlers[UIActionIndexMN_M_MediumWindow].ptfm =          &UIActionPoolManager::updateMenuMediumWindow;
     3553    m_menuUpdateHandlers[UIActionIndexMN_M_Medium].ptfm =                &UIActionPoolManager::updateMenuMedium;
     3554    m_menuUpdateHandlers[UIActionIndexMN_M_NetworkWindow].ptfm =         &UIActionPoolManager::updateMenuNetworkWindow;
     3555    m_menuUpdateHandlers[UIActionIndexMN_M_Network].ptfm =               &UIActionPoolManager::updateMenuNetwork;
     3556    m_menuUpdateHandlers[UIActionIndexMN_M_CloudWindow].ptfm =           &UIActionPoolManager::updateMenuCloudWindow;
     3557    m_menuUpdateHandlers[UIActionIndexMN_M_Cloud].ptfm =                 &UIActionPoolManager::updateMenuCloud;
     3558    m_menuUpdateHandlers[UIActionIndexMN_M_CloudConsoleWindow].ptfm =    &UIActionPoolManager::updateMenuCloudConsoleWindow;
     3559    m_menuUpdateHandlers[UIActionIndexMN_M_CloudConsole].ptfm =          &UIActionPoolManager::updateMenuCloudConsole;
     3560    m_menuUpdateHandlers[UIActionIndexMN_M_VMResourceMonitor].ptfm =     &UIActionPoolManager::updateMenuVMResourceMonitor;
     3561    m_menuUpdateHandlers[UIActionIndexMN_M_Snapshot].ptfm =              &UIActionPoolManager::updateMenuSnapshot;
    35623562
    35633563    /* Call to base-class: */
     
    35953595
    35963596    /* 'File' menu: */
    3597     addMenu(m_mainMenus, action(UIActionIndexST_M_File));
     3597    addMenu(m_mainMenus, action(UIActionIndexMN_M_File));
    35983598    updateMenuFile();
    35993599
    36003600    /* 'Welcome' menu: */
    3601     addMenu(m_mainMenus, action(UIActionIndexST_M_Welcome));
     3601    addMenu(m_mainMenus, action(UIActionIndexMN_M_Welcome));
    36023602    updateMenuWelcome();
    36033603    /* 'Group' menu: */
    3604     addMenu(m_mainMenus, action(UIActionIndexST_M_Group));
     3604    addMenu(m_mainMenus, action(UIActionIndexMN_M_Group));
    36053605    updateMenuGroup();
    36063606    /* 'Machine' menu: */
    3607     addMenu(m_mainMenus, action(UIActionIndexST_M_Machine));
     3607    addMenu(m_mainMenus, action(UIActionIndexMN_M_Machine));
    36083608    updateMenuMachine();
    36093609
     
    36243624
    36253625    /* 'Virtual Media Manager' menu: */
    3626     addMenu(m_mainMenus, action(UIActionIndexST_M_Medium));
     3626    addMenu(m_mainMenus, action(UIActionIndexMN_M_Medium));
    36273627    updateMenuMediumWindow();
    36283628    updateMenuMedium();
    36293629    /* 'Host Network Manager' menu: */
    3630     addMenu(m_mainMenus, action(UIActionIndexST_M_Network));
     3630    addMenu(m_mainMenus, action(UIActionIndexMN_M_Network));
    36313631    updateMenuNetworkWindow();
    36323632    updateMenuNetwork();
    36333633    /* 'Cloud Profile Manager' menu: */
    3634     addMenu(m_mainMenus, action(UIActionIndexST_M_Cloud));
     3634    addMenu(m_mainMenus, action(UIActionIndexMN_M_Cloud));
    36353635    updateMenuCloudWindow();
    36363636    updateMenuCloud();
    36373637
    36383638    /* 'VM Resource Monitor' menu: */
    3639     addMenu(m_mainMenus, action(UIActionIndexST_M_VMResourceMonitor));
     3639    addMenu(m_mainMenus, action(UIActionIndexMN_M_VMResourceMonitor));
    36403640    updateMenuVMResourceMonitor();
    36413641
    36423642    /* 'Snapshot' menu: */
    3643     addMenu(m_mainMenus, action(UIActionIndexST_M_Snapshot));
     3643    addMenu(m_mainMenus, action(UIActionIndexMN_M_Snapshot));
    36443644    updateMenuSnapshot();
    36453645    /* 'Log' menu: */
     
    36593659{
    36603660    /* Get corresponding menu: */
    3661     UIMenu *pMenu = action(UIActionIndexST_M_File)->menu();
     3661    UIMenu *pMenu = action(UIActionIndexMN_M_File)->menu();
    36623662    AssertPtrReturnVoid(pMenu);
    36633663    /* Clear contents: */
     
    36863686    pMenu->addAction(action(UIActionIndex_M_Application_S_Preferences));
    36873687    /* 'Close' action goes to Application menu: */
    3688     pMenu->addAction(action(UIActionIndexST_M_File_S_Close));
     3688    pMenu->addAction(action(UIActionIndexMN_M_File_S_Close));
    36893689
    36903690    /* 'Import Appliance' action goes to 'File' menu: */
    3691     pMenu->addAction(action(UIActionIndexST_M_File_S_ImportAppliance));
     3691    pMenu->addAction(action(UIActionIndexMN_M_File_S_ImportAppliance));
    36923692    /* 'Export Appliance' action goes to 'File' menu: */
    3693     pMenu->addAction(action(UIActionIndexST_M_File_S_ExportAppliance));
     3693    pMenu->addAction(action(UIActionIndexMN_M_File_S_ExportAppliance));
    36943694    /* 'New Cloud VM' action goes to 'File' menu: */
    3695     pMenu->addAction(action(UIActionIndexST_M_File_S_NewCloudVM));
     3695    pMenu->addAction(action(UIActionIndexMN_M_File_S_NewCloudVM));
    36963696# ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    36973697    /* 'Show Extra-data Manager' action goes to 'File' menu for Debug build: */
    3698     pMenu->addAction(action(UIActionIndexST_M_File_S_ShowExtraDataManager));
     3698    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowExtraDataManager));
    36993699# endif
    37003700    /* 'Show Virtual Medium Manager' action goes to 'File' menu: */
    3701     pMenu->addAction(action(UIActionIndexST_M_File_S_ShowVirtualMediumManager));
     3701    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowVirtualMediumManager));
    37023702    /* 'Show Host Network Manager' action goes to 'File' menu: */
    3703     pMenu->addAction(action(UIActionIndexST_M_File_S_ShowHostNetworkManager));
     3703    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowHostNetworkManager));
    37043704    /* 'Show Cloud Profile Manager' action goes to 'File' menu: */
    37053705    if (fExtPackAccessible)
    3706         pMenu->addAction(action(UIActionIndexST_M_File_S_ShowCloudProfileManager));
     3706        pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowCloudProfileManager));
    37073707
    37083708#else /* !VBOX_WS_MAC */
     
    37133713    pMenu->addSeparator();
    37143714    /* 'Import Appliance' action goes to 'File' menu: */
    3715     pMenu->addAction(action(UIActionIndexST_M_File_S_ImportAppliance));
     3715    pMenu->addAction(action(UIActionIndexMN_M_File_S_ImportAppliance));
    37163716    /* 'Export Appliance' action goes to 'File' menu: */
    3717     pMenu->addAction(action(UIActionIndexST_M_File_S_ExportAppliance));
     3717    pMenu->addAction(action(UIActionIndexMN_M_File_S_ExportAppliance));
    37183718    /* 'New Cloud VM' action goes to 'File' menu: */
    3719     pMenu->addAction(action(UIActionIndexST_M_File_S_NewCloudVM));
     3719    pMenu->addAction(action(UIActionIndexMN_M_File_S_NewCloudVM));
    37203720    /* Separator after 'Export Appliance' action of the 'File' menu: */
    37213721    pMenu->addSeparator();
    37223722# ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    37233723    /* 'Extra-data Manager' action goes to 'File' menu for Debug build: */
    3724     pMenu->addAction(action(UIActionIndexST_M_File_S_ShowExtraDataManager));
     3724    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowExtraDataManager));
    37253725# endif
    37263726    /* 'Show Virtual Medium Manager' action goes to 'File' menu: */
    3727     pMenu->addAction(action(UIActionIndexST_M_File_S_ShowVirtualMediumManager));
     3727    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowVirtualMediumManager));
    37283728    /* 'Show Host Network Manager' action goes to 'File' menu: */
    3729     pMenu->addAction(action(UIActionIndexST_M_File_S_ShowHostNetworkManager));
     3729    pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowHostNetworkManager));
    37303730    /* 'Show Cloud Profile Manager' action goes to 'File' menu: */
    37313731    if (fExtPackAccessible)
    3732         pMenu->addAction(action(UIActionIndexST_M_File_S_ShowCloudProfileManager));
     3732        pMenu->addAction(action(UIActionIndexMN_M_File_S_ShowCloudProfileManager));
    37333733# ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    37343734    /* 'Network Access Manager' action goes to 'File' menu: */
     
    37453745    pMenu->addSeparator();
    37463746    /* 'Close' action goes to 'File' menu: */
    3747     pMenu->addAction(action(UIActionIndexST_M_File_S_Close));
     3747    pMenu->addAction(action(UIActionIndexMN_M_File_S_Close));
    37483748
    37493749#endif /* !VBOX_WS_MAC */
    37503750
    37513751    /* Mark menu as valid: */
    3752     m_invalidations.remove(UIActionIndexST_M_File);
     3752    m_invalidations.remove(UIActionIndexMN_M_File);
    37533753}
    37543754
     
    37563756{
    37573757    /* Get corresponding menu: */
    3758     UIMenu *pMenu = action(UIActionIndexST_M_Welcome)->menu();
     3758    UIMenu *pMenu = action(UIActionIndexMN_M_Welcome)->menu();
    37593759    AssertPtrReturnVoid(pMenu);
    37603760    /* Clear contents: */
     
    37623762
    37633763    /* Populate Welcome menu: */
    3764     pMenu->addAction(action(UIActionIndexST_M_Welcome_S_New));
    3765     pMenu->addAction(action(UIActionIndexST_M_Welcome_S_Add));
     3764    pMenu->addAction(action(UIActionIndexMN_M_Welcome_S_New));
     3765    pMenu->addAction(action(UIActionIndexMN_M_Welcome_S_Add));
    37663766
    37673767    /* Mark menu as valid: */
    3768     m_invalidations.remove(UIActionIndexST_M_Welcome);
     3768    m_invalidations.remove(UIActionIndexMN_M_Welcome);
    37693769}
    37703770
     
    37723772{
    37733773    /* Get corresponding menu: */
    3774     UIMenu *pMenu = action(UIActionIndexST_M_Group)->menu();
     3774    UIMenu *pMenu = action(UIActionIndexMN_M_Group)->menu();
    37753775    AssertPtrReturnVoid(pMenu);
    37763776    /* Clear contents: */
     
    37833783{
    37843784    /* Get corresponding menu: */
    3785     UIMenu *pMenu = action(UIActionIndexST_M_Machine)->menu();
     3785    UIMenu *pMenu = action(UIActionIndexMN_M_Machine)->menu();
    37863786    AssertPtrReturnVoid(pMenu);
    37873787    /* Clear contents: */
     
    37943794{
    37953795    /* Get corresponding menu: */
    3796     UIMenu *pMenu = action(UIActionIndexST_M_Group_M_MoveToGroup)->menu();
     3796    UIMenu *pMenu = action(UIActionIndexMN_M_Group_M_MoveToGroup)->menu();
    37973797    AssertPtrReturnVoid(pMenu);
    37983798    /* Clear contents: */
     
    38053805{
    38063806    /* Get corresponding menu: */
    3807     UIMenu *pMenu = action(UIActionIndexST_M_Machine_M_MoveToGroup)->menu();
     3807    UIMenu *pMenu = action(UIActionIndexMN_M_Machine_M_MoveToGroup)->menu();
    38083808    AssertPtrReturnVoid(pMenu);
    38093809    /* Clear contents: */
     
    38113811
    38123812    /* Populate 'Machine' / 'Move to Group' menu: */
    3813     pMenu->addAction(action(UIActionIndexST_M_Machine_M_MoveToGroup_S_New));
     3813    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_MoveToGroup_S_New));
    38143814
    38153815    /* This menu always remains invalid.. */
     
    38193819{
    38203820    /* Get corresponding menu: */
    3821     UIMenu *pMenu = action(UIActionIndexST_M_Group_M_StartOrShow)->menu();
     3821    UIMenu *pMenu = action(UIActionIndexMN_M_Group_M_StartOrShow)->menu();
    38223822    AssertPtrReturnVoid(pMenu);
    38233823    /* Clear contents: */
     
    38253825
    38263826    /* Populate 'Group' / 'Start or Show' menu: */
    3827     pMenu->addAction(action(UIActionIndexST_M_Group_M_StartOrShow_S_StartNormal));
    3828     pMenu->addAction(action(UIActionIndexST_M_Group_M_StartOrShow_S_StartHeadless));
    3829     pMenu->addAction(action(UIActionIndexST_M_Group_M_StartOrShow_S_StartDetachable));
     3827    pMenu->addAction(action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartNormal));
     3828    pMenu->addAction(action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartHeadless));
     3829    pMenu->addAction(action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartDetachable));
    38303830
    38313831    /* Mark menu as valid: */
    3832     m_invalidations.remove(UIActionIndexST_M_Group_M_StartOrShow);
     3832    m_invalidations.remove(UIActionIndexMN_M_Group_M_StartOrShow);
    38333833}
    38343834
     
    38363836{
    38373837    /* Get corresponding menu: */
    3838     UIMenu *pMenu = action(UIActionIndexST_M_Machine_M_StartOrShow)->menu();
     3838    UIMenu *pMenu = action(UIActionIndexMN_M_Machine_M_StartOrShow)->menu();
    38393839    AssertPtrReturnVoid(pMenu);
    38403840    /* Clear contents: */
     
    38423842
    38433843    /* Populate 'Machine' / 'Start or Show' menu: */
    3844     pMenu->addAction(action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartNormal));
    3845     pMenu->addAction(action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartHeadless));
    3846     pMenu->addAction(action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartDetachable));
     3844    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartNormal));
     3845    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartHeadless));
     3846    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartDetachable));
    38473847
    38483848    /* Mark menu as valid: */
    3849     m_invalidations.remove(UIActionIndexST_M_Machine_M_StartOrShow);
     3849    m_invalidations.remove(UIActionIndexMN_M_Machine_M_StartOrShow);
    38503850}
    38513851
     
    38533853{
    38543854    /* Get corresponding menu: */
    3855     UIMenu *pMenu = action(UIActionIndexST_M_Group_M_Console)->menu();
     3855    UIMenu *pMenu = action(UIActionIndexMN_M_Group_M_Console)->menu();
    38563856    AssertPtrReturnVoid(pMenu);
    38573857    /* Clear contents: */
     
    38643864{
    38653865    /* Get corresponding menu: */
    3866     UIMenu *pMenu = action(UIActionIndexST_M_Machine_M_Console)->menu();
     3866    UIMenu *pMenu = action(UIActionIndexMN_M_Machine_M_Console)->menu();
    38673867    AssertPtrReturnVoid(pMenu);
    38683868    /* Clear contents: */
     
    38753875{
    38763876    /* Get corresponding menu: */
    3877     UIMenu *pMenu = action(UIActionIndexST_M_Group_M_Close)->menu();
     3877    UIMenu *pMenu = action(UIActionIndexMN_M_Group_M_Close)->menu();
    38783878    AssertPtrReturnVoid(pMenu);
    38793879    /* Clear contents: */
     
    38813881
    38823882    /* Populate 'Group' / 'Close' menu: */
    3883     // pMenu->addAction(action(UIActionIndexST_M_Group_M_Close_S_Detach));
    3884     pMenu->addAction(action(UIActionIndexST_M_Group_M_Close_S_SaveState));
    3885     pMenu->addAction(action(UIActionIndexST_M_Group_M_Close_S_Shutdown));
    3886     pMenu->addAction(action(UIActionIndexST_M_Group_M_Close_S_PowerOff));
     3883    // pMenu->addAction(action(UIActionIndexMN_M_Group_M_Close_S_Detach));
     3884    pMenu->addAction(action(UIActionIndexMN_M_Group_M_Close_S_SaveState));
     3885    pMenu->addAction(action(UIActionIndexMN_M_Group_M_Close_S_Shutdown));
     3886    pMenu->addAction(action(UIActionIndexMN_M_Group_M_Close_S_PowerOff));
    38873887
    38883888    /* Mark menu as valid: */
    3889     m_invalidations.remove(UIActionIndexST_M_Group_M_Close);
     3889    m_invalidations.remove(UIActionIndexMN_M_Group_M_Close);
    38903890}
    38913891
     
    38933893{
    38943894    /* Get corresponding menu: */
    3895     UIMenu *pMenu = action(UIActionIndexST_M_Machine_M_Close)->menu();
     3895    UIMenu *pMenu = action(UIActionIndexMN_M_Machine_M_Close)->menu();
    38963896    AssertPtrReturnVoid(pMenu);
    38973897    /* Clear contents: */
     
    38993899
    39003900    /* Populate 'Machine' / 'Close' menu: */
    3901     // pMenu->addAction(action(UIActionIndexST_M_Machine_M_Close_S_Detach));
    3902     pMenu->addAction(action(UIActionIndexST_M_Machine_M_Close_S_SaveState));
    3903     pMenu->addAction(action(UIActionIndexST_M_Machine_M_Close_S_Shutdown));
    3904     pMenu->addAction(action(UIActionIndexST_M_Machine_M_Close_S_PowerOff));
     3901    // pMenu->addAction(action(UIActionIndexMN_M_Machine_M_Close_S_Detach));
     3902    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_Close_S_SaveState));
     3903    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_Close_S_Shutdown));
     3904    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_Close_S_PowerOff));
    39053905
    39063906    /* Mark menu as valid: */
    3907     m_invalidations.remove(UIActionIndexST_M_Machine_M_Close);
     3907    m_invalidations.remove(UIActionIndexMN_M_Machine_M_Close);
    39083908}
    39093909
     
    39113911{
    39123912    /* Get corresponding menu: */
    3913     UIMenu *pMenu = action(UIActionIndexST_M_Group_M_Tools)->menu();
     3913    UIMenu *pMenu = action(UIActionIndexMN_M_Group_M_Tools)->menu();
    39143914    AssertPtrReturnVoid(pMenu);
    39153915    /* Clear contents: */
     
    39173917
    39183918    /* Populate 'Group' / 'Tools' menu: */
    3919     pMenu->addAction(action(UIActionIndexST_M_Group_M_Tools_T_Details));
    3920     pMenu->addAction(action(UIActionIndexST_M_Group_M_Tools_T_Snapshots));
    3921     pMenu->addAction(action(UIActionIndexST_M_Group_M_Tools_T_Logs));
    3922     pMenu->addAction(action(UIActionIndexST_M_Group_M_Tools_T_Performance));
     3919    pMenu->addAction(action(UIActionIndexMN_M_Group_M_Tools_T_Details));
     3920    pMenu->addAction(action(UIActionIndexMN_M_Group_M_Tools_T_Snapshots));
     3921    pMenu->addAction(action(UIActionIndexMN_M_Group_M_Tools_T_Logs));
     3922    pMenu->addAction(action(UIActionIndexMN_M_Group_M_Tools_T_Performance));
    39233923
    39243924    /* Mark menu as valid: */
    3925     m_invalidations.remove(UIActionIndexST_M_Group_M_Tools);
     3925    m_invalidations.remove(UIActionIndexMN_M_Group_M_Tools);
    39263926}
    39273927
     
    39293929{
    39303930    /* Get corresponding menu: */
    3931     UIMenu *pMenu = action(UIActionIndexST_M_Machine_M_Tools)->menu();
     3931    UIMenu *pMenu = action(UIActionIndexMN_M_Machine_M_Tools)->menu();
    39323932    AssertPtrReturnVoid(pMenu);
    39333933    /* Clear contents: */
     
    39353935
    39363936    /* Populate 'Machine' / 'Tools' menu: */
    3937     pMenu->addAction(action(UIActionIndexST_M_Machine_M_Tools_T_Details));
    3938     pMenu->addAction(action(UIActionIndexST_M_Machine_M_Tools_T_Snapshots));
    3939     pMenu->addAction(action(UIActionIndexST_M_Machine_M_Tools_T_Logs));
    3940     pMenu->addAction(action(UIActionIndexST_M_Machine_M_Tools_T_Performance));
     3937    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_Tools_T_Details));
     3938    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_Tools_T_Snapshots));
     3939    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_Tools_T_Logs));
     3940    pMenu->addAction(action(UIActionIndexMN_M_Machine_M_Tools_T_Performance));
    39413941
    39423942    /* Mark menu as valid: */
    3943     m_invalidations.remove(UIActionIndexST_M_Machine_M_Tools);
     3943    m_invalidations.remove(UIActionIndexMN_M_Machine_M_Tools);
    39443944}
    39453945
     
    39473947{
    39483948    /* Update corresponding menu: */
    3949     updateMenuMediumWrapper(action(UIActionIndexST_M_MediumWindow)->menu());
     3949    updateMenuMediumWrapper(action(UIActionIndexMN_M_MediumWindow)->menu());
    39503950
    39513951    /* Mark menu as valid: */
    3952     m_invalidations.remove(UIActionIndexST_M_MediumWindow);
     3952    m_invalidations.remove(UIActionIndexMN_M_MediumWindow);
    39533953}
    39543954
     
    39563956{
    39573957    /* Update corresponding menu: */
    3958     updateMenuMediumWrapper(action(UIActionIndexST_M_Medium)->menu());
     3958    updateMenuMediumWrapper(action(UIActionIndexMN_M_Medium)->menu());
    39593959
    39603960    /* Mark menu as valid: */
    3961     m_invalidations.remove(UIActionIndexST_M_Medium);
     3961    m_invalidations.remove(UIActionIndexMN_M_Medium);
    39623962}
    39633963
     
    39713971
    39723972    /* 'Add' action: */
    3973     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_S_Add)) || fSeparator;
    3974     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_S_Create)) || fSeparator;
     3973    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_S_Add)) || fSeparator;
     3974    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_S_Create)) || fSeparator;
    39753975
    39763976    /* Separator? */
     
    39823982
    39833983    /* 'Copy' action: */
    3984     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_S_Copy)) || fSeparator;
     3984    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_S_Copy)) || fSeparator;
    39853985    /* 'Move' action: */
    3986     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_S_Move)) || fSeparator;
     3986    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_S_Move)) || fSeparator;
    39873987    /* 'Remove' action: */
    3988     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_S_Remove)) || fSeparator;
     3988    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_S_Remove)) || fSeparator;
    39893989    /* 'Release' action: */
    3990     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_S_Release)) || fSeparator;
     3990    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_S_Release)) || fSeparator;
    39913991    /* 'Search' action: */
    3992     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_T_Search)) || fSeparator;
     3992    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_T_Search)) || fSeparator;
    39933993    /* 'Properties' action: */
    3994     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_T_Details)) || fSeparator;
     3994    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_T_Details)) || fSeparator;
    39953995
    39963996    /* Separator? */
     
    40024002
    40034003    /* 'Refresh' action: */
    4004     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Medium_S_Refresh)) || fSeparator;;
     4004    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Medium_S_Refresh)) || fSeparator;;
    40054005}
    40064006
     
    40084008{
    40094009    /* Update corresponding menu: */
    4010     updateMenuNetworkWrapper(action(UIActionIndexST_M_NetworkWindow)->menu());
     4010    updateMenuNetworkWrapper(action(UIActionIndexMN_M_NetworkWindow)->menu());
    40114011
    40124012    /* Mark menu as valid: */
    4013     m_invalidations.remove(UIActionIndexST_M_NetworkWindow);
     4013    m_invalidations.remove(UIActionIndexMN_M_NetworkWindow);
    40144014}
    40154015
     
    40174017{
    40184018    /* Update corresponding menu: */
    4019     updateMenuNetworkWrapper(action(UIActionIndexST_M_Network)->menu());
     4019    updateMenuNetworkWrapper(action(UIActionIndexMN_M_Network)->menu());
    40204020
    40214021    /* Mark menu as valid: */
    4022     m_invalidations.remove(UIActionIndexST_M_Network);
     4022    m_invalidations.remove(UIActionIndexMN_M_Network);
    40234023}
    40244024
     
    40324032
    40334033    /* 'Create' action: */
    4034     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Network_S_Create)) || fSeparator;
     4034    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Network_S_Create)) || fSeparator;
    40354035
    40364036    /* Separator? */
     
    40424042
    40434043    /* 'Remove' action: */
    4044     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Network_S_Remove)) || fSeparator;
     4044    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Network_S_Remove)) || fSeparator;
    40454045    /* 'Properties' action: */
    4046     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Network_T_Details)) || fSeparator;
     4046    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Network_T_Details)) || fSeparator;
    40474047
    40484048//    /* Separator? */
     
    40544054
    40554055//    /* 'Refresh' action: */
    4056 //    fSeparator = addAction(pMenu, action(UIActionIndexST_M_Network_S_Refresh)) || fSeparator;;
     4056//    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Network_S_Refresh)) || fSeparator;;
    40574057}
    40584058
     
    40604060{
    40614061    /* Update corresponding menu: */
    4062     updateMenuCloudWrapper(action(UIActionIndexST_M_CloudWindow)->menu());
     4062    updateMenuCloudWrapper(action(UIActionIndexMN_M_CloudWindow)->menu());
    40634063
    40644064    /* Mark menu as valid: */
    4065     m_invalidations.remove(UIActionIndexST_M_CloudWindow);
     4065    m_invalidations.remove(UIActionIndexMN_M_CloudWindow);
    40664066}
    40674067
     
    40694069{
    40704070    /* Update corresponding menu: */
    4071     updateMenuCloudWrapper(action(UIActionIndexST_M_Cloud)->menu());
     4071    updateMenuCloudWrapper(action(UIActionIndexMN_M_Cloud)->menu());
    40724072
    40734073    /* Mark menu as valid: */
    4074     m_invalidations.remove(UIActionIndexST_M_Cloud);
     4074    m_invalidations.remove(UIActionIndexMN_M_Cloud);
    40754075}
    40764076
     
    40844084
    40854085    /* 'Add' action: */
    4086     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Cloud_S_Add)) || fSeparator;
     4086    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Cloud_S_Add)) || fSeparator;
    40874087    /* 'Import' action: */
    4088     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Cloud_S_Import)) || fSeparator;
     4088    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Cloud_S_Import)) || fSeparator;
    40894089
    40904090    /* Separator? */
     
    40964096
    40974097    /* 'Remove' action: */
    4098     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Cloud_S_Remove)) || fSeparator;
     4098    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Cloud_S_Remove)) || fSeparator;
    40994099    /* 'Properties' action: */
    4100     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Cloud_T_Details)) || fSeparator;
     4100    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Cloud_T_Details)) || fSeparator;
    41014101
    41024102    /* Separator? */
     
    41084108
    41094109    /* 'Try Page' action: */
    4110     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Cloud_S_TryPage)) || fSeparator;
     4110    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Cloud_S_TryPage)) || fSeparator;
    41114111    /* 'Help' action: */
    4112     fSeparator = addAction(pMenu, action(UIActionIndexST_M_Cloud_S_Help)) || fSeparator;
     4112    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_Cloud_S_Help)) || fSeparator;
    41134113}
    41144114
     
    41164116{
    41174117    /* Update corresponding menu: */
    4118     updateMenuCloudConsoleWrapper(action(UIActionIndexST_M_CloudConsoleWindow)->menu());
     4118    updateMenuCloudConsoleWrapper(action(UIActionIndexMN_M_CloudConsoleWindow)->menu());
    41194119
    41204120    /* Mark menu as valid: */
    4121     m_invalidations.remove(UIActionIndexST_M_CloudConsoleWindow);
     4121    m_invalidations.remove(UIActionIndexMN_M_CloudConsoleWindow);
    41224122}
    41234123
     
    41254125{
    41264126    /* Update corresponding menu: */
    4127     updateMenuCloudConsoleWrapper(action(UIActionIndexST_M_CloudConsole)->menu());
     4127    updateMenuCloudConsoleWrapper(action(UIActionIndexMN_M_CloudConsole)->menu());
    41284128
    41294129    /* Mark menu as valid: */
    4130     m_invalidations.remove(UIActionIndexST_M_CloudConsole);
     4130    m_invalidations.remove(UIActionIndexMN_M_CloudConsole);
    41314131}
    41324132
     
    41404140
    41414141    /* 'Add Application' action: */
    4142     fSeparator = addAction(pMenu, action(UIActionIndexST_M_CloudConsole_S_ApplicationAdd)) || fSeparator;
     4142    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_CloudConsole_S_ApplicationAdd)) || fSeparator;
    41434143    /* 'Remove Application' action: */
    4144     fSeparator = addAction(pMenu, action(UIActionIndexST_M_CloudConsole_S_ApplicationRemove)) || fSeparator;
     4144    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_CloudConsole_S_ApplicationRemove)) || fSeparator;
    41454145
    41464146    /* Separator? */
     
    41524152
    41534153    /* 'Add Profile' action: */
    4154     fSeparator = addAction(pMenu, action(UIActionIndexST_M_CloudConsole_S_ProfileAdd)) || fSeparator;
     4154    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_CloudConsole_S_ProfileAdd)) || fSeparator;
    41554155    /* 'Remove Profile' action: */
    4156     fSeparator = addAction(pMenu, action(UIActionIndexST_M_CloudConsole_S_ProfileRemove)) || fSeparator;
     4156    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_CloudConsole_S_ProfileRemove)) || fSeparator;
    41574157
    41584158    /* Separator? */
     
    41644164
    41654165    /* 'Properties' action: */
    4166     fSeparator = addAction(pMenu, action(UIActionIndexST_M_CloudConsole_T_Details)) || fSeparator;
     4166    fSeparator = addAction(pMenu, action(UIActionIndexMN_M_CloudConsole_T_Details)) || fSeparator;
    41674167}
    41684168
     
    41704170{
    41714171    /* Update corresponding menu: */
    4172     updateMenuVMResourceMonitorWrapper(action(UIActionIndexST_M_VMResourceMonitor)->menu());
     4172    updateMenuVMResourceMonitorWrapper(action(UIActionIndexMN_M_VMResourceMonitor)->menu());
    41734173
    41744174    /* Mark menu as valid: */
    4175     m_invalidations.remove(UIActionIndexST_M_VMResourceMonitor);
     4175    m_invalidations.remove(UIActionIndexMN_M_VMResourceMonitor);
    41764176}
    41774177
     
    41804180    /* Clear contents: */
    41814181    pMenu->clear();
    4182     addAction(pMenu, action(UIActionIndexST_M_VMResourceMonitor_M_Columns));
    4183     addAction(pMenu, action(UIActionIndexST_M_VMResourceMonitor_S_SwitchToMachinePerformance));
     4182    addAction(pMenu, action(UIActionIndexMN_M_VMResourceMonitor_M_Columns));
     4183    addAction(pMenu, action(UIActionIndexMN_M_VMResourceMonitor_S_SwitchToMachinePerformance));
    41844184}
    41854185
     
    41874187{
    41884188    /* Get corresponding menu: */
    4189     UIMenu *pMenu = action(UIActionIndexST_M_Snapshot)->menu();
     4189    UIMenu *pMenu = action(UIActionIndexMN_M_Snapshot)->menu();
    41904190    AssertPtrReturnVoid(pMenu);
    41914191    /* Clear contents: */
     
    41934193
    41944194    /* Populate Snapshot-menu: */
    4195     pMenu->addAction(action(UIActionIndexST_M_Snapshot_S_Take));
    4196     pMenu->addAction(action(UIActionIndexST_M_Snapshot_S_Delete));
    4197     pMenu->addAction(action(UIActionIndexST_M_Snapshot_S_Restore));
    4198     pMenu->addAction(action(UIActionIndexST_M_Snapshot_T_Properties));
    4199     pMenu->addAction(action(UIActionIndexST_M_Snapshot_S_Clone));
     4195    pMenu->addAction(action(UIActionIndexMN_M_Snapshot_S_Take));
     4196    pMenu->addAction(action(UIActionIndexMN_M_Snapshot_S_Delete));
     4197    pMenu->addAction(action(UIActionIndexMN_M_Snapshot_S_Restore));
     4198    pMenu->addAction(action(UIActionIndexMN_M_Snapshot_T_Properties));
     4199    pMenu->addAction(action(UIActionIndexMN_M_Snapshot_S_Clone));
    42004200
    42014201    /* Mark menu as valid: */
    4202     m_invalidations.remove(UIActionIndexST_M_Snapshot);
     4202    m_invalidations.remove(UIActionIndexMN_M_Snapshot);
    42034203}
    42044204
     
    42204220    switch (iIndex)
    42214221    {
    4222         case UIActionIndexST_M_Welcome:
     4222        case UIActionIndexMN_M_Welcome:
    42234223        {
    4224             actions << action(UIActionIndexST_M_Welcome_S_New)
    4225                     << action(UIActionIndexST_M_Welcome_S_Add);
     4224            actions << action(UIActionIndexMN_M_Welcome_S_New)
     4225                    << action(UIActionIndexMN_M_Welcome_S_Add);
    42264226            break;
    42274227        }
    4228         case UIActionIndexST_M_Group:
     4228        case UIActionIndexMN_M_Group:
    42294229        {
    4230             actions << action(UIActionIndexST_M_Group_S_New)
    4231                     << action(UIActionIndexST_M_Group_S_Add)
    4232                     << action(UIActionIndexST_M_Group_S_Rename)
    4233                     << action(UIActionIndexST_M_Group_S_Remove)
    4234                     << action(UIActionIndexST_M_Group_M_MoveToGroup)
    4235                     << action(UIActionIndexST_M_Group_M_StartOrShow)
    4236                     << action(UIActionIndexST_M_Group_T_Pause)
    4237                     << action(UIActionIndexST_M_Group_S_Reset)
    4238                     << action(UIActionIndexST_M_Group_S_Discard)
    4239                     << action(UIActionIndexST_M_Group_S_ShowLogDialog)
    4240                     << action(UIActionIndexST_M_Group_S_Refresh)
    4241                     << action(UIActionIndexST_M_Group_S_ShowInFileManager)
    4242                     << action(UIActionIndexST_M_Group_S_CreateShortcut)
    4243                     << action(UIActionIndexST_M_Group_S_Sort)
    4244                     << action(UIActionIndexST_M_Group_M_StartOrShow_S_StartNormal)
    4245                     << action(UIActionIndexST_M_Group_M_StartOrShow_S_StartHeadless)
    4246                     << action(UIActionIndexST_M_Group_M_StartOrShow_S_StartDetachable)
    4247                     << action(UIActionIndexST_M_Group_M_Console_S_CreateConnection)
    4248                     << action(UIActionIndexST_M_Group_M_Console_S_DeleteConnection)
    4249                     << action(UIActionIndexST_M_Group_M_Console_S_ConfigureApplications)
    4250                     // << action(UIActionIndexST_M_Group_M_Close_S_Detach)
    4251                     << action(UIActionIndexST_M_Group_M_Close_S_SaveState)
    4252                     << action(UIActionIndexST_M_Group_M_Close_S_Shutdown)
    4253                     << action(UIActionIndexST_M_Group_M_Close_S_PowerOff)
    4254                     << action(UIActionIndexST_M_Group_M_Tools_T_Details)
    4255                     << action(UIActionIndexST_M_Group_M_Tools_T_Snapshots)
    4256                     << action(UIActionIndexST_M_Group_M_Tools_T_Logs)
    4257                     << action(UIActionIndexST_M_Group_M_Tools_T_Performance);
     4230            actions << action(UIActionIndexMN_M_Group_S_New)
     4231                    << action(UIActionIndexMN_M_Group_S_Add)
     4232                    << action(UIActionIndexMN_M_Group_S_Rename)
     4233                    << action(UIActionIndexMN_M_Group_S_Remove)
     4234                    << action(UIActionIndexMN_M_Group_M_MoveToGroup)
     4235                    << action(UIActionIndexMN_M_Group_M_StartOrShow)
     4236                    << action(UIActionIndexMN_M_Group_T_Pause)
     4237                    << action(UIActionIndexMN_M_Group_S_Reset)
     4238                    << action(UIActionIndexMN_M_Group_S_Discard)
     4239                    << action(UIActionIndexMN_M_Group_S_ShowLogDialog)
     4240                    << action(UIActionIndexMN_M_Group_S_Refresh)
     4241                    << action(UIActionIndexMN_M_Group_S_ShowInFileManager)
     4242                    << action(UIActionIndexMN_M_Group_S_CreateShortcut)
     4243                    << action(UIActionIndexMN_M_Group_S_Sort)
     4244                    << action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartNormal)
     4245                    << action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartHeadless)
     4246                    << action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartDetachable)
     4247                    << action(UIActionIndexMN_M_Group_M_Console_S_CreateConnection)
     4248                    << action(UIActionIndexMN_M_Group_M_Console_S_DeleteConnection)
     4249                    << action(UIActionIndexMN_M_Group_M_Console_S_ConfigureApplications)
     4250                    // << action(UIActionIndexMN_M_Group_M_Close_S_Detach)
     4251                    << action(UIActionIndexMN_M_Group_M_Close_S_SaveState)
     4252                    << action(UIActionIndexMN_M_Group_M_Close_S_Shutdown)
     4253                    << action(UIActionIndexMN_M_Group_M_Close_S_PowerOff)
     4254                    << action(UIActionIndexMN_M_Group_M_Tools_T_Details)
     4255                    << action(UIActionIndexMN_M_Group_M_Tools_T_Snapshots)
     4256                    << action(UIActionIndexMN_M_Group_M_Tools_T_Logs)
     4257                    << action(UIActionIndexMN_M_Group_M_Tools_T_Performance);
    42584258            break;
    42594259        }
    4260         case UIActionIndexST_M_Machine:
     4260        case UIActionIndexMN_M_Machine:
    42614261        {
    4262             actions << action(UIActionIndexST_M_Machine_S_New)
    4263                     << action(UIActionIndexST_M_Machine_S_Add)
    4264                     << action(UIActionIndexST_M_Machine_S_Settings)
    4265                     << action(UIActionIndexST_M_Machine_S_Clone)
    4266                     << action(UIActionIndexST_M_Machine_S_Move)
    4267                     << action(UIActionIndexST_M_Machine_S_ExportToOCI)
    4268                     << action(UIActionIndexST_M_Machine_S_Remove)
    4269                     << action(UIActionIndexST_M_Machine_M_MoveToGroup)
    4270                     << action(UIActionIndexST_M_Machine_M_StartOrShow)
    4271                     << action(UIActionIndexST_M_Machine_T_Pause)
    4272                     << action(UIActionIndexST_M_Machine_S_Reset)
    4273                     << action(UIActionIndexST_M_Machine_S_Discard)
    4274                     << action(UIActionIndexST_M_Machine_S_ShowLogDialog)
    4275                     << action(UIActionIndexST_M_Machine_S_Refresh)
    4276                     << action(UIActionIndexST_M_Machine_S_ShowInFileManager)
    4277                     << action(UIActionIndexST_M_Machine_S_CreateShortcut)
    4278                     << action(UIActionIndexST_M_Machine_S_SortParent)
    4279                     << action(UIActionIndexST_M_Machine_M_MoveToGroup_S_New)
    4280                     << action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartNormal)
    4281                     << action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartHeadless)
    4282                     << action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartDetachable)
    4283                     << action(UIActionIndexST_M_Machine_M_Console_S_CreateConnection)
    4284                     << action(UIActionIndexST_M_Machine_M_Console_S_DeleteConnection)
    4285                     << action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialUnix)
    4286                     << action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialWindows)
    4287                     << action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCUnix)
    4288                     << action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCWindows)
    4289                     << action(UIActionIndexST_M_Machine_M_Console_S_ConfigureApplications)
    4290                     // << action(UIActionIndexST_M_Machine_M_Close_S_Detach)
    4291                     << action(UIActionIndexST_M_Machine_M_Close_S_SaveState)
    4292                     << action(UIActionIndexST_M_Machine_M_Close_S_Shutdown)
    4293                     << action(UIActionIndexST_M_Machine_M_Close_S_PowerOff)
    4294                     << action(UIActionIndexST_M_Machine_M_Tools_T_Details)
    4295                     << action(UIActionIndexST_M_Machine_M_Tools_T_Snapshots)
    4296                     << action(UIActionIndexST_M_Machine_M_Tools_T_Logs)
    4297                     << action(UIActionIndexST_M_Machine_M_Tools_T_Performance);
     4262            actions << action(UIActionIndexMN_M_Machine_S_New)
     4263                    << action(UIActionIndexMN_M_Machine_S_Add)
     4264                    << action(UIActionIndexMN_M_Machine_S_Settings)
     4265                    << action(UIActionIndexMN_M_Machine_S_Clone)
     4266                    << action(UIActionIndexMN_M_Machine_S_Move)
     4267                    << action(UIActionIndexMN_M_Machine_S_ExportToOCI)
     4268                    << action(UIActionIndexMN_M_Machine_S_Remove)
     4269                    << action(UIActionIndexMN_M_Machine_M_MoveToGroup)
     4270                    << action(UIActionIndexMN_M_Machine_M_StartOrShow)
     4271                    << action(UIActionIndexMN_M_Machine_T_Pause)
     4272                    << action(UIActionIndexMN_M_Machine_S_Reset)
     4273                    << action(UIActionIndexMN_M_Machine_S_Discard)
     4274                    << action(UIActionIndexMN_M_Machine_S_ShowLogDialog)
     4275                    << action(UIActionIndexMN_M_Machine_S_Refresh)
     4276                    << action(UIActionIndexMN_M_Machine_S_ShowInFileManager)
     4277                    << action(UIActionIndexMN_M_Machine_S_CreateShortcut)
     4278                    << action(UIActionIndexMN_M_Machine_S_SortParent)
     4279                    << action(UIActionIndexMN_M_Machine_M_MoveToGroup_S_New)
     4280                    << action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartNormal)
     4281                    << action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartHeadless)
     4282                    << action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartDetachable)
     4283                    << action(UIActionIndexMN_M_Machine_M_Console_S_CreateConnection)
     4284                    << action(UIActionIndexMN_M_Machine_M_Console_S_DeleteConnection)
     4285                    << action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialUnix)
     4286                    << action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialWindows)
     4287                    << action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCUnix)
     4288                    << action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCWindows)
     4289                    << action(UIActionIndexMN_M_Machine_M_Console_S_ConfigureApplications)
     4290                    // << action(UIActionIndexMN_M_Machine_M_Close_S_Detach)
     4291                    << action(UIActionIndexMN_M_Machine_M_Close_S_SaveState)
     4292                    << action(UIActionIndexMN_M_Machine_M_Close_S_Shutdown)
     4293                    << action(UIActionIndexMN_M_Machine_M_Close_S_PowerOff)
     4294                    << action(UIActionIndexMN_M_Machine_M_Tools_T_Details)
     4295                    << action(UIActionIndexMN_M_Machine_M_Tools_T_Snapshots)
     4296                    << action(UIActionIndexMN_M_Machine_M_Tools_T_Logs)
     4297                    << action(UIActionIndexMN_M_Machine_M_Tools_T_Performance);
    42984298            break;
    42994299        }
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolManager.h

    r85572 r85597  
    3030
    3131
    32 /** Runtime action-pool index enum.
     32/** VirtualBox Manager action-pool index enum.
    3333  * Naming convention is following:
    3434  * 1. Every menu index prepended with 'M',
     
    3737  * 4. Every polymorphic-action index presended with 'P',
    3838  * 5. Every sub-index contains full parent-index name. */
    39 enum UIActionIndexST
     39enum UIActionIndexMN
    4040{
    4141    /* 'File' menu actions: */
    42     UIActionIndexST_M_File = UIActionIndex_Max + 1,
    43     UIActionIndexST_M_File_S_ShowVirtualMediumManager,
    44     UIActionIndexST_M_File_S_ShowHostNetworkManager,
    45     UIActionIndexST_M_File_S_ShowCloudProfileManager,
    46     UIActionIndexST_M_File_S_ImportAppliance,
    47     UIActionIndexST_M_File_S_ExportAppliance,
    48     UIActionIndexST_M_File_S_NewCloudVM,
     42    UIActionIndexMN_M_File = UIActionIndex_Max + 1,
     43    UIActionIndexMN_M_File_S_ShowVirtualMediumManager,
     44    UIActionIndexMN_M_File_S_ShowHostNetworkManager,
     45    UIActionIndexMN_M_File_S_ShowCloudProfileManager,
     46    UIActionIndexMN_M_File_S_ImportAppliance,
     47    UIActionIndexMN_M_File_S_ExportAppliance,
     48    UIActionIndexMN_M_File_S_NewCloudVM,
    4949#ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    50     UIActionIndexST_M_File_S_ShowExtraDataManager,
     50    UIActionIndexMN_M_File_S_ShowExtraDataManager,
    5151#endif
    52     UIActionIndexST_M_File_S_Close,
     52    UIActionIndexMN_M_File_S_Close,
    5353
    5454    /* 'Welcome' menu actions: */
    55     UIActionIndexST_M_Welcome,
    56     UIActionIndexST_M_Welcome_S_New,
    57     UIActionIndexST_M_Welcome_S_Add,
     55    UIActionIndexMN_M_Welcome,
     56    UIActionIndexMN_M_Welcome_S_New,
     57    UIActionIndexMN_M_Welcome_S_Add,
    5858
    5959    /* 'Group' menu actions: */
    60     UIActionIndexST_M_Group,
    61     UIActionIndexST_M_Group_S_New,
    62     UIActionIndexST_M_Group_S_Add,
    63     UIActionIndexST_M_Group_S_Rename,
    64     UIActionIndexST_M_Group_S_Remove,
    65     UIActionIndexST_M_Group_M_MoveToGroup,
    66     UIActionIndexST_M_Group_M_StartOrShow,
    67     UIActionIndexST_M_Group_M_StartOrShow_S_StartNormal,
    68     UIActionIndexST_M_Group_M_StartOrShow_S_StartHeadless,
    69     UIActionIndexST_M_Group_M_StartOrShow_S_StartDetachable,
    70     UIActionIndexST_M_Group_T_Pause,
    71     UIActionIndexST_M_Group_S_Reset,
    72     UIActionIndexST_M_Group_M_Console,
    73     UIActionIndexST_M_Group_M_Console_S_CreateConnection,
    74     UIActionIndexST_M_Group_M_Console_S_DeleteConnection,
    75     UIActionIndexST_M_Group_M_Console_S_ConfigureApplications,
    76     UIActionIndexST_M_Group_M_Close,
    77     UIActionIndexST_M_Group_M_Close_S_Detach,
    78     UIActionIndexST_M_Group_M_Close_S_SaveState,
    79     UIActionIndexST_M_Group_M_Close_S_Shutdown,
    80     UIActionIndexST_M_Group_M_Close_S_PowerOff,
    81     UIActionIndexST_M_Group_M_Tools,
    82     UIActionIndexST_M_Group_M_Tools_T_Details,
    83     UIActionIndexST_M_Group_M_Tools_T_Snapshots,
    84     UIActionIndexST_M_Group_M_Tools_T_Logs,
    85     UIActionIndexST_M_Group_M_Tools_T_Performance,
    86     UIActionIndexST_M_Group_S_Discard,
    87     UIActionIndexST_M_Group_S_ShowLogDialog,
    88     UIActionIndexST_M_Group_S_Refresh,
    89     UIActionIndexST_M_Group_S_ShowInFileManager,
    90     UIActionIndexST_M_Group_S_CreateShortcut,
    91     UIActionIndexST_M_Group_S_Sort,
     60    UIActionIndexMN_M_Group,
     61    UIActionIndexMN_M_Group_S_New,
     62    UIActionIndexMN_M_Group_S_Add,
     63    UIActionIndexMN_M_Group_S_Rename,
     64    UIActionIndexMN_M_Group_S_Remove,
     65    UIActionIndexMN_M_Group_M_MoveToGroup,
     66    UIActionIndexMN_M_Group_M_StartOrShow,
     67    UIActionIndexMN_M_Group_M_StartOrShow_S_StartNormal,
     68    UIActionIndexMN_M_Group_M_StartOrShow_S_StartHeadless,
     69    UIActionIndexMN_M_Group_M_StartOrShow_S_StartDetachable,
     70    UIActionIndexMN_M_Group_T_Pause,
     71    UIActionIndexMN_M_Group_S_Reset,
     72    UIActionIndexMN_M_Group_M_Console,
     73    UIActionIndexMN_M_Group_M_Console_S_CreateConnection,
     74    UIActionIndexMN_M_Group_M_Console_S_DeleteConnection,
     75    UIActionIndexMN_M_Group_M_Console_S_ConfigureApplications,
     76    UIActionIndexMN_M_Group_M_Close,
     77    UIActionIndexMN_M_Group_M_Close_S_Detach,
     78    UIActionIndexMN_M_Group_M_Close_S_SaveState,
     79    UIActionIndexMN_M_Group_M_Close_S_Shutdown,
     80    UIActionIndexMN_M_Group_M_Close_S_PowerOff,
     81    UIActionIndexMN_M_Group_M_Tools,
     82    UIActionIndexMN_M_Group_M_Tools_T_Details,
     83    UIActionIndexMN_M_Group_M_Tools_T_Snapshots,
     84    UIActionIndexMN_M_Group_M_Tools_T_Logs,
     85    UIActionIndexMN_M_Group_M_Tools_T_Performance,
     86    UIActionIndexMN_M_Group_S_Discard,
     87    UIActionIndexMN_M_Group_S_ShowLogDialog,
     88    UIActionIndexMN_M_Group_S_Refresh,
     89    UIActionIndexMN_M_Group_S_ShowInFileManager,
     90    UIActionIndexMN_M_Group_S_CreateShortcut,
     91    UIActionIndexMN_M_Group_S_Sort,
    9292
    9393    /* 'Machine' menu actions: */
    94     UIActionIndexST_M_Machine,
    95     UIActionIndexST_M_Machine_S_New,
    96     UIActionIndexST_M_Machine_S_Add,
    97     UIActionIndexST_M_Machine_S_Settings,
    98     UIActionIndexST_M_Machine_S_Clone,
    99     UIActionIndexST_M_Machine_S_Move,
    100     UIActionIndexST_M_Machine_S_ExportToOCI,
    101     UIActionIndexST_M_Machine_S_Remove,
    102     UIActionIndexST_M_Machine_M_MoveToGroup,
    103     UIActionIndexST_M_Machine_M_MoveToGroup_S_New,
    104     UIActionIndexST_M_Machine_M_StartOrShow,
    105     UIActionIndexST_M_Machine_M_StartOrShow_S_StartNormal,
    106     UIActionIndexST_M_Machine_M_StartOrShow_S_StartHeadless,
    107     UIActionIndexST_M_Machine_M_StartOrShow_S_StartDetachable,
    108     UIActionIndexST_M_Machine_T_Pause,
    109     UIActionIndexST_M_Machine_S_Reset,
    110     UIActionIndexST_M_Machine_M_Console,
    111     UIActionIndexST_M_Machine_M_Console_S_CreateConnection,
    112     UIActionIndexST_M_Machine_M_Console_S_DeleteConnection,
    113     UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialUnix,
    114     UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialWindows,
    115     UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCUnix,
    116     UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCWindows,
    117     UIActionIndexST_M_Machine_M_Console_S_ConfigureApplications,
    118     UIActionIndexST_M_Machine_M_Close,
    119     UIActionIndexST_M_Machine_M_Close_S_Detach,
    120     UIActionIndexST_M_Machine_M_Close_S_SaveState,
    121     UIActionIndexST_M_Machine_M_Close_S_Shutdown,
    122     UIActionIndexST_M_Machine_M_Close_S_PowerOff,
    123     UIActionIndexST_M_Machine_M_Tools,
    124     UIActionIndexST_M_Machine_M_Tools_T_Details,
    125     UIActionIndexST_M_Machine_M_Tools_T_Snapshots,
    126     UIActionIndexST_M_Machine_M_Tools_T_Logs,
    127     UIActionIndexST_M_Machine_M_Tools_T_Performance,
    128     UIActionIndexST_M_Machine_S_Discard,
    129     UIActionIndexST_M_Machine_S_ShowLogDialog,
    130     UIActionIndexST_M_Machine_S_Refresh,
    131     UIActionIndexST_M_Machine_S_ShowInFileManager,
    132     UIActionIndexST_M_Machine_S_CreateShortcut,
    133     UIActionIndexST_M_Machine_S_SortParent,
    134     UIActionIndexST_M_Machine_T_Search,
     94    UIActionIndexMN_M_Machine,
     95    UIActionIndexMN_M_Machine_S_New,
     96    UIActionIndexMN_M_Machine_S_Add,
     97    UIActionIndexMN_M_Machine_S_Settings,
     98    UIActionIndexMN_M_Machine_S_Clone,
     99    UIActionIndexMN_M_Machine_S_Move,
     100    UIActionIndexMN_M_Machine_S_ExportToOCI,
     101    UIActionIndexMN_M_Machine_S_Remove,
     102    UIActionIndexMN_M_Machine_M_MoveToGroup,
     103    UIActionIndexMN_M_Machine_M_MoveToGroup_S_New,
     104    UIActionIndexMN_M_Machine_M_StartOrShow,
     105    UIActionIndexMN_M_Machine_M_StartOrShow_S_StartNormal,
     106    UIActionIndexMN_M_Machine_M_StartOrShow_S_StartHeadless,
     107    UIActionIndexMN_M_Machine_M_StartOrShow_S_StartDetachable,
     108    UIActionIndexMN_M_Machine_T_Pause,
     109    UIActionIndexMN_M_Machine_S_Reset,
     110    UIActionIndexMN_M_Machine_M_Console,
     111    UIActionIndexMN_M_Machine_M_Console_S_CreateConnection,
     112    UIActionIndexMN_M_Machine_M_Console_S_DeleteConnection,
     113    UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialUnix,
     114    UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialWindows,
     115    UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCUnix,
     116    UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCWindows,
     117    UIActionIndexMN_M_Machine_M_Console_S_ConfigureApplications,
     118    UIActionIndexMN_M_Machine_M_Close,
     119    UIActionIndexMN_M_Machine_M_Close_S_Detach,
     120    UIActionIndexMN_M_Machine_M_Close_S_SaveState,
     121    UIActionIndexMN_M_Machine_M_Close_S_Shutdown,
     122    UIActionIndexMN_M_Machine_M_Close_S_PowerOff,
     123    UIActionIndexMN_M_Machine_M_Tools,
     124    UIActionIndexMN_M_Machine_M_Tools_T_Details,
     125    UIActionIndexMN_M_Machine_M_Tools_T_Snapshots,
     126    UIActionIndexMN_M_Machine_M_Tools_T_Logs,
     127    UIActionIndexMN_M_Machine_M_Tools_T_Performance,
     128    UIActionIndexMN_M_Machine_S_Discard,
     129    UIActionIndexMN_M_Machine_S_ShowLogDialog,
     130    UIActionIndexMN_M_Machine_S_Refresh,
     131    UIActionIndexMN_M_Machine_S_ShowInFileManager,
     132    UIActionIndexMN_M_Machine_S_CreateShortcut,
     133    UIActionIndexMN_M_Machine_S_SortParent,
     134    UIActionIndexMN_M_Machine_T_Search,
    135135
    136136    /* Global Tools actions: */
    137     UIActionIndexST_M_Tools_M_Global,
    138     UIActionIndexST_M_Tools_M_Global_S_VirtualMediaManager,
    139     UIActionIndexST_M_Tools_M_Global_S_HostNetworkManager,
    140     UIActionIndexST_M_Tools_M_Global_S_CloudProfileManager,
    141     UIActionIndexST_M_Tools_M_Global_S_VMResourceMonitor,
     137    UIActionIndexMN_M_Tools_M_Global,
     138    UIActionIndexMN_M_Tools_M_Global_S_VirtualMediaManager,
     139    UIActionIndexMN_M_Tools_M_Global_S_HostNetworkManager,
     140    UIActionIndexMN_M_Tools_M_Global_S_CloudProfileManager,
     141    UIActionIndexMN_M_Tools_M_Global_S_VMResourceMonitor,
    142142
    143143    /* Snapshot Pane actions: */
    144     UIActionIndexST_M_Snapshot,
    145     UIActionIndexST_M_Snapshot_S_Take,
    146     UIActionIndexST_M_Snapshot_S_Delete,
    147     UIActionIndexST_M_Snapshot_S_Restore,
    148     UIActionIndexST_M_Snapshot_T_Properties,
    149     UIActionIndexST_M_Snapshot_S_Clone,
     144    UIActionIndexMN_M_Snapshot,
     145    UIActionIndexMN_M_Snapshot_S_Take,
     146    UIActionIndexMN_M_Snapshot_S_Delete,
     147    UIActionIndexMN_M_Snapshot_S_Restore,
     148    UIActionIndexMN_M_Snapshot_T_Properties,
     149    UIActionIndexMN_M_Snapshot_S_Clone,
    150150
    151151    /* Virtual Media Manager actions: */
    152     UIActionIndexST_M_MediumWindow,
    153     UIActionIndexST_M_Medium,
    154     UIActionIndexST_M_Medium_S_Add,
    155     UIActionIndexST_M_Medium_S_Create,
    156     UIActionIndexST_M_Medium_S_Copy,
    157     UIActionIndexST_M_Medium_S_Move,
    158     UIActionIndexST_M_Medium_S_Remove,
    159     UIActionIndexST_M_Medium_S_Release,
    160     UIActionIndexST_M_Medium_T_Details,
    161     UIActionIndexST_M_Medium_T_Search,
    162     UIActionIndexST_M_Medium_S_Refresh,
     152    UIActionIndexMN_M_MediumWindow,
     153    UIActionIndexMN_M_Medium,
     154    UIActionIndexMN_M_Medium_S_Add,
     155    UIActionIndexMN_M_Medium_S_Create,
     156    UIActionIndexMN_M_Medium_S_Copy,
     157    UIActionIndexMN_M_Medium_S_Move,
     158    UIActionIndexMN_M_Medium_S_Remove,
     159    UIActionIndexMN_M_Medium_S_Release,
     160    UIActionIndexMN_M_Medium_T_Details,
     161    UIActionIndexMN_M_Medium_T_Search,
     162    UIActionIndexMN_M_Medium_S_Refresh,
    163163
    164164    /* Host Network Manager actions: */
    165     UIActionIndexST_M_NetworkWindow,
    166     UIActionIndexST_M_Network,
    167     UIActionIndexST_M_Network_S_Create,
    168     UIActionIndexST_M_Network_S_Remove,
    169     UIActionIndexST_M_Network_T_Details,
    170     UIActionIndexST_M_Network_S_Refresh,
     165    UIActionIndexMN_M_NetworkWindow,
     166    UIActionIndexMN_M_Network,
     167    UIActionIndexMN_M_Network_S_Create,
     168    UIActionIndexMN_M_Network_S_Remove,
     169    UIActionIndexMN_M_Network_T_Details,
     170    UIActionIndexMN_M_Network_S_Refresh,
    171171
    172172    /* Cloud Profile Manager actions: */
    173     UIActionIndexST_M_CloudWindow,
    174     UIActionIndexST_M_Cloud,
    175     UIActionIndexST_M_Cloud_S_Add,
    176     UIActionIndexST_M_Cloud_S_Import,
    177     UIActionIndexST_M_Cloud_S_Remove,
    178     UIActionIndexST_M_Cloud_T_Details,
    179     UIActionIndexST_M_Cloud_S_TryPage,
    180     UIActionIndexST_M_Cloud_S_Help,
     173    UIActionIndexMN_M_CloudWindow,
     174    UIActionIndexMN_M_Cloud,
     175    UIActionIndexMN_M_Cloud_S_Add,
     176    UIActionIndexMN_M_Cloud_S_Import,
     177    UIActionIndexMN_M_Cloud_S_Remove,
     178    UIActionIndexMN_M_Cloud_T_Details,
     179    UIActionIndexMN_M_Cloud_S_TryPage,
     180    UIActionIndexMN_M_Cloud_S_Help,
    181181
    182182    /* Cloud Console Manager actions: */
    183     UIActionIndexST_M_CloudConsoleWindow,
    184     UIActionIndexST_M_CloudConsole,
    185     UIActionIndexST_M_CloudConsole_S_ApplicationAdd,
    186     UIActionIndexST_M_CloudConsole_S_ApplicationRemove,
    187     UIActionIndexST_M_CloudConsole_S_ProfileAdd,
    188     UIActionIndexST_M_CloudConsole_S_ProfileRemove,
    189     UIActionIndexST_M_CloudConsole_T_Details,
     183    UIActionIndexMN_M_CloudConsoleWindow,
     184    UIActionIndexMN_M_CloudConsole,
     185    UIActionIndexMN_M_CloudConsole_S_ApplicationAdd,
     186    UIActionIndexMN_M_CloudConsole_S_ApplicationRemove,
     187    UIActionIndexMN_M_CloudConsole_S_ProfileAdd,
     188    UIActionIndexMN_M_CloudConsole_S_ProfileRemove,
     189    UIActionIndexMN_M_CloudConsole_T_Details,
    190190
    191191    /* VM resource Monitor actions: */
    192     UIActionIndexST_M_VMResourceMonitor,
    193     UIActionIndexST_M_VMResourceMonitor_M_Columns,
    194     UIActionIndexST_M_VMResourceMonitor_S_SwitchToMachinePerformance,
     192    UIActionIndexMN_M_VMResourceMonitor,
     193    UIActionIndexMN_M_VMResourceMonitor_M_Columns,
     194    UIActionIndexMN_M_VMResourceMonitor_S_SwitchToMachinePerformance,
    195195
    196196    /* Maximum index: */
    197     UIActionIndexST_Max
     197    UIActionIndexMN_Max
    198198};
    199199
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolRuntime.h

    r82968 r85597  
    3232
    3333
    34 /** Runtime action-pool index enum.
     34/** VirtualBox Runtime action-pool index enum.
    3535  * Naming convention is following:
    3636  * 1. Every menu index prepended with 'M',
  • trunk/src/VBox/Frontends/VirtualBox/src/hostnetwork/UIHostNetworkManager.cpp

    r82968 r85597  
    205205QMenu *UIHostNetworkManagerWidget::menu() const
    206206{
    207     return m_pActionPool->action(UIActionIndexST_M_NetworkWindow)->menu();
     207    return m_pActionPool->action(UIActionIndexMN_M_NetworkWindow)->menu();
    208208}
    209209
     
    638638
    639639    /* Update actions availability: */
    640     m_pActionPool->action(UIActionIndexST_M_Network_S_Remove)->setEnabled(pItem);
    641     m_pActionPool->action(UIActionIndexST_M_Network_T_Details)->setEnabled(pItem);
     640    m_pActionPool->action(UIActionIndexMN_M_Network_S_Remove)->setEnabled(pItem);
     641    m_pActionPool->action(UIActionIndexMN_M_Network_T_Details)->setEnabled(pItem);
    642642
    643643    /* If there is an item => update details data: */
     
    658658    if (m_pTreeWidget->itemAt(position))
    659659    {
    660         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Remove));
    661         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Network_T_Details));
     660        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Remove));
     661        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Network_T_Details));
    662662    }
    663663    else
    664664    {
    665         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Create));
    666 //        menu.addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Refresh));
     665        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Create));
     666//        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Refresh));
    667667    }
    668668    /* And show it: */
     
    690690{
    691691    /* First of all, add actions which has smaller shortcut scope: */
    692     addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Create));
    693     addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Remove));
    694     addAction(m_pActionPool->action(UIActionIndexST_M_Network_T_Details));
    695     addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Refresh));
     692    addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Create));
     693    addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Remove));
     694    addAction(m_pActionPool->action(UIActionIndexMN_M_Network_T_Details));
     695    addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Refresh));
    696696
    697697    /* Connect actions: */
    698     connect(m_pActionPool->action(UIActionIndexST_M_Network_S_Create), &QAction::triggered,
     698    connect(m_pActionPool->action(UIActionIndexMN_M_Network_S_Create), &QAction::triggered,
    699699            this, &UIHostNetworkManagerWidget::sltCreateHostNetwork);
    700     connect(m_pActionPool->action(UIActionIndexST_M_Network_S_Remove), &QAction::triggered,
     700    connect(m_pActionPool->action(UIActionIndexMN_M_Network_S_Remove), &QAction::triggered,
    701701            this, &UIHostNetworkManagerWidget::sltRemoveHostNetwork);
    702     connect(m_pActionPool->action(UIActionIndexST_M_Network_T_Details), &QAction::toggled,
     702    connect(m_pActionPool->action(UIActionIndexMN_M_Network_T_Details), &QAction::toggled,
    703703            this, &UIHostNetworkManagerWidget::sltToggleHostNetworkDetailsVisibility);
    704     connect(m_pActionPool->action(UIActionIndexST_M_Network_S_Refresh), &QAction::triggered,
     704    connect(m_pActionPool->action(UIActionIndexMN_M_Network_S_Refresh), &QAction::triggered,
    705705            this, &UIHostNetworkManagerWidget::sltRefreshHostNetworks);
    706706}
     
    742742
    743743        /* Add toolbar actions: */
    744         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Create));
     744        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Create));
    745745        m_pToolBar->addSeparator();
    746         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Remove));
    747         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Network_T_Details));
     746        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Remove));
     747        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Network_T_Details));
    748748//        m_pToolBar->addSeparator();
    749 //        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Network_S_Refresh));
     749//        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Network_S_Refresh));
    750750
    751751#ifdef VBOX_WS_MAC
     
    785785                this, &UIHostNetworkManagerWidget::sltHandleItemChange);
    786786        connect(m_pTreeWidget, &QITreeWidget::itemDoubleClicked,
    787                 m_pActionPool->action(UIActionIndexST_M_Network_T_Details), &QAction::setChecked);
     787                m_pActionPool->action(UIActionIndexMN_M_Network_T_Details), &QAction::setChecked);
    788788
    789789        /* Add into layout: */
     
    816816{
    817817    /* Details action/widget: */
    818     m_pActionPool->action(UIActionIndexST_M_Network_T_Details)->setChecked(gEDataManager->hostNetworkManagerDetailsExpanded());
    819     sltToggleHostNetworkDetailsVisibility(m_pActionPool->action(UIActionIndexST_M_Network_T_Details)->isChecked());
     818    m_pActionPool->action(UIActionIndexMN_M_Network_T_Details)->setChecked(gEDataManager->hostNetworkManagerDetailsExpanded());
     819    sltToggleHostNetworkDetailsVisibility(m_pActionPool->action(UIActionIndexMN_M_Network_T_Details)->isChecked());
    820820}
    821821
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp

    r85577 r85597  
    674674
    675675    /* Lock the action preventing cascade calls: */
    676     UIQObjectPropertySetter guardBlock(actionPool()->action(UIActionIndexST_M_File_S_ImportAppliance), "opened", true);
     676    UIQObjectPropertySetter guardBlock(actionPool()->action(UIActionIndexMN_M_File_S_ImportAppliance), "opened", true);
    677677    connect(&guardBlock, &UIQObjectPropertySetter::sigAboutToBeDestroyed,
    678678            this, &UIVirtualBoxManager::sltHandleUpdateActionAppearanceRequest);
     
    700700
    701701    /* Lock the actions preventing cascade calls: */
    702     UIQObjectPropertySetter guardBlock(QList<QObject*>() << actionPool()->action(UIActionIndexST_M_File_S_ExportAppliance)
    703                                                          << actionPool()->action(UIActionIndexST_M_Machine_S_ExportToOCI),
     702    UIQObjectPropertySetter guardBlock(QList<QObject*>() << actionPool()->action(UIActionIndexMN_M_File_S_ExportAppliance)
     703                                                         << actionPool()->action(UIActionIndexMN_M_Machine_S_ExportToOCI),
    704704                                       "opened", true);
    705705    connect(&guardBlock, &UIQObjectPropertySetter::sigAboutToBeDestroyed,
     
    714714    UISafePointerWizard pWizard = new UIWizardExportApp(pWizardParent, names,
    715715                                                        pAction &&
    716                                                         pAction == actionPool()->action(UIActionIndexST_M_Machine_S_ExportToOCI));
     716                                                        pAction == actionPool()->action(UIActionIndexMN_M_Machine_S_ExportToOCI));
    717717    windowManager().registerNewParent(pWizard, pWizardParent);
    718718    pWizard->prepare();
     
    724724{
    725725    /* Lock the action preventing cascade calls: */
    726     UIQObjectPropertySetter guardBlock(actionPool()->action(UIActionIndexST_M_File_S_NewCloudVM), "opened", true);
     726    UIQObjectPropertySetter guardBlock(actionPool()->action(UIActionIndexMN_M_File_S_NewCloudVM), "opened", true);
    727727    connect(&guardBlock, &UIQObjectPropertySetter::sigAboutToBeDestroyed,
    728728            this, &UIVirtualBoxManager::sltHandleUpdateActionAppearanceRequest);
     
    775775{
    776776    /* Lock the actions preventing cascade calls: */
    777     UIQObjectPropertySetter guardBlock(QList<QObject*>() << actionPool()->action(UIActionIndexST_M_Welcome_S_New)
    778                                                          << actionPool()->action(UIActionIndexST_M_Machine_S_New)
    779                                                          << actionPool()->action(UIActionIndexST_M_Group_S_New),
     777    UIQObjectPropertySetter guardBlock(QList<QObject*>() << actionPool()->action(UIActionIndexMN_M_Welcome_S_New)
     778                                                         << actionPool()->action(UIActionIndexMN_M_Machine_S_New)
     779                                                         << actionPool()->action(UIActionIndexMN_M_Group_S_New),
    780780                                       "opened", true);
    781781    connect(&guardBlock, &UIQObjectPropertySetter::sigAboutToBeDestroyed,
     
    836836{
    837837    /* Lock the actions preventing cascade calls: */
    838     UIQObjectPropertySetter guardBlock(QList<QObject*>() << actionPool()->action(UIActionIndexST_M_Welcome_S_Add)
    839                                                          << actionPool()->action(UIActionIndexST_M_Machine_S_Add)
    840                                                          << actionPool()->action(UIActionIndexST_M_Group_S_Add),
     838    UIQObjectPropertySetter guardBlock(QList<QObject*>() << actionPool()->action(UIActionIndexMN_M_Welcome_S_Add)
     839                                                         << actionPool()->action(UIActionIndexMN_M_Machine_S_Add)
     840                                                         << actionPool()->action(UIActionIndexMN_M_Group_S_Add),
    841841                                       "opened", true);
    842842    connect(&guardBlock, &UIQObjectPropertySetter::sigAboutToBeDestroyed,
     
    884884{
    885885    /* Lock the action preventing cascade calls: */
    886     UIQObjectPropertySetter guardBlock(actionPool()->action(UIActionIndexST_M_Machine_S_Settings), "opened", true);
     886    UIQObjectPropertySetter guardBlock(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings), "opened", true);
    887887    connect(&guardBlock, &UIQObjectPropertySetter::sigAboutToBeDestroyed,
    888888            this, &UIVirtualBoxManager::sltHandleUpdateActionAppearanceRequest);
     
    14051405    foreach (UIVirtualMachineItem *pItem, items)
    14061406    {
    1407         if (isActionEnabled(UIActionIndexST_M_Group_S_Discard, QList<UIVirtualMachineItem*>() << pItem))
     1407        if (isActionEnabled(UIActionIndexMN_M_Group_S_Discard, QList<UIVirtualMachineItem*>() << pItem))
    14081408        {
    14091409            if (pItem->itemType() == UIVirtualMachineItemType_Local)
     
    14941494
    14951495        /* Check if current item could be paused/resumed: */
    1496         if (!isActionEnabled(UIActionIndexST_M_Group_T_Pause, QList<UIVirtualMachineItem*>() << pItem))
     1496        if (!isActionEnabled(UIActionIndexMN_M_Group_T_Pause, QList<UIVirtualMachineItem*>() << pItem))
    14971497            continue;
    14981498
     
    15461546    foreach (UIVirtualMachineItem *pItem, items)
    15471547    {
    1548         if (isActionEnabled(UIActionIndexST_M_Group_S_Reset, QList<UIVirtualMachineItem*>() << pItem))
     1548        if (isActionEnabled(UIActionIndexMN_M_Group_S_Reset, QList<UIVirtualMachineItem*>() << pItem))
    15491549        {
    15501550            machineNames << pItem->name();
     
    15861586    {
    15871587        /* Check if current item could be detached: */
    1588         if (!isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_Detach, QList<UIVirtualMachineItem*>() << pItem))
     1588        if (!isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_Detach, QList<UIVirtualMachineItem*>() << pItem))
    15891589            continue;
    15901590
     
    16051605        /* Check if current item could be saved: */
    16061606        AssertPtrReturnVoid(pItem);
    1607         if (!isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_SaveState, QList<UIVirtualMachineItem*>() << pItem))
     1607        if (!isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_SaveState, QList<UIVirtualMachineItem*>() << pItem))
    16081608            continue;
    16091609
     
    16591659    foreach (UIVirtualMachineItem *pItem, items)
    16601660    {
    1661         if (isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_Shutdown, QList<UIVirtualMachineItem*>() << pItem))
     1661        if (isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_Shutdown, QList<UIVirtualMachineItem*>() << pItem))
    16621662        {
    16631663            machineNames << pItem->name();
     
    17251725    foreach (UIVirtualMachineItem *pItem, items)
    17261726    {
    1727         if (isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_PowerOff, QList<UIVirtualMachineItem*>() << pItem))
     1727        if (isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_PowerOff, QList<UIVirtualMachineItem*>() << pItem))
    17281728        {
    17291729            machineNames << pItem->name();
     
    18161816
    18171817        /* Check if log could be show for the current item: */
    1818         if (!isActionEnabled(UIActionIndexST_M_Group_S_ShowLogDialog, QList<UIVirtualMachineItem*>() << pItem))
     1818        if (!isActionEnabled(UIActionIndexMN_M_Group_S_ShowLogDialog, QList<UIVirtualMachineItem*>() << pItem))
    18191819            continue;
    18201820
     
    19141914
    19151915        /* Check if that item could be shown in file-browser: */
    1916         if (!isActionEnabled(UIActionIndexST_M_Group_S_ShowInFileManager, QList<UIVirtualMachineItem*>() << pItem))
     1916        if (!isActionEnabled(UIActionIndexMN_M_Group_S_ShowInFileManager, QList<UIVirtualMachineItem*>() << pItem))
    19171917            continue;
    19181918
     
    19371937
    19381938        /* Check if shortcuts could be created for this item: */
    1939         if (!isActionEnabled(UIActionIndexST_M_Group_S_CreateShortcut, QList<UIVirtualMachineItem*>() << pItem))
     1939        if (!isActionEnabled(UIActionIndexMN_M_Group_S_CreateShortcut, QList<UIVirtualMachineItem*>() << pItem))
    19401940            continue;
    19411941
     
    20422042
    20432043    /* Prepare menu update-handlers: */
    2044     m_menuUpdateHandlers[UIActionIndexST_M_Group] = &UIVirtualBoxManager::updateMenuGroup;
    2045     m_menuUpdateHandlers[UIActionIndexST_M_Machine] = &UIVirtualBoxManager::updateMenuMachine;
    2046     m_menuUpdateHandlers[UIActionIndexST_M_Group_M_MoveToGroup] = &UIVirtualBoxManager::updateMenuGroupMoveToGroup;
    2047     m_menuUpdateHandlers[UIActionIndexST_M_Group_M_Console] = &UIVirtualBoxManager::updateMenuGroupConsole;
    2048     m_menuUpdateHandlers[UIActionIndexST_M_Group_M_Close] = &UIVirtualBoxManager::updateMenuGroupClose;
    2049     m_menuUpdateHandlers[UIActionIndexST_M_Machine_M_MoveToGroup] = &UIVirtualBoxManager::updateMenuMachineMoveToGroup;
    2050     m_menuUpdateHandlers[UIActionIndexST_M_Machine_M_Console] = &UIVirtualBoxManager::updateMenuMachineConsole;
    2051     m_menuUpdateHandlers[UIActionIndexST_M_Machine_M_Close] = &UIVirtualBoxManager::updateMenuMachineClose;
     2044    m_menuUpdateHandlers[UIActionIndexMN_M_Group] = &UIVirtualBoxManager::updateMenuGroup;
     2045    m_menuUpdateHandlers[UIActionIndexMN_M_Machine] = &UIVirtualBoxManager::updateMenuMachine;
     2046    m_menuUpdateHandlers[UIActionIndexMN_M_Group_M_MoveToGroup] = &UIVirtualBoxManager::updateMenuGroupMoveToGroup;
     2047    m_menuUpdateHandlers[UIActionIndexMN_M_Group_M_Console] = &UIVirtualBoxManager::updateMenuGroupConsole;
     2048    m_menuUpdateHandlers[UIActionIndexMN_M_Group_M_Close] = &UIVirtualBoxManager::updateMenuGroupClose;
     2049    m_menuUpdateHandlers[UIActionIndexMN_M_Machine_M_MoveToGroup] = &UIVirtualBoxManager::updateMenuMachineMoveToGroup;
     2050    m_menuUpdateHandlers[UIActionIndexMN_M_Machine_M_Console] = &UIVirtualBoxManager::updateMenuMachineConsole;
     2051    m_menuUpdateHandlers[UIActionIndexMN_M_Machine_M_Close] = &UIVirtualBoxManager::updateMenuMachineClose;
    20522052
    20532053    /* Build menu-bar: */
     
    21272127
    21282128    /* 'File' menu connections: */
    2129     connect(actionPool()->action(UIActionIndexST_M_File_S_ShowVirtualMediumManager), &UIAction::triggered,
     2129    connect(actionPool()->action(UIActionIndexMN_M_File_S_ShowVirtualMediumManager), &UIAction::triggered,
    21302130            this, &UIVirtualBoxManager::sltOpenVirtualMediumManagerWindow);
    2131     connect(actionPool()->action(UIActionIndexST_M_File_S_ShowHostNetworkManager), &UIAction::triggered,
     2131    connect(actionPool()->action(UIActionIndexMN_M_File_S_ShowHostNetworkManager), &UIAction::triggered,
    21322132            this, &UIVirtualBoxManager::sltOpenHostNetworkManagerWindow);
    2133     connect(actionPool()->action(UIActionIndexST_M_File_S_ShowCloudProfileManager), &UIAction::triggered,
     2133    connect(actionPool()->action(UIActionIndexMN_M_File_S_ShowCloudProfileManager), &UIAction::triggered,
    21342134            this, &UIVirtualBoxManager::sltOpenCloudProfileManagerWindow);
    2135     connect(actionPool()->action(UIActionIndexST_M_File_S_ImportAppliance), &UIAction::triggered,
     2135    connect(actionPool()->action(UIActionIndexMN_M_File_S_ImportAppliance), &UIAction::triggered,
    21362136            this, &UIVirtualBoxManager::sltOpenImportApplianceWizardDefault);
    2137     connect(actionPool()->action(UIActionIndexST_M_File_S_ExportAppliance), &UIAction::triggered,
     2137    connect(actionPool()->action(UIActionIndexMN_M_File_S_ExportAppliance), &UIAction::triggered,
    21382138            this, &UIVirtualBoxManager::sltOpenExportApplianceWizard);
    2139     connect(actionPool()->action(UIActionIndexST_M_File_S_NewCloudVM), &UIAction::triggered,
     2139    connect(actionPool()->action(UIActionIndexMN_M_File_S_NewCloudVM), &UIAction::triggered,
    21402140            this, &UIVirtualBoxManager::sltOpenNewCloudVMWizard);
    21412141#ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    2142     connect(actionPool()->action(UIActionIndexST_M_File_S_ShowExtraDataManager), &UIAction::triggered,
     2142    connect(actionPool()->action(UIActionIndexMN_M_File_S_ShowExtraDataManager), &UIAction::triggered,
    21432143            this, &UIVirtualBoxManager::sltOpenExtraDataManagerWindow);
    21442144#endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
    21452145    connect(actionPool()->action(UIActionIndex_M_Application_S_Preferences), &UIAction::triggered,
    21462146            this, &UIVirtualBoxManager::sltOpenPreferencesDialog);
    2147     connect(actionPool()->action(UIActionIndexST_M_File_S_Close), &UIAction::triggered,
     2147    connect(actionPool()->action(UIActionIndexMN_M_File_S_Close), &UIAction::triggered,
    21482148            this, &UIVirtualBoxManager::sltPerformExit);
    21492149
    21502150    /* 'Welcome' menu connections: */
    2151     connect(actionPool()->action(UIActionIndexST_M_Welcome_S_New), &UIAction::triggered,
     2151    connect(actionPool()->action(UIActionIndexMN_M_Welcome_S_New), &UIAction::triggered,
    21522152            this, &UIVirtualBoxManager::sltOpenNewMachineWizard);
    2153     connect(actionPool()->action(UIActionIndexST_M_Welcome_S_Add), &UIAction::triggered,
     2153    connect(actionPool()->action(UIActionIndexMN_M_Welcome_S_Add), &UIAction::triggered,
    21542154            this, &UIVirtualBoxManager::sltOpenAddMachineDialog);
    21552155
    21562156    /* 'Group' menu connections: */
    2157     connect(actionPool()->action(UIActionIndexST_M_Group_S_New), &UIAction::triggered,
     2157    connect(actionPool()->action(UIActionIndexMN_M_Group_S_New), &UIAction::triggered,
    21582158            this, &UIVirtualBoxManager::sltOpenNewMachineWizard);
    2159     connect(actionPool()->action(UIActionIndexST_M_Group_S_Add), &UIAction::triggered,
     2159    connect(actionPool()->action(UIActionIndexMN_M_Group_S_Add), &UIAction::triggered,
    21602160            this, &UIVirtualBoxManager::sltOpenAddMachineDialog);
    2161     connect(actionPool()->action(UIActionIndexST_M_Group_S_Rename), &UIAction::triggered,
     2161    connect(actionPool()->action(UIActionIndexMN_M_Group_S_Rename), &UIAction::triggered,
    21622162            this, &UIVirtualBoxManager::sltOpenGroupNameEditor);
    2163     connect(actionPool()->action(UIActionIndexST_M_Group_S_Remove), &UIAction::triggered,
     2163    connect(actionPool()->action(UIActionIndexMN_M_Group_S_Remove), &UIAction::triggered,
    21642164            this, &UIVirtualBoxManager::sltDisbandGroup);
    2165     connect(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow), &UIAction::triggered,
     2165    connect(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow), &UIAction::triggered,
    21662166            this, &UIVirtualBoxManager::sltPerformStartOrShowMachine);
    2167     connect(actionPool()->action(UIActionIndexST_M_Group_T_Pause), &UIAction::toggled,
     2167    connect(actionPool()->action(UIActionIndexMN_M_Group_T_Pause), &UIAction::toggled,
    21682168            this, &UIVirtualBoxManager::sltPerformPauseOrResumeMachine);
    2169     connect(actionPool()->action(UIActionIndexST_M_Group_S_Reset), &UIAction::triggered,
     2169    connect(actionPool()->action(UIActionIndexMN_M_Group_S_Reset), &UIAction::triggered,
    21702170            this, &UIVirtualBoxManager::sltPerformResetMachine);
    2171     connect(actionPool()->action(UIActionIndexST_M_Group_S_Discard), &UIAction::triggered,
     2171    connect(actionPool()->action(UIActionIndexMN_M_Group_S_Discard), &UIAction::triggered,
    21722172            this, &UIVirtualBoxManager::sltPerformDiscardMachineState);
    2173     connect(actionPool()->action(UIActionIndexST_M_Group_S_ShowLogDialog), &UIAction::triggered,
     2173    connect(actionPool()->action(UIActionIndexMN_M_Group_S_ShowLogDialog), &UIAction::triggered,
    21742174            this, &UIVirtualBoxManager::sltOpenLogViewerWindow);
    2175     connect(actionPool()->action(UIActionIndexST_M_Group_S_Refresh), &UIAction::triggered,
     2175    connect(actionPool()->action(UIActionIndexMN_M_Group_S_Refresh), &UIAction::triggered,
    21762176            this, &UIVirtualBoxManager::sltPerformRefreshMachine);
    2177     connect(actionPool()->action(UIActionIndexST_M_Group_S_ShowInFileManager), &UIAction::triggered,
     2177    connect(actionPool()->action(UIActionIndexMN_M_Group_S_ShowInFileManager), &UIAction::triggered,
    21782178            this, &UIVirtualBoxManager::sltShowMachineInFileManager);
    2179     connect(actionPool()->action(UIActionIndexST_M_Group_S_CreateShortcut), &UIAction::triggered,
     2179    connect(actionPool()->action(UIActionIndexMN_M_Group_S_CreateShortcut), &UIAction::triggered,
    21802180            this, &UIVirtualBoxManager::sltPerformCreateMachineShortcut);
    2181     connect(actionPool()->action(UIActionIndexST_M_Group_S_Sort), &UIAction::triggered,
     2181    connect(actionPool()->action(UIActionIndexMN_M_Group_S_Sort), &UIAction::triggered,
    21822182            this, &UIVirtualBoxManager::sltPerformGroupSorting);
    21832183
    21842184    /* 'Machine' menu connections: */
    2185     connect(actionPool()->action(UIActionIndexST_M_Machine_S_New), &UIAction::triggered,
     2185    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_New), &UIAction::triggered,
    21862186            this, &UIVirtualBoxManager::sltOpenNewMachineWizard);
    2187     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Add), &UIAction::triggered,
     2187    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Add), &UIAction::triggered,
    21882188            this, &UIVirtualBoxManager::sltOpenAddMachineDialog);
    2189     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Settings), &UIAction::triggered,
     2189    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings), &UIAction::triggered,
    21902190            this, &UIVirtualBoxManager::sltOpenMachineSettingsDialogDefault);
    2191     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Clone), &UIAction::triggered,
     2191    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Clone), &UIAction::triggered,
    21922192            this, &UIVirtualBoxManager::sltOpenCloneMachineWizard);
    2193     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Move), &UIAction::triggered,
     2193    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Move), &UIAction::triggered,
    21942194            this, &UIVirtualBoxManager::sltPerformMachineMove);
    2195     connect(actionPool()->action(UIActionIndexST_M_Machine_S_ExportToOCI), &UIAction::triggered,
     2195    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_ExportToOCI), &UIAction::triggered,
    21962196            this, &UIVirtualBoxManager::sltOpenExportApplianceWizard);
    2197     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Remove), &UIAction::triggered,
     2197    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Remove), &UIAction::triggered,
    21982198            this, &UIVirtualBoxManager::sltPerformMachineRemove);
    2199     connect(actionPool()->action(UIActionIndexST_M_Machine_M_MoveToGroup_S_New), &UIAction::triggered,
     2199    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_MoveToGroup_S_New), &UIAction::triggered,
    22002200            this, &UIVirtualBoxManager::sltPerformMachineMoveToNewGroup);
    2201     connect(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow), &UIAction::triggered,
     2201    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow), &UIAction::triggered,
    22022202            this, &UIVirtualBoxManager::sltPerformStartOrShowMachine);
    2203     connect(actionPool()->action(UIActionIndexST_M_Machine_T_Pause), &UIAction::toggled,
     2203    connect(actionPool()->action(UIActionIndexMN_M_Machine_T_Pause), &UIAction::toggled,
    22042204            this, &UIVirtualBoxManager::sltPerformPauseOrResumeMachine);
    2205     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Reset), &UIAction::triggered,
     2205    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Reset), &UIAction::triggered,
    22062206            this, &UIVirtualBoxManager::sltPerformResetMachine);
    2207     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Discard), &UIAction::triggered,
     2207    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard), &UIAction::triggered,
    22082208            this, &UIVirtualBoxManager::sltPerformDiscardMachineState);
    2209     connect(actionPool()->action(UIActionIndexST_M_Machine_S_ShowLogDialog), &UIAction::triggered,
     2209    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_ShowLogDialog), &UIAction::triggered,
    22102210            this, &UIVirtualBoxManager::sltOpenLogViewerWindow);
    2211     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Refresh), &UIAction::triggered,
     2211    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Refresh), &UIAction::triggered,
    22122212            this, &UIVirtualBoxManager::sltPerformRefreshMachine);
    2213     connect(actionPool()->action(UIActionIndexST_M_Machine_S_ShowInFileManager), &UIAction::triggered,
     2213    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_ShowInFileManager), &UIAction::triggered,
    22142214            this, &UIVirtualBoxManager::sltShowMachineInFileManager);
    2215     connect(actionPool()->action(UIActionIndexST_M_Machine_S_CreateShortcut), &UIAction::triggered,
     2215    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_CreateShortcut), &UIAction::triggered,
    22162216            this, &UIVirtualBoxManager::sltPerformCreateMachineShortcut);
    2217     connect(actionPool()->action(UIActionIndexST_M_Machine_S_SortParent), &UIAction::triggered,
     2217    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_SortParent), &UIAction::triggered,
    22182218            this, &UIVirtualBoxManager::sltPerformGroupSorting);
    2219     connect(actionPool()->action(UIActionIndexST_M_Machine_T_Search), &UIAction::toggled,
     2219    connect(actionPool()->action(UIActionIndexMN_M_Machine_T_Search), &UIAction::toggled,
    22202220            this, &UIVirtualBoxManager::sltPerformMachineSearchWidgetVisibilityToggling);
    22212221    connect(m_pWidget, &UIVirtualBoxManagerWidget::sigMachineSearchWidgetVisibilityChanged,
    2222             actionPool()->action(UIActionIndexST_M_Machine_T_Search), &QAction::setChecked);
     2222            actionPool()->action(UIActionIndexMN_M_Machine_T_Search), &QAction::setChecked);
    22232223
    22242224    /* 'Group/Start or Show' menu connections: */
    2225     connect(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow_S_StartNormal), &UIAction::triggered,
     2225    connect(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartNormal), &UIAction::triggered,
    22262226            this, &UIVirtualBoxManager::sltPerformStartMachineNormal);
    2227     connect(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow_S_StartHeadless), &UIAction::triggered,
     2227    connect(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartHeadless), &UIAction::triggered,
    22282228            this, &UIVirtualBoxManager::sltPerformStartMachineHeadless);
    2229     connect(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow_S_StartDetachable), &UIAction::triggered,
     2229    connect(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartDetachable), &UIAction::triggered,
    22302230            this, &UIVirtualBoxManager::sltPerformStartMachineDetachable);
    22312231
    22322232    /* 'Machine/Start or Show' menu connections: */
    2233     connect(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartNormal), &UIAction::triggered,
     2233    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartNormal), &UIAction::triggered,
    22342234            this, &UIVirtualBoxManager::sltPerformStartMachineNormal);
    2235     connect(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartHeadless), &UIAction::triggered,
     2235    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartHeadless), &UIAction::triggered,
    22362236            this, &UIVirtualBoxManager::sltPerformStartMachineHeadless);
    2237     connect(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartDetachable), &UIAction::triggered,
     2237    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartDetachable), &UIAction::triggered,
    22382238            this, &UIVirtualBoxManager::sltPerformStartMachineDetachable);
    22392239
    22402240    /* 'Group/Console' menu connections: */
    2241     connect(actionPool()->action(UIActionIndexST_M_Group_M_Console_S_CreateConnection), &UIAction::triggered,
     2241    connect(actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_CreateConnection), &UIAction::triggered,
    22422242            this, &UIVirtualBoxManager::sltPerformCreateConsoleConnectionForGroup);
    2243     connect(actionPool()->action(UIActionIndexST_M_Group_M_Console_S_DeleteConnection), &UIAction::triggered,
     2243    connect(actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_DeleteConnection), &UIAction::triggered,
    22442244            this, &UIVirtualBoxManager::sltPerformDeleteConsoleConnectionForGroup);
    2245     connect(actionPool()->action(UIActionIndexST_M_Group_M_Console_S_ConfigureApplications), &UIAction::triggered,
     2245    connect(actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_ConfigureApplications), &UIAction::triggered,
    22462246            this, &UIVirtualBoxManager::sltOpenCloudConsoleManagerWindow);
    22472247
    22482248    /* 'Machine/Console' menu connections: */
    2249     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CreateConnection), &UIAction::triggered,
     2249    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CreateConnection), &UIAction::triggered,
    22502250            this, &UIVirtualBoxManager::sltPerformCreateConsoleConnectionForMachine);
    2251     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_DeleteConnection), &UIAction::triggered,
     2251    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_DeleteConnection), &UIAction::triggered,
    22522252            this, &UIVirtualBoxManager::sltPerformDeleteConsoleConnectionForMachine);
    2253     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialUnix), &UIAction::triggered,
     2253    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialUnix), &UIAction::triggered,
    22542254            this, &UIVirtualBoxManager::sltPerformCopyCommandSerialUnix);
    2255     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialWindows), &UIAction::triggered,
     2255    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialWindows), &UIAction::triggered,
    22562256            this, &UIVirtualBoxManager::sltPerformCopyCommandSerialWindows);
    2257     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCUnix), &UIAction::triggered,
     2257    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCUnix), &UIAction::triggered,
    22582258            this, &UIVirtualBoxManager::sltPerformCopyCommandVNCUnix);
    2259     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCWindows), &UIAction::triggered,
     2259    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCWindows), &UIAction::triggered,
    22602260            this, &UIVirtualBoxManager::sltPerformCopyCommandVNCWindows);
    2261     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_ConfigureApplications), &UIAction::triggered,
     2261    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_ConfigureApplications), &UIAction::triggered,
    22622262            this, &UIVirtualBoxManager::sltOpenCloudConsoleManagerWindow);
    22632263
    22642264    /* 'Group/Close' menu connections: */
    2265     connect(actionPool()->action(UIActionIndexST_M_Group_M_Close_S_Detach), &UIAction::triggered,
     2265    connect(actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_Detach), &UIAction::triggered,
    22662266            this, &UIVirtualBoxManager::sltPerformDetachMachineUI);
    2267     connect(actionPool()->action(UIActionIndexST_M_Group_M_Close_S_SaveState), &UIAction::triggered,
     2267    connect(actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_SaveState), &UIAction::triggered,
    22682268            this, &UIVirtualBoxManager::sltPerformSaveMachineState);
    2269     connect(actionPool()->action(UIActionIndexST_M_Group_M_Close_S_Shutdown), &UIAction::triggered,
     2269    connect(actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_Shutdown), &UIAction::triggered,
    22702270            this, &UIVirtualBoxManager::sltPerformShutdownMachine);
    2271     connect(actionPool()->action(UIActionIndexST_M_Group_M_Close_S_PowerOff), &UIAction::triggered,
     2271    connect(actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_PowerOff), &UIAction::triggered,
    22722272            this, &UIVirtualBoxManager::sltPerformPowerOffMachine);
    22732273
    22742274    /* 'Machine/Close' menu connections: */
    2275     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_Detach), &UIAction::triggered,
     2275    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_Detach), &UIAction::triggered,
    22762276            this, &UIVirtualBoxManager::sltPerformDetachMachineUI);
    2277     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_SaveState), &UIAction::triggered,
     2277    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_SaveState), &UIAction::triggered,
    22782278            this, &UIVirtualBoxManager::sltPerformSaveMachineState);
    2279     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_Shutdown), &UIAction::triggered,
     2279    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_Shutdown), &UIAction::triggered,
    22802280            this, &UIVirtualBoxManager::sltPerformShutdownMachine);
    2281     connect(actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_PowerOff), &UIAction::triggered,
     2281    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_PowerOff), &UIAction::triggered,
    22822282            this, &UIVirtualBoxManager::sltPerformPowerOffMachine);
    22832283
    22842284    /* 'Group/Tools' menu connections: */
    2285     connect(actionPool()->actionGroup(UIActionIndexST_M_Group_M_Tools), &QActionGroup::triggered,
     2285    connect(actionPool()->actionGroup(UIActionIndexMN_M_Group_M_Tools), &QActionGroup::triggered,
    22862286            this, &UIVirtualBoxManager::sltPerformShowMachineTool);
    22872287
    22882288    /* 'Machine/Tools' menu connections: */
    2289     connect(actionPool()->actionGroup(UIActionIndexST_M_Machine_M_Tools), &QActionGroup::triggered,
     2289    connect(actionPool()->actionGroup(UIActionIndexMN_M_Machine_M_Tools), &QActionGroup::triggered,
    22902290            this, &UIVirtualBoxManager::sltPerformShowMachineTool);
    22912291}
     
    26202620    {
    26212621        /* Populate Group-menu: */
    2622         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_New));
    2623         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Add));
     2622        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_New));
     2623        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Add));
    26242624        pMenu->addSeparator();
    2625         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Rename));
    2626         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Remove));
    2627         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_M_MoveToGroup));
     2625        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Rename));
     2626        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Remove));
     2627        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_MoveToGroup));
    26282628        pMenu->addSeparator();
    2629         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow));
    2630         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_T_Pause));
    2631         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Reset));
    2632         pMenu->addMenu(actionPool()->action(UIActionIndexST_M_Group_M_Close)->menu());
     2629        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow));
     2630        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_T_Pause));
     2631        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Reset));
     2632        pMenu->addMenu(actionPool()->action(UIActionIndexMN_M_Group_M_Close)->menu());
    26332633        pMenu->addSeparator();
    2634         pMenu->addMenu(actionPool()->action(UIActionIndexST_M_Group_M_Tools)->menu());
     2634        pMenu->addMenu(actionPool()->action(UIActionIndexMN_M_Group_M_Tools)->menu());
    26352635        pMenu->addSeparator();
    2636         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Discard));
    2637         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_ShowLogDialog));
    2638         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Refresh));
     2636        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Discard));
     2637        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_ShowLogDialog));
     2638        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Refresh));
    26392639        pMenu->addSeparator();
    2640         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_ShowInFileManager));
    2641         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_CreateShortcut));
     2640        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_ShowInFileManager));
     2641        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_CreateShortcut));
    26422642        pMenu->addSeparator();
    2643         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Sort));
     2643        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Sort));
    26442644    }
    26452645    else
    26462646    {
    26472647        /* Populate Group-menu: */
    2648         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_New));
    2649         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Add));
     2648        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_New));
     2649        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Add));
    26502650        pMenu->addSeparator();
    2651         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow));
    2652         pMenu->addMenu(actionPool()->action(UIActionIndexST_M_Group_M_Console)->menu());
    2653         pMenu->addMenu(actionPool()->action(UIActionIndexST_M_Group_M_Close)->menu());
     2651        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow));
     2652        pMenu->addMenu(actionPool()->action(UIActionIndexMN_M_Group_M_Console)->menu());
     2653        pMenu->addMenu(actionPool()->action(UIActionIndexMN_M_Group_M_Close)->menu());
    26542654        pMenu->addSeparator();
    2655         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Discard));
    2656         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Refresh));
     2655        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Discard));
     2656        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Refresh));
    26572657        pMenu->addSeparator();
    2658         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Sort));
     2658        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Sort));
    26592659    }
    26602660}
     
    26702670    {
    26712671        /* Populate Machine-menu: */
    2672         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_New));
    2673         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Add));
     2672        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_New));
     2673        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Add));
    26742674        pMenu->addSeparator();
    2675         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Settings));
    2676         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Clone));
    2677         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Move));
    2678         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_ExportToOCI));
    2679         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Remove));
    2680         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_MoveToGroup));
     2675        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings));
     2676        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Clone));
     2677        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Move));
     2678        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_ExportToOCI));
     2679        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Remove));
     2680        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_MoveToGroup));
    26812681        pMenu->addSeparator();
    2682         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow));
    2683         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_T_Pause));
    2684         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Reset));
    2685         pMenu->addMenu(actionPool()->action(UIActionIndexST_M_Machine_M_Close)->menu());
     2682        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow));
     2683        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_T_Pause));
     2684        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Reset));
     2685        pMenu->addMenu(actionPool()->action(UIActionIndexMN_M_Machine_M_Close)->menu());
    26862686        pMenu->addSeparator();
    2687         pMenu->addMenu(actionPool()->action(UIActionIndexST_M_Machine_M_Tools)->menu());
     2687        pMenu->addMenu(actionPool()->action(UIActionIndexMN_M_Machine_M_Tools)->menu());
    26882688        pMenu->addSeparator();
    2689         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Discard));
    2690         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_ShowLogDialog));
    2691         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Refresh));
     2689        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard));
     2690        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_ShowLogDialog));
     2691        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Refresh));
    26922692        pMenu->addSeparator();
    2693         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_ShowInFileManager));
    2694         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_CreateShortcut));
     2693        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_ShowInFileManager));
     2694        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_CreateShortcut));
    26952695        pMenu->addSeparator();
    2696         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_SortParent));
    2697         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_T_Search));
     2696        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_SortParent));
     2697        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_T_Search));
    26982698    }
    26992699    else
    27002700    {
    27012701        /* Populate Machine-menu: */
    2702         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_New));
    2703         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Add));
     2702        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_New));
     2703        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Add));
    27042704        pMenu->addSeparator();
    2705         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Settings));
    2706         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Remove));
     2705        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings));
     2706        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Remove));
    27072707        pMenu->addSeparator();
    2708         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow));
    2709         pMenu->addMenu(actionPool()->action(UIActionIndexST_M_Machine_M_Console)->menu());
    2710         pMenu->addMenu(actionPool()->action(UIActionIndexST_M_Machine_M_Close)->menu());
     2708        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow));
     2709        pMenu->addMenu(actionPool()->action(UIActionIndexMN_M_Machine_M_Console)->menu());
     2710        pMenu->addMenu(actionPool()->action(UIActionIndexMN_M_Machine_M_Close)->menu());
    27112711        pMenu->addSeparator();
    2712         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Discard));
    2713         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Refresh));
     2712        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard));
     2713        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Refresh));
    27142714        pMenu->addSeparator();
    2715         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_SortParent));
    2716         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_T_Search));
     2715        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_SortParent));
     2716        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_T_Search));
    27172717    }
    27182718}
     
    27382738{
    27392739    /* Populate 'Group' / 'Console' menu: */
    2740     pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_M_Console_S_CreateConnection));
    2741     pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_M_Console_S_DeleteConnection));
     2740    pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_CreateConnection));
     2741    pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_DeleteConnection));
    27422742    pMenu->addSeparator();
    2743     pMenu->addAction(actionPool()->action(UIActionIndexST_M_Group_M_Console_S_ConfigureApplications));
     2743    pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_ConfigureApplications));
    27442744}
    27452745
     
    27502750    AssertMsgReturnVoid(!items.isEmpty(), ("At least one item should be selected!\n"));
    27512751
    2752     actionPool()->action(UIActionIndexST_M_Group_M_Close_S_Shutdown)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Close_S_Shutdown, items));
     2752    actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_Shutdown)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Close_S_Shutdown, items));
    27532753}
    27542754
     
    27882788    /* Populate 'Group' / 'Console' menu: */
    27892789    if (strFingerprint.isEmpty())
    2790         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CreateConnection));
     2790        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CreateConnection));
    27912791    else
    27922792    {
     
    28022802
    28032803        /* Copy command to clipboard actions: */
    2804         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialUnix));
    2805         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialWindows));
    2806         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCUnix));
    2807         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCWindows));
     2804        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialUnix));
     2805        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialWindows));
     2806        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCUnix));
     2807        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCWindows));
    28082808        pMenu->addSeparator();
    28092809
     
    28592859        }
    28602860        /* Terminal application configuration tool: */
    2861         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_ConfigureApplications));
     2861        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_ConfigureApplications));
    28622862        pMenu->addSeparator();
    28632863
    28642864        /* Delete connection action finally: */
    2865         pMenu->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_DeleteConnection));
     2865        pMenu->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_DeleteConnection));
    28662866    }
    28672867}
     
    28732873    AssertMsgReturnVoid(!items.isEmpty(), ("At least one item should be selected!\n"));
    28742874
    2875     actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_Shutdown)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_Shutdown, items));
     2875    actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_Shutdown)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_Shutdown, items));
    28762876}
    28772877
     
    28822882    const bool fGroupMenuShown   = m_pWidget->isGroupItemSelected()   &&  isSingleGroupSelected();
    28832883    const bool fMachineMenuShown = m_pWidget->isMachineItemSelected() && !isSingleGroupSelected();
    2884     actionPool()->action(UIActionIndexST_M_Welcome)->setVisible(fGlobalMenuShown);
    2885     actionPool()->action(UIActionIndexST_M_Group)->setVisible(fGroupMenuShown);
    2886     actionPool()->action(UIActionIndexST_M_Machine)->setVisible(fMachineMenuShown);
     2884    actionPool()->action(UIActionIndexMN_M_Welcome)->setVisible(fGlobalMenuShown);
     2885    actionPool()->action(UIActionIndexMN_M_Group)->setVisible(fGroupMenuShown);
     2886    actionPool()->action(UIActionIndexMN_M_Machine)->setVisible(fMachineMenuShown);
    28872887
    28882888    /* Determine whether Media menu should be visible: */
    28892889    const bool fMediumMenuShown = fGlobalMenuShown && m_pWidget->currentGlobalTool() == UIToolType_Media;
    2890     actionPool()->action(UIActionIndexST_M_Medium)->setVisible(fMediumMenuShown);
     2890    actionPool()->action(UIActionIndexMN_M_Medium)->setVisible(fMediumMenuShown);
    28912891    /* Determine whether Network menu should be visible: */
    28922892    const bool fNetworkMenuShown = fGlobalMenuShown && m_pWidget->currentGlobalTool() == UIToolType_Network;
    2893     actionPool()->action(UIActionIndexST_M_Network)->setVisible(fNetworkMenuShown);
     2893    actionPool()->action(UIActionIndexMN_M_Network)->setVisible(fNetworkMenuShown);
    28942894    /* Determine whether Cloud menu should be visible: */
    28952895    const bool fCloudMenuShown = fGlobalMenuShown && m_pWidget->currentGlobalTool() == UIToolType_Cloud;
    2896     actionPool()->action(UIActionIndexST_M_Cloud)->setVisible(fCloudMenuShown);
     2896    actionPool()->action(UIActionIndexMN_M_Cloud)->setVisible(fCloudMenuShown);
    28972897    /* Determine whether Resources menu should be visible: */
    28982898    const bool fResourcesMenuShown = fGlobalMenuShown && m_pWidget->currentGlobalTool() == UIToolType_Resources;
    2899     actionPool()->action(UIActionIndexST_M_VMResourceMonitor)->setVisible(fResourcesMenuShown);
     2899    actionPool()->action(UIActionIndexMN_M_VMResourceMonitor)->setVisible(fResourcesMenuShown);
    29002900
    29012901    /* Determine whether Snapshots menu should be visible: */
    29022902    const bool fSnapshotMenuShown = (fMachineMenuShown || fGroupMenuShown) &&
    29032903                                    m_pWidget->currentMachineTool() == UIToolType_Snapshots;
    2904     actionPool()->action(UIActionIndexST_M_Snapshot)->setVisible(fSnapshotMenuShown);
     2904    actionPool()->action(UIActionIndexMN_M_Snapshot)->setVisible(fSnapshotMenuShown);
    29052905    /* Determine whether Logs menu should be visible: */
    29062906    const bool fLogViewerMenuShown = (fMachineMenuShown || fGroupMenuShown) &&
     
    29142914    /* Hide action shortcuts: */
    29152915    if (!fGlobalMenuShown)
    2916         actionPool()->setShortcutsVisible(UIActionIndexST_M_Welcome, false);
     2916        actionPool()->setShortcutsVisible(UIActionIndexMN_M_Welcome, false);
    29172917    if (!fGroupMenuShown)
    2918         actionPool()->setShortcutsVisible(UIActionIndexST_M_Group, false);
     2918        actionPool()->setShortcutsVisible(UIActionIndexMN_M_Group, false);
    29192919    if (!fMachineMenuShown)
    2920         actionPool()->setShortcutsVisible(UIActionIndexST_M_Machine, false);
     2920        actionPool()->setShortcutsVisible(UIActionIndexMN_M_Machine, false);
    29212921
    29222922    /* Show action shortcuts: */
    29232923    if (fGlobalMenuShown)
    2924         actionPool()->setShortcutsVisible(UIActionIndexST_M_Welcome, true);
     2924        actionPool()->setShortcutsVisible(UIActionIndexMN_M_Welcome, true);
    29252925    if (fGroupMenuShown)
    2926         actionPool()->setShortcutsVisible(UIActionIndexST_M_Group, true);
     2926        actionPool()->setShortcutsVisible(UIActionIndexMN_M_Group, true);
    29272927    if (fMachineMenuShown)
    2928         actionPool()->setShortcutsVisible(UIActionIndexST_M_Machine, true);
     2928        actionPool()->setShortcutsVisible(UIActionIndexMN_M_Machine, true);
    29292929}
    29302930
     
    29362936    /* Enable/disable File/Application actions: */
    29372937    actionPool()->action(UIActionIndex_M_Application_S_Preferences)->setEnabled(isActionEnabled(UIActionIndex_M_Application_S_Preferences, items));
    2938     actionPool()->action(UIActionIndexST_M_File_S_ExportAppliance)->setEnabled(isActionEnabled(UIActionIndexST_M_File_S_ExportAppliance, items));
    2939     actionPool()->action(UIActionIndexST_M_File_S_ImportAppliance)->setEnabled(isActionEnabled(UIActionIndexST_M_File_S_ImportAppliance, items));
    2940     actionPool()->action(UIActionIndexST_M_File_S_NewCloudVM)->setEnabled(isActionEnabled(UIActionIndexST_M_File_S_NewCloudVM, items));
     2938    actionPool()->action(UIActionIndexMN_M_File_S_ExportAppliance)->setEnabled(isActionEnabled(UIActionIndexMN_M_File_S_ExportAppliance, items));
     2939    actionPool()->action(UIActionIndexMN_M_File_S_ImportAppliance)->setEnabled(isActionEnabled(UIActionIndexMN_M_File_S_ImportAppliance, items));
     2940    actionPool()->action(UIActionIndexMN_M_File_S_NewCloudVM)->setEnabled(isActionEnabled(UIActionIndexMN_M_File_S_NewCloudVM, items));
    29412941
    29422942    /* Enable/disable welcome actions: */
    2943     actionPool()->action(UIActionIndexST_M_Welcome_S_New)->setEnabled(isActionEnabled(UIActionIndexST_M_Welcome_S_New, items));
    2944     actionPool()->action(UIActionIndexST_M_Welcome_S_Add)->setEnabled(isActionEnabled(UIActionIndexST_M_Welcome_S_Add, items));
     2943    actionPool()->action(UIActionIndexMN_M_Welcome_S_New)->setEnabled(isActionEnabled(UIActionIndexMN_M_Welcome_S_New, items));
     2944    actionPool()->action(UIActionIndexMN_M_Welcome_S_Add)->setEnabled(isActionEnabled(UIActionIndexMN_M_Welcome_S_Add, items));
    29452945
    29462946    /* Enable/disable group actions: */
    2947     actionPool()->action(UIActionIndexST_M_Group_S_New)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_New, items));
    2948     actionPool()->action(UIActionIndexST_M_Group_S_Add)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_Add, items));
    2949     actionPool()->action(UIActionIndexST_M_Group_S_Rename)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_Rename, items));
    2950     actionPool()->action(UIActionIndexST_M_Group_S_Remove)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_Remove, items));
    2951     actionPool()->action(UIActionIndexST_M_Group_M_MoveToGroup)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_MoveToGroup, items));
    2952     actionPool()->action(UIActionIndexST_M_Group_T_Pause)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_T_Pause, items));
    2953     actionPool()->action(UIActionIndexST_M_Group_S_Reset)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_Reset, items));
    2954     actionPool()->action(UIActionIndexST_M_Group_S_Discard)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_Discard, items));
    2955     actionPool()->action(UIActionIndexST_M_Group_S_ShowLogDialog)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_ShowLogDialog, items));
    2956     actionPool()->action(UIActionIndexST_M_Group_S_Refresh)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_Refresh, items));
    2957     actionPool()->action(UIActionIndexST_M_Group_S_ShowInFileManager)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_ShowInFileManager, items));
    2958     actionPool()->action(UIActionIndexST_M_Group_S_CreateShortcut)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_CreateShortcut, items));
    2959     actionPool()->action(UIActionIndexST_M_Group_S_Sort)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_S_Sort, items));
     2947    actionPool()->action(UIActionIndexMN_M_Group_S_New)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_New, items));
     2948    actionPool()->action(UIActionIndexMN_M_Group_S_Add)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_Add, items));
     2949    actionPool()->action(UIActionIndexMN_M_Group_S_Rename)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_Rename, items));
     2950    actionPool()->action(UIActionIndexMN_M_Group_S_Remove)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_Remove, items));
     2951    actionPool()->action(UIActionIndexMN_M_Group_M_MoveToGroup)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_MoveToGroup, items));
     2952    actionPool()->action(UIActionIndexMN_M_Group_T_Pause)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_T_Pause, items));
     2953    actionPool()->action(UIActionIndexMN_M_Group_S_Reset)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_Reset, items));
     2954    actionPool()->action(UIActionIndexMN_M_Group_S_Discard)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_Discard, items));
     2955    actionPool()->action(UIActionIndexMN_M_Group_S_ShowLogDialog)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_ShowLogDialog, items));
     2956    actionPool()->action(UIActionIndexMN_M_Group_S_Refresh)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_Refresh, items));
     2957    actionPool()->action(UIActionIndexMN_M_Group_S_ShowInFileManager)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_ShowInFileManager, items));
     2958    actionPool()->action(UIActionIndexMN_M_Group_S_CreateShortcut)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_CreateShortcut, items));
     2959    actionPool()->action(UIActionIndexMN_M_Group_S_Sort)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_S_Sort, items));
    29602960
    29612961    /* Enable/disable machine actions: */
    2962     actionPool()->action(UIActionIndexST_M_Machine_S_New)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_New, items));
    2963     actionPool()->action(UIActionIndexST_M_Machine_S_Add)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_Add, items));
    2964     actionPool()->action(UIActionIndexST_M_Machine_S_Settings)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_Settings, items));
    2965     actionPool()->action(UIActionIndexST_M_Machine_S_Clone)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_Clone, items));
    2966     actionPool()->action(UIActionIndexST_M_Machine_S_Move)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_Move, items));
    2967     actionPool()->action(UIActionIndexST_M_Machine_S_ExportToOCI)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_ExportToOCI, items));
    2968     actionPool()->action(UIActionIndexST_M_Machine_S_Remove)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_Remove, items));
    2969     actionPool()->action(UIActionIndexST_M_Machine_M_MoveToGroup)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_MoveToGroup, items));
    2970     actionPool()->action(UIActionIndexST_M_Machine_M_MoveToGroup_S_New)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_MoveToGroup_S_New, items));
    2971     actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_T_Pause, items));
    2972     actionPool()->action(UIActionIndexST_M_Machine_S_Reset)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_Reset, items));
    2973     actionPool()->action(UIActionIndexST_M_Machine_S_Discard)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_Discard, items));
    2974     actionPool()->action(UIActionIndexST_M_Machine_S_ShowLogDialog)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_ShowLogDialog, items));
    2975     actionPool()->action(UIActionIndexST_M_Machine_S_Refresh)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_Refresh, items));
    2976     actionPool()->action(UIActionIndexST_M_Machine_S_ShowInFileManager)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_ShowInFileManager, items));
    2977     actionPool()->action(UIActionIndexST_M_Machine_S_CreateShortcut)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_CreateShortcut, items));
    2978     actionPool()->action(UIActionIndexST_M_Machine_S_SortParent)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_S_SortParent, items));
     2962    actionPool()->action(UIActionIndexMN_M_Machine_S_New)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_New, items));
     2963    actionPool()->action(UIActionIndexMN_M_Machine_S_Add)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_Add, items));
     2964    actionPool()->action(UIActionIndexMN_M_Machine_S_Settings)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_Settings, items));
     2965    actionPool()->action(UIActionIndexMN_M_Machine_S_Clone)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_Clone, items));
     2966    actionPool()->action(UIActionIndexMN_M_Machine_S_Move)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_Move, items));
     2967    actionPool()->action(UIActionIndexMN_M_Machine_S_ExportToOCI)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_ExportToOCI, items));
     2968    actionPool()->action(UIActionIndexMN_M_Machine_S_Remove)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_Remove, items));
     2969    actionPool()->action(UIActionIndexMN_M_Machine_M_MoveToGroup)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_MoveToGroup, items));
     2970    actionPool()->action(UIActionIndexMN_M_Machine_M_MoveToGroup_S_New)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_MoveToGroup_S_New, items));
     2971    actionPool()->action(UIActionIndexMN_M_Machine_T_Pause)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_T_Pause, items));
     2972    actionPool()->action(UIActionIndexMN_M_Machine_S_Reset)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_Reset, items));
     2973    actionPool()->action(UIActionIndexMN_M_Machine_S_Discard)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_Discard, items));
     2974    actionPool()->action(UIActionIndexMN_M_Machine_S_ShowLogDialog)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_ShowLogDialog, items));
     2975    actionPool()->action(UIActionIndexMN_M_Machine_S_Refresh)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_Refresh, items));
     2976    actionPool()->action(UIActionIndexMN_M_Machine_S_ShowInFileManager)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_ShowInFileManager, items));
     2977    actionPool()->action(UIActionIndexMN_M_Machine_S_CreateShortcut)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_CreateShortcut, items));
     2978    actionPool()->action(UIActionIndexMN_M_Machine_S_SortParent)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_S_SortParent, items));
    29792979
    29802980    /* Enable/disable group-start-or-show actions: */
    2981     actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_StartOrShow, items));
    2982     actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow_S_StartNormal)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_StartOrShow_S_StartNormal, items));
    2983     actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow_S_StartHeadless)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_StartOrShow_S_StartHeadless, items));
    2984     actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow_S_StartDetachable)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_StartOrShow_S_StartDetachable, items));
     2981    actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_StartOrShow, items));
     2982    actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartNormal)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_StartOrShow_S_StartNormal, items));
     2983    actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartHeadless)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_StartOrShow_S_StartHeadless, items));
     2984    actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow_S_StartDetachable)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_StartOrShow_S_StartDetachable, items));
    29852985
    29862986    /* Enable/disable machine-start-or-show actions: */
    2987     actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_StartOrShow, items));
    2988     actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartNormal)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_StartOrShow_S_StartNormal, items));
    2989     actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartHeadless)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_StartOrShow_S_StartHeadless, items));
    2990     actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow_S_StartDetachable)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_StartOrShow_S_StartDetachable, items));
     2987    actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_StartOrShow, items));
     2988    actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartNormal)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartNormal, items));
     2989    actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartHeadless)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartHeadless, items));
     2990    actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartDetachable)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_StartOrShow_S_StartDetachable, items));
    29912991
    29922992    /* Enable/disable group-console actions: */
    2993     actionPool()->action(UIActionIndexST_M_Group_M_Console)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Console, items));
    2994     actionPool()->action(UIActionIndexST_M_Group_M_Console_S_CreateConnection)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Console_S_CreateConnection, items));
    2995     actionPool()->action(UIActionIndexST_M_Group_M_Console_S_DeleteConnection)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Console_S_DeleteConnection, items));
    2996     actionPool()->action(UIActionIndexST_M_Group_M_Console_S_ConfigureApplications)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Console_S_ConfigureApplications, items));
     2993    actionPool()->action(UIActionIndexMN_M_Group_M_Console)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Console, items));
     2994    actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_CreateConnection)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Console_S_CreateConnection, items));
     2995    actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_DeleteConnection)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Console_S_DeleteConnection, items));
     2996    actionPool()->action(UIActionIndexMN_M_Group_M_Console_S_ConfigureApplications)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Console_S_ConfigureApplications, items));
    29972997
    29982998    /* Enable/disable machine-console actions: */
    2999     actionPool()->action(UIActionIndexST_M_Machine_M_Console)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Console, items));
    3000     actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CreateConnection)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Console_S_CreateConnection, items));
    3001     actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_DeleteConnection)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Console_S_DeleteConnection, items));
    3002     actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialUnix)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialUnix, items));
    3003     actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialWindows)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialWindows, items));
    3004     actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCUnix)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCUnix, items));
    3005     actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCWindows)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCWindows, items));
    3006     actionPool()->action(UIActionIndexST_M_Machine_M_Console_S_ConfigureApplications)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Console_S_ConfigureApplications, items));
     2999    actionPool()->action(UIActionIndexMN_M_Machine_M_Console)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Console, items));
     3000    actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CreateConnection)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Console_S_CreateConnection, items));
     3001    actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_DeleteConnection)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Console_S_DeleteConnection, items));
     3002    actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialUnix)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialUnix, items));
     3003    actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialWindows)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialWindows, items));
     3004    actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCUnix)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCUnix, items));
     3005    actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCWindows)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCWindows, items));
     3006    actionPool()->action(UIActionIndexMN_M_Machine_M_Console_S_ConfigureApplications)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Console_S_ConfigureApplications, items));
    30073007
    30083008    /* Enable/disable group-close actions: */
    3009     actionPool()->action(UIActionIndexST_M_Group_M_Close)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Close, items));
    3010     actionPool()->action(UIActionIndexST_M_Group_M_Close_S_Detach)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Close_S_Detach, items));
    3011     actionPool()->action(UIActionIndexST_M_Group_M_Close_S_SaveState)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Close_S_SaveState, items));
    3012     actionPool()->action(UIActionIndexST_M_Group_M_Close_S_Shutdown)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Close_S_Shutdown, items));
    3013     actionPool()->action(UIActionIndexST_M_Group_M_Close_S_PowerOff)->setEnabled(isActionEnabled(UIActionIndexST_M_Group_M_Close_S_PowerOff, items));
     3009    actionPool()->action(UIActionIndexMN_M_Group_M_Close)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Close, items));
     3010    actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_Detach)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Close_S_Detach, items));
     3011    actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_SaveState)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Close_S_SaveState, items));
     3012    actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_Shutdown)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Close_S_Shutdown, items));
     3013    actionPool()->action(UIActionIndexMN_M_Group_M_Close_S_PowerOff)->setEnabled(isActionEnabled(UIActionIndexMN_M_Group_M_Close_S_PowerOff, items));
    30143014
    30153015    /* Enable/disable machine-close actions: */
    3016     actionPool()->action(UIActionIndexST_M_Machine_M_Close)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Close, items));
    3017     actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_Detach)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_Detach, items));
    3018     actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_SaveState)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_SaveState, items));
    3019     actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_Shutdown)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_Shutdown, items));
    3020     actionPool()->action(UIActionIndexST_M_Machine_M_Close_S_PowerOff)->setEnabled(isActionEnabled(UIActionIndexST_M_Machine_M_Close_S_PowerOff, items));
     3016    actionPool()->action(UIActionIndexMN_M_Machine_M_Close)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Close, items));
     3017    actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_Detach)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_Detach, items));
     3018    actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_SaveState)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_SaveState, items));
     3019    actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_Shutdown)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_Shutdown, items));
     3020    actionPool()->action(UIActionIndexMN_M_Machine_M_Close_S_PowerOff)->setEnabled(isActionEnabled(UIActionIndexMN_M_Machine_M_Close_S_PowerOff, items));
    30213021
    30223022    /* Get current item: */
     
    30283028            || pItem->itemType() == UIVirtualMachineItemType_CloudReal))
    30293029    {
    3030         actionPool()->action(UIActionIndexST_M_Group_S_Discard)->toActionPolymorphicMenu()->setState(1);
    3031         actionPool()->action(UIActionIndexST_M_Machine_S_Discard)->toActionPolymorphicMenu()->setState(1);
     3030        actionPool()->action(UIActionIndexMN_M_Group_S_Discard)->toActionPolymorphicMenu()->setState(1);
     3031        actionPool()->action(UIActionIndexMN_M_Machine_S_Discard)->toActionPolymorphicMenu()->setState(1);
    30323032    }
    30333033    else
    30343034    {
    3035         actionPool()->action(UIActionIndexST_M_Group_S_Discard)->toActionPolymorphicMenu()->setState(0);
    3036         actionPool()->action(UIActionIndexST_M_Machine_S_Discard)->toActionPolymorphicMenu()->setState(0);
     3035        actionPool()->action(UIActionIndexMN_M_Group_S_Discard)->toActionPolymorphicMenu()->setState(0);
     3036        actionPool()->action(UIActionIndexMN_M_Machine_S_Discard)->toActionPolymorphicMenu()->setState(0);
    30373037    }
    30383038
     
    30403040    if (pItem && pItem->accessible())
    30413041    {
    3042         actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow)->toActionPolymorphicMenu()->setState(pItem->isItemPoweredOff() ? 0 : 1);
    3043         actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow)->toActionPolymorphicMenu()->setState(pItem->isItemPoweredOff() ? 0 : 1);
     3042        actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow)->toActionPolymorphicMenu()->setState(pItem->isItemPoweredOff() ? 0 : 1);
     3043        actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow)->toActionPolymorphicMenu()->setState(pItem->isItemPoweredOff() ? 0 : 1);
    30443044        /// @todo Hmm, fix it?
    3045 //        QToolButton *pButton = qobject_cast<QToolButton*>(m_pToolBar->widgetForAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow)));
     3045//        QToolButton *pButton = qobject_cast<QToolButton*>(m_pToolBar->widgetForAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow)));
    30463046//        if (pButton)
    30473047//            pButton->setPopupMode(pItem->isItemPoweredOff() ? QToolButton::MenuButtonPopup : QToolButton::DelayedPopup);
     
    30493049    else
    30503050    {
    3051         actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow)->toActionPolymorphicMenu()->setState(0);
    3052         actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow)->toActionPolymorphicMenu()->setState(0);
     3051        actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow)->toActionPolymorphicMenu()->setState(0);
     3052        actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow)->toActionPolymorphicMenu()->setState(0);
    30533053        /// @todo Hmm, fix it?
    3054 //        QToolButton *pButton = qobject_cast<QToolButton*>(m_pToolBar->widgetForAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow)));
     3054//        QToolButton *pButton = qobject_cast<QToolButton*>(m_pToolBar->widgetForAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow)));
    30553055//        if (pButton)
    30563056//            pButton->setPopupMode(pItem->isItemPoweredOff() ? QToolButton::MenuButtonPopup : QToolButton::DelayedPopup);
     
    30683068    }
    30693069    /* Update the group Pause/Resume action appearance: */
    3070     actionPool()->action(UIActionIndexST_M_Group_T_Pause)->blockSignals(true);
    3071     actionPool()->action(UIActionIndexST_M_Group_T_Pause)->setChecked(pFirstStartedAction && pFirstStartedAction->isItemPaused());
    3072     actionPool()->action(UIActionIndexST_M_Group_T_Pause)->retranslateUi();
    3073     actionPool()->action(UIActionIndexST_M_Group_T_Pause)->blockSignals(false);
     3070    actionPool()->action(UIActionIndexMN_M_Group_T_Pause)->blockSignals(true);
     3071    actionPool()->action(UIActionIndexMN_M_Group_T_Pause)->setChecked(pFirstStartedAction && pFirstStartedAction->isItemPaused());
     3072    actionPool()->action(UIActionIndexMN_M_Group_T_Pause)->retranslateUi();
     3073    actionPool()->action(UIActionIndexMN_M_Group_T_Pause)->blockSignals(false);
    30743074    /* Update the machine Pause/Resume action appearance: */
    3075     actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->blockSignals(true);
    3076     actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->setChecked(pFirstStartedAction && pFirstStartedAction->isItemPaused());
    3077     actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->retranslateUi();
    3078     actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->blockSignals(false);
     3075    actionPool()->action(UIActionIndexMN_M_Machine_T_Pause)->blockSignals(true);
     3076    actionPool()->action(UIActionIndexMN_M_Machine_T_Pause)->setChecked(pFirstStartedAction && pFirstStartedAction->isItemPaused());
     3077    actionPool()->action(UIActionIndexMN_M_Machine_T_Pause)->retranslateUi();
     3078    actionPool()->action(UIActionIndexMN_M_Machine_T_Pause)->blockSignals(false);
    30793079
    30803080    /* Update action toggle states: */
     
    30853085            case UIToolType_Details:
    30863086            {
    3087                 actionPool()->action(UIActionIndexST_M_Group_M_Tools_T_Details)->setChecked(true);
    3088                 actionPool()->action(UIActionIndexST_M_Machine_M_Tools_T_Details)->setChecked(true);
     3087                actionPool()->action(UIActionIndexMN_M_Group_M_Tools_T_Details)->setChecked(true);
     3088                actionPool()->action(UIActionIndexMN_M_Machine_M_Tools_T_Details)->setChecked(true);
    30893089                break;
    30903090            }
    30913091            case UIToolType_Snapshots:
    30923092            {
    3093                 actionPool()->action(UIActionIndexST_M_Group_M_Tools_T_Snapshots)->setChecked(true);
    3094                 actionPool()->action(UIActionIndexST_M_Machine_M_Tools_T_Snapshots)->setChecked(true);
     3093                actionPool()->action(UIActionIndexMN_M_Group_M_Tools_T_Snapshots)->setChecked(true);
     3094                actionPool()->action(UIActionIndexMN_M_Machine_M_Tools_T_Snapshots)->setChecked(true);
    30953095                break;
    30963096            }
    30973097            case UIToolType_Logs:
    30983098            {
    3099                 actionPool()->action(UIActionIndexST_M_Group_M_Tools_T_Logs)->setChecked(true);
    3100                 actionPool()->action(UIActionIndexST_M_Machine_M_Tools_T_Logs)->setChecked(true);
     3099                actionPool()->action(UIActionIndexMN_M_Group_M_Tools_T_Logs)->setChecked(true);
     3100                actionPool()->action(UIActionIndexMN_M_Machine_M_Tools_T_Logs)->setChecked(true);
    31013101                break;
    31023102            }
    31033103            case UIToolType_Performance:
    31043104            {
    3105                 actionPool()->action(UIActionIndexST_M_Group_M_Tools_T_Performance)->setChecked(true);
    3106                 actionPool()->action(UIActionIndexST_M_Machine_M_Tools_T_Performance)->setChecked(true);
     3105                actionPool()->action(UIActionIndexMN_M_Group_M_Tools_T_Performance)->setChecked(true);
     3106                actionPool()->action(UIActionIndexMN_M_Machine_M_Tools_T_Performance)->setChecked(true);
    31073107                break;
    31083108            }
     
    31273127    {
    31283128        case UIActionIndex_M_Application_S_Preferences:
    3129         case UIActionIndexST_M_File_S_ExportAppliance:
    3130         case UIActionIndexST_M_File_S_ImportAppliance:
    3131         case UIActionIndexST_M_File_S_NewCloudVM:
    3132         case UIActionIndexST_M_Welcome_S_New:
    3133         case UIActionIndexST_M_Welcome_S_Add:
     3129        case UIActionIndexMN_M_File_S_ExportAppliance:
     3130        case UIActionIndexMN_M_File_S_ImportAppliance:
     3131        case UIActionIndexMN_M_File_S_NewCloudVM:
     3132        case UIActionIndexMN_M_Welcome_S_New:
     3133        case UIActionIndexMN_M_Welcome_S_Add:
    31343134            return true;
    31353135        default:
     
    31473147    switch (iActionIndex)
    31483148    {
    3149         case UIActionIndexST_M_Group_S_New:
    3150         case UIActionIndexST_M_Group_S_Add:
     3149        case UIActionIndexMN_M_Group_S_New:
     3150        case UIActionIndexMN_M_Group_S_Add:
    31513151        {
    31523152            return !isGroupSavingInProgress() &&
     
    31543154                    isSingleCloudProfileGroupSelected());
    31553155        }
    3156         case UIActionIndexST_M_Group_S_Sort:
     3156        case UIActionIndexMN_M_Group_S_Sort:
    31573157        {
    31583158            return !isGroupSavingInProgress() &&
     
    31603160                   isItemsLocal(items);
    31613161        }
    3162         case UIActionIndexST_M_Group_S_Rename:
    3163         case UIActionIndexST_M_Group_S_Remove:
     3162        case UIActionIndexMN_M_Group_S_Rename:
     3163        case UIActionIndexMN_M_Group_S_Remove:
    31643164        {
    31653165            return !isGroupSavingInProgress() &&
     
    31683168                   isItemsPoweredOff(items);
    31693169        }
    3170         case UIActionIndexST_M_Machine_S_New:
    3171         case UIActionIndexST_M_Machine_S_Add:
     3170        case UIActionIndexMN_M_Machine_S_New:
     3171        case UIActionIndexMN_M_Machine_S_Add:
    31723172        {
    31733173            return !isGroupSavingInProgress();
    31743174        }
    3175         case UIActionIndexST_M_Machine_S_Settings:
     3175        case UIActionIndexMN_M_Machine_S_Settings:
    31763176        {
    31773177            return !isGroupSavingInProgress() &&
     
    31813181                    m_pWidget->isCurrentStateItemSelected());
    31823182        }
    3183         case UIActionIndexST_M_Machine_S_Clone:
    3184         case UIActionIndexST_M_Machine_S_Move:
     3183        case UIActionIndexMN_M_Machine_S_Clone:
     3184        case UIActionIndexMN_M_Machine_S_Move:
    31853185        {
    31863186            return !isGroupSavingInProgress() &&
     
    31893189                   pItem->isItemEditable();
    31903190        }
    3191         case UIActionIndexST_M_Machine_S_ExportToOCI:
     3191        case UIActionIndexMN_M_Machine_S_ExportToOCI:
    31923192        {
    31933193            return items.size() == 1 &&
    31943194                   pItem->toLocal();
    31953195        }
    3196         case UIActionIndexST_M_Machine_S_Remove:
     3196        case UIActionIndexMN_M_Machine_S_Remove:
    31973197        {
    31983198            return !isGroupSavingInProgress() &&
    31993199                   isAtLeastOneItemRemovable(items);
    32003200        }
    3201         case UIActionIndexST_M_Group_M_MoveToGroup:
    3202         case UIActionIndexST_M_Machine_M_MoveToGroup:
    3203         case UIActionIndexST_M_Machine_M_MoveToGroup_S_New:
     3201        case UIActionIndexMN_M_Group_M_MoveToGroup:
     3202        case UIActionIndexMN_M_Machine_M_MoveToGroup:
     3203        case UIActionIndexMN_M_Machine_M_MoveToGroup_S_New:
    32043204        {
    32053205            return !isGroupSavingInProgress() &&
     
    32073207                   isItemsPoweredOff(items);
    32083208        }
    3209         case UIActionIndexST_M_Group_M_StartOrShow:
    3210         case UIActionIndexST_M_Group_M_StartOrShow_S_StartNormal:
    3211         case UIActionIndexST_M_Machine_M_StartOrShow:
    3212         case UIActionIndexST_M_Machine_M_StartOrShow_S_StartNormal:
     3209        case UIActionIndexMN_M_Group_M_StartOrShow:
     3210        case UIActionIndexMN_M_Group_M_StartOrShow_S_StartNormal:
     3211        case UIActionIndexMN_M_Machine_M_StartOrShow:
     3212        case UIActionIndexMN_M_Machine_M_StartOrShow_S_StartNormal:
    32133213        {
    32143214            return !isGroupSavingInProgress() &&
     
    32173217                     m_pWidget->isCurrentStateItemSelected());
    32183218        }
    3219         case UIActionIndexST_M_Group_M_StartOrShow_S_StartHeadless:
    3220         case UIActionIndexST_M_Group_M_StartOrShow_S_StartDetachable:
    3221         case UIActionIndexST_M_Machine_M_StartOrShow_S_StartHeadless:
    3222         case UIActionIndexST_M_Machine_M_StartOrShow_S_StartDetachable:
     3219        case UIActionIndexMN_M_Group_M_StartOrShow_S_StartHeadless:
     3220        case UIActionIndexMN_M_Group_M_StartOrShow_S_StartDetachable:
     3221        case UIActionIndexMN_M_Machine_M_StartOrShow_S_StartHeadless:
     3222        case UIActionIndexMN_M_Machine_M_StartOrShow_S_StartDetachable:
    32233223        {
    32243224            return !isGroupSavingInProgress() &&
     
    32283228                     m_pWidget->isCurrentStateItemSelected());
    32293229        }
    3230         case UIActionIndexST_M_Group_S_Discard:
    3231         case UIActionIndexST_M_Machine_S_Discard:
     3230        case UIActionIndexMN_M_Group_S_Discard:
     3231        case UIActionIndexMN_M_Machine_S_Discard:
    32323232        {
    32333233            return !isGroupSavingInProgress() &&
     
    32363236                     m_pWidget->isCurrentStateItemSelected());
    32373237        }
    3238         case UIActionIndexST_M_Group_S_ShowLogDialog:
    3239         case UIActionIndexST_M_Machine_S_ShowLogDialog:
     3238        case UIActionIndexMN_M_Group_S_ShowLogDialog:
     3239        case UIActionIndexMN_M_Machine_S_ShowLogDialog:
    32403240        {
    32413241            return isItemsLocal(items) &&
    32423242                   isAtLeastOneItemAccessible(items);
    32433243        }
    3244         case UIActionIndexST_M_Group_T_Pause:
    3245         case UIActionIndexST_M_Machine_T_Pause:
     3244        case UIActionIndexMN_M_Group_T_Pause:
     3245        case UIActionIndexMN_M_Machine_T_Pause:
    32463246        {
    32473247            return isItemsLocal(items) &&
    32483248                   isAtLeastOneItemStarted(items);
    32493249        }
    3250         case UIActionIndexST_M_Group_S_Reset:
    3251         case UIActionIndexST_M_Machine_S_Reset:
     3250        case UIActionIndexMN_M_Group_S_Reset:
     3251        case UIActionIndexMN_M_Machine_S_Reset:
    32523252        {
    32533253            return isItemsLocal(items) &&
    32543254                   isAtLeastOneItemRunning(items);
    32553255        }
    3256         case UIActionIndexST_M_Group_S_Refresh:
    3257         case UIActionIndexST_M_Machine_S_Refresh:
     3256        case UIActionIndexMN_M_Group_S_Refresh:
     3257        case UIActionIndexMN_M_Machine_S_Refresh:
    32583258        {
    32593259            return isAtLeastOneItemInaccessible(items);
    32603260        }
    3261         case UIActionIndexST_M_Group_S_ShowInFileManager:
    3262         case UIActionIndexST_M_Machine_S_ShowInFileManager:
     3261        case UIActionIndexMN_M_Group_S_ShowInFileManager:
     3262        case UIActionIndexMN_M_Machine_S_ShowInFileManager:
    32633263        {
    32643264            return isItemsLocal(items) &&
    32653265                   isAtLeastOneItemAccessible(items);
    32663266        }
    3267         case UIActionIndexST_M_Machine_S_SortParent:
     3267        case UIActionIndexMN_M_Machine_S_SortParent:
    32683268        {
    32693269            return !isGroupSavingInProgress() &&
    32703270                   isItemsLocal(items);
    32713271        }
    3272         case UIActionIndexST_M_Group_S_CreateShortcut:
    3273         case UIActionIndexST_M_Machine_S_CreateShortcut:
     3272        case UIActionIndexMN_M_Group_S_CreateShortcut:
     3273        case UIActionIndexMN_M_Machine_S_CreateShortcut:
    32743274        {
    32753275            return isAtLeastOneItemSupportsShortcuts(items);
    32763276        }
    3277         case UIActionIndexST_M_Group_M_Console:
    3278         case UIActionIndexST_M_Group_M_Console_S_CreateConnection:
    3279         case UIActionIndexST_M_Group_M_Console_S_DeleteConnection:
    3280         case UIActionIndexST_M_Group_M_Console_S_ConfigureApplications:
    3281         case UIActionIndexST_M_Machine_M_Console:
    3282         case UIActionIndexST_M_Machine_M_Console_S_CreateConnection:
    3283         case UIActionIndexST_M_Machine_M_Console_S_DeleteConnection:
    3284         case UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialUnix:
    3285         case UIActionIndexST_M_Machine_M_Console_S_CopyCommandSerialWindows:
    3286         case UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCUnix:
    3287         case UIActionIndexST_M_Machine_M_Console_S_CopyCommandVNCWindows:
    3288         case UIActionIndexST_M_Machine_M_Console_S_ConfigureApplications:
     3277        case UIActionIndexMN_M_Group_M_Console:
     3278        case UIActionIndexMN_M_Group_M_Console_S_CreateConnection:
     3279        case UIActionIndexMN_M_Group_M_Console_S_DeleteConnection:
     3280        case UIActionIndexMN_M_Group_M_Console_S_ConfigureApplications:
     3281        case UIActionIndexMN_M_Machine_M_Console:
     3282        case UIActionIndexMN_M_Machine_M_Console_S_CreateConnection:
     3283        case UIActionIndexMN_M_Machine_M_Console_S_DeleteConnection:
     3284        case UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialUnix:
     3285        case UIActionIndexMN_M_Machine_M_Console_S_CopyCommandSerialWindows:
     3286        case UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCUnix:
     3287        case UIActionIndexMN_M_Machine_M_Console_S_CopyCommandVNCWindows:
     3288        case UIActionIndexMN_M_Machine_M_Console_S_ConfigureApplications:
    32893289        {
    32903290            return isAtLeastOneItemStarted(items);
    32913291        }
    3292         case UIActionIndexST_M_Group_M_Close:
    3293         case UIActionIndexST_M_Machine_M_Close:
     3292        case UIActionIndexMN_M_Group_M_Close:
     3293        case UIActionIndexMN_M_Machine_M_Close:
    32943294        {
    32953295            return isAtLeastOneItemStarted(items);
    32963296        }
    3297         case UIActionIndexST_M_Group_M_Close_S_Detach:
    3298         case UIActionIndexST_M_Machine_M_Close_S_Detach:
     3297        case UIActionIndexMN_M_Group_M_Close_S_Detach:
     3298        case UIActionIndexMN_M_Machine_M_Close_S_Detach:
    32993299        {
    33003300            return isItemsLocal(items) &&
    3301                    isActionEnabled(UIActionIndexST_M_Machine_M_Close, items);
    3302         }
    3303         case UIActionIndexST_M_Group_M_Close_S_SaveState:
    3304         case UIActionIndexST_M_Machine_M_Close_S_SaveState:
     3301                   isActionEnabled(UIActionIndexMN_M_Machine_M_Close, items);
     3302        }
     3303        case UIActionIndexMN_M_Group_M_Close_S_SaveState:
     3304        case UIActionIndexMN_M_Machine_M_Close_S_SaveState:
    33053305        {
    33063306            return isItemsLocal(items) &&
    3307                    isActionEnabled(UIActionIndexST_M_Machine_M_Close, items);
    3308         }
    3309         case UIActionIndexST_M_Group_M_Close_S_Shutdown:
    3310         case UIActionIndexST_M_Machine_M_Close_S_Shutdown:
    3311         {
    3312             return isActionEnabled(UIActionIndexST_M_Machine_M_Close, items) &&
     3307                   isActionEnabled(UIActionIndexMN_M_Machine_M_Close, items);
     3308        }
     3309        case UIActionIndexMN_M_Group_M_Close_S_Shutdown:
     3310        case UIActionIndexMN_M_Machine_M_Close_S_Shutdown:
     3311        {
     3312            return isActionEnabled(UIActionIndexMN_M_Machine_M_Close, items) &&
    33133313                   isAtLeastOneItemAbleToShutdown(items);
    33143314        }
    3315         case UIActionIndexST_M_Group_M_Close_S_PowerOff:
    3316         case UIActionIndexST_M_Machine_M_Close_S_PowerOff:
    3317         {
    3318             return isActionEnabled(UIActionIndexST_M_Machine_M_Close, items);
     3315        case UIActionIndexMN_M_Group_M_Close_S_PowerOff:
     3316        case UIActionIndexMN_M_Machine_M_Close_S_PowerOff:
     3317        {
     3318            return isActionEnabled(UIActionIndexMN_M_Machine_M_Close, items);
    33193319        }
    33203320        default:
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp

    r85547 r85597  
    735735                    m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Application_S_Preferences));
    736736                    m_pToolBar->addSeparator();
    737                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_File_S_ImportAppliance));
    738                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_File_S_ExportAppliance));
    739                     //m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_File_S_NewCloudVM)); // later
     737                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ImportAppliance));
     738                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ExportAppliance));
     739                    //m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_File_S_NewCloudVM)); // later
    740740                    m_pToolBar->addSeparator();
    741                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Welcome_S_New));
    742                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Welcome_S_Add));
     741                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Welcome_S_New));
     742                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Welcome_S_Add));
    743743                    break;
    744744                }
    745745                case UIToolType_Media:
    746746                {
    747                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_S_Add));
    748                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_S_Create));
     747                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_S_Add));
     748                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_S_Create));
    749749                    m_pToolBar->addSeparator();
    750                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_S_Copy));
    751                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_S_Move));
    752                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_S_Remove));
    753                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_S_Release));
    754                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_T_Search));
    755                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_T_Details));
     750                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_S_Copy));
     751                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_S_Move));
     752                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_S_Remove));
     753                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_S_Release));
     754                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_T_Search));
     755                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_T_Details));
    756756                    m_pToolBar->addSeparator();
    757                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Medium_S_Refresh));
     757                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Medium_S_Refresh));
    758758                    break;
    759759                }
    760760                case UIToolType_Network:
    761761                {
    762                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Network_S_Create));
     762                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Network_S_Create));
    763763                    m_pToolBar->addSeparator();
    764                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Network_S_Remove));
    765                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Network_T_Details));
    766                     //m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Network_S_Refresh));
     764                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Network_S_Remove));
     765                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Network_T_Details));
     766                    //m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Network_S_Refresh));
    767767                    break;
    768768                }
    769769                case UIToolType_Cloud:
    770770                {
    771                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Cloud_S_Add));
    772                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Cloud_S_Import));
     771                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Cloud_S_Add));
     772                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Cloud_S_Import));
    773773                    m_pToolBar->addSeparator();
    774                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Cloud_S_Remove));
    775                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Cloud_T_Details));
     774                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Cloud_S_Remove));
     775                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Cloud_T_Details));
    776776                    m_pToolBar->addSeparator();
    777                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Cloud_S_TryPage));
    778                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Cloud_S_Help));
     777                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Cloud_S_TryPage));
     778                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Cloud_S_Help));
    779779                    break;
    780780                }
    781781                case UIToolType_Resources:
    782782                {
    783                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_VMResourceMonitor_M_Columns));
    784                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_VMResourceMonitor_S_SwitchToMachinePerformance));
     783                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_VMResourceMonitor_M_Columns));
     784                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_VMResourceMonitor_S_SwitchToMachinePerformance));
    785785                    QToolButton *pButton =
    786                         qobject_cast<QToolButton*>(m_pToolBar->widgetForAction(actionPool()->action(UIActionIndexST_M_VMResourceMonitor_M_Columns)));
     786                        qobject_cast<QToolButton*>(m_pToolBar->widgetForAction(actionPool()->action(UIActionIndexMN_M_VMResourceMonitor_M_Columns)));
    787787                    if (pButton)
    788788                    {
     
    807807                    if (isSingleGroupSelected())
    808808                    {
    809                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Group_S_New));
    810                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Add));
     809                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_New));
     810                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Add));
    811811                        m_pToolBar->addSeparator();
    812                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Discard));
    813                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow));
     812                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Discard));
     813                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow));
    814814                    }
    815815                    else
    816816                    {
    817                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_New));
    818                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Add));
     817                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_New));
     818                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Add));
    819819                        m_pToolBar->addSeparator();
    820                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Settings));
    821                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Discard));
    822                         m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow));
     820                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings));
     821                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard));
     822                        m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow));
    823823                    }
    824824                    break;
     
    826826                case UIToolType_Snapshots:
    827827                {
    828                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Snapshot_S_Take));
    829                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Snapshot_S_Delete));
    830                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Snapshot_S_Restore));
    831                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Snapshot_T_Properties));
    832                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Snapshot_S_Clone));
     828                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Snapshot_S_Take));
     829                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Snapshot_S_Delete));
     830                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Snapshot_S_Restore));
     831                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Snapshot_T_Properties));
     832                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Snapshot_S_Clone));
    833833                    m_pToolBar->addSeparator();
    834                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Settings));
    835                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Discard));
    836                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow));
     834                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings));
     835                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard));
     836                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow));
    837837                    break;
    838838                }
     
    846846                    m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Log_S_Refresh));
    847847                    m_pToolBar->addSeparator();
    848                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Settings));
    849                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Discard));
    850                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow));
     848                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings));
     849                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard));
     850                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow));
    851851                    break;
    852852                }
     
    855855                    m_pToolBar->addAction(actionPool()->action(UIActionIndex_M_Performance_S_Export));
    856856                    m_pToolBar->addSeparator();
    857                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Settings));
    858                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Discard));
    859                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow));
     857                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings));
     858                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard));
     859                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow));
    860860                    break;
    861861                }
    862862                case UIToolType_Error:
    863863                {
    864                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_New));
    865                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Add));
     864                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_New));
     865                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Add));
    866866                    m_pToolBar->addSeparator();
    867                     m_pToolBar->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Refresh));
     867                    m_pToolBar->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Refresh));
    868868                    break;
    869869                }
     
    881881    // Actually Qt should do that itself but by some unknown reason it sometimes
    882882    // forget to update toolbar after changing its actions on Cocoa platform.
    883     connect(actionPool()->action(UIActionIndexST_M_Machine_S_New), &UIAction::changed,
     883    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_New), &UIAction::changed,
    884884            m_pToolBar, static_cast<void(UIToolBar::*)(void)>(&UIToolBar::update));
    885     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Settings), &UIAction::changed,
     885    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings), &UIAction::changed,
    886886            m_pToolBar, static_cast<void(UIToolBar::*)(void)>(&UIToolBar::update));
    887     connect(actionPool()->action(UIActionIndexST_M_Machine_S_Discard), &UIAction::changed,
     887    connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard), &UIAction::changed,
    888888            m_pToolBar, static_cast<void(UIToolBar::*)(void)>(&UIToolBar::update));
    889     connect(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow), &UIAction::changed,
     889    connect(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow), &UIAction::changed,
    890890            m_pToolBar, static_cast<void(UIToolBar::*)(void)>(&UIToolBar::update));
    891891
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp

    r85508 r85597  
    12651265        pMenuGlobal->addAction(actionPool()->action(UIActionIndex_M_Application_S_Preferences));
    12661266        pMenuGlobal->addSeparator();
    1267         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ImportAppliance));
    1268         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ExportAppliance));
    1269         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_NewCloudVM));
     1267        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ImportAppliance));
     1268        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ExportAppliance));
     1269        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_NewCloudVM));
    12701270# ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    1271         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ShowExtraDataManager));
     1271        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ShowExtraDataManager));
    12721272# endif
    1273         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ShowVirtualMediumManager));
    1274         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ShowHostNetworkManager));
     1273        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ShowVirtualMediumManager));
     1274        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ShowHostNetworkManager));
    12751275        if (fExtPackAccessible)
    1276             pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ShowCloudProfileManager));
     1276            pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ShowCloudProfileManager));
    12771277
    12781278#else /* !VBOX_WS_MAC */
     
    12801280        pMenuGlobal->addAction(actionPool()->action(UIActionIndex_M_Application_S_Preferences));
    12811281        pMenuGlobal->addSeparator();
    1282         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ImportAppliance));
    1283         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ExportAppliance));
    1284         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_NewCloudVM));
     1282        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ImportAppliance));
     1283        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ExportAppliance));
     1284        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_NewCloudVM));
    12851285        pMenuGlobal->addSeparator();
    12861286# ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    1287         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ShowExtraDataManager));
     1287        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ShowExtraDataManager));
    12881288# endif
    1289         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ShowVirtualMediumManager));
    1290         pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ShowHostNetworkManager));
     1289        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ShowVirtualMediumManager));
     1290        pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ShowHostNetworkManager));
    12911291        if (fExtPackAccessible)
    1292             pMenuGlobal->addAction(actionPool()->action(UIActionIndexST_M_File_S_ShowCloudProfileManager));
     1292            pMenuGlobal->addAction(actionPool()->action(UIActionIndexMN_M_File_S_ShowCloudProfileManager));
    12931293# ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    12941294        pMenuGlobal->addAction(actionPool()->action(UIActionIndex_M_Application_S_NetworkAccessManager));
     
    13031303    if (QMenu *pMenuGroup = m_localMenus.value(UIChooserNodeType_Group))
    13041304    {
    1305         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_New));
    1306         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Add));
     1305        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_New));
     1306        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Add));
    13071307        pMenuGroup->addSeparator();
    1308         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Rename));
    1309         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Remove));
    1310         pMenuGroup->addMenu(actionPool()->action(UIActionIndexST_M_Group_M_MoveToGroup)->menu());
     1308        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Rename));
     1309        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Remove));
     1310        pMenuGroup->addMenu(actionPool()->action(UIActionIndexMN_M_Group_M_MoveToGroup)->menu());
    13111311        pMenuGroup->addSeparator();
    1312         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow));
    1313         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_T_Pause));
    1314         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Reset));
    1315         pMenuGroup->addMenu(actionPool()->action(UIActionIndexST_M_Group_M_Close)->menu());
     1312        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow));
     1313        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_T_Pause));
     1314        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Reset));
     1315        pMenuGroup->addMenu(actionPool()->action(UIActionIndexMN_M_Group_M_Close)->menu());
    13161316        pMenuGroup->addSeparator();
    1317         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Discard));
    1318         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_ShowLogDialog));
    1319         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Refresh));
     1317        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Discard));
     1318        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_ShowLogDialog));
     1319        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Refresh));
    13201320        pMenuGroup->addSeparator();
    1321         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_ShowInFileManager));
    1322         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_CreateShortcut));
     1321        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_ShowInFileManager));
     1322        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_CreateShortcut));
    13231323        pMenuGroup->addSeparator();
    1324         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Sort));
     1324        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Sort));
    13251325    }
    13261326
     
    13291329    if (QMenu *pMenuMachine = m_localMenus.value(UIChooserNodeType_Machine))
    13301330    {
    1331         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Settings));
    1332         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Clone));
    1333         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Move));
    1334         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_ExportToOCI));
    1335         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Remove));
    1336         pMenuMachine->addMenu(actionPool()->action(UIActionIndexST_M_Machine_M_MoveToGroup)->menu());
     1331        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings));
     1332        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Clone));
     1333        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Move));
     1334        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_ExportToOCI));
     1335        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Remove));
     1336        pMenuMachine->addMenu(actionPool()->action(UIActionIndexMN_M_Machine_M_MoveToGroup)->menu());
    13371337        pMenuMachine->addSeparator();
    1338         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow));
    1339         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_T_Pause));
    1340         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Reset));
    1341         pMenuMachine->addMenu(actionPool()->action(UIActionIndexST_M_Machine_M_Close)->menu());
     1338        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow));
     1339        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_T_Pause));
     1340        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Reset));
     1341        pMenuMachine->addMenu(actionPool()->action(UIActionIndexMN_M_Machine_M_Close)->menu());
    13421342        pMenuMachine->addSeparator();
    1343         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Discard));
    1344         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_ShowLogDialog));
    1345         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Refresh));
     1343        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard));
     1344        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_ShowLogDialog));
     1345        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Refresh));
    13461346        pMenuMachine->addSeparator();
    1347         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_ShowInFileManager));
    1348         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_CreateShortcut));
     1347        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_ShowInFileManager));
     1348        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_CreateShortcut));
    13491349        pMenuMachine->addSeparator();
    1350         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_SortParent));
    1351         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_T_Search));
     1350        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_SortParent));
     1351        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_T_Search));
    13521352    }
    13531353
     
    13561356    if (QMenu *pMenuGroup = m_cloudMenus.value(UIChooserNodeType_Group))
    13571357    {
    1358         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_New));
    1359         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Add));
     1358        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_New));
     1359        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Add));
    13601360        pMenuGroup->addSeparator();
    1361         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_M_StartOrShow));
    1362         pMenuGroup->addMenu(actionPool()->action(UIActionIndexST_M_Group_M_Console)->menu());
    1363         pMenuGroup->addMenu(actionPool()->action(UIActionIndexST_M_Group_M_Close)->menu());
     1361        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_M_StartOrShow));
     1362        pMenuGroup->addMenu(actionPool()->action(UIActionIndexMN_M_Group_M_Console)->menu());
     1363        pMenuGroup->addMenu(actionPool()->action(UIActionIndexMN_M_Group_M_Close)->menu());
    13641364        pMenuGroup->addSeparator();
    1365         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Discard));
    1366         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Refresh));
     1365        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Discard));
     1366        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Refresh));
    13671367        pMenuGroup->addSeparator();
    1368         pMenuGroup->addAction(actionPool()->action(UIActionIndexST_M_Group_S_Sort));
     1368        pMenuGroup->addAction(actionPool()->action(UIActionIndexMN_M_Group_S_Sort));
    13691369    }
    13701370
     
    13731373    if (QMenu *pMenuMachine = m_cloudMenus.value(UIChooserNodeType_Machine))
    13741374    {
    1375         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Settings));
    1376         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Remove));
     1375        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings));
     1376        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Remove));
    13771377        pMenuMachine->addSeparator();
    1378         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_M_StartOrShow));
    1379         pMenuMachine->addMenu(actionPool()->action(UIActionIndexST_M_Machine_M_Console)->menu());
    1380         pMenuMachine->addMenu(actionPool()->action(UIActionIndexST_M_Machine_M_Close)->menu());
     1378        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_M_StartOrShow));
     1379        pMenuMachine->addMenu(actionPool()->action(UIActionIndexMN_M_Machine_M_Console)->menu());
     1380        pMenuMachine->addMenu(actionPool()->action(UIActionIndexMN_M_Machine_M_Close)->menu());
    13811381        pMenuMachine->addSeparator();
    1382         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Discard));
    1383         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_Refresh));
     1382        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Discard));
     1383        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_Refresh));
    13841384        pMenuMachine->addSeparator();
    1385         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_S_SortParent));
    1386         pMenuMachine->addAction(actionPool()->action(UIActionIndexST_M_Machine_T_Search));
     1385        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_S_SortParent));
     1386        pMenuMachine->addAction(actionPool()->action(UIActionIndexMN_M_Machine_T_Search));
    13871387    }
    13881388}
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.cpp

    r82968 r85597  
    171171QMenu *UIMediumManagerWidget::menu() const
    172172{
    173     return m_pActionPool->action(UIActionIndexST_M_MediumWindow)->menu();
     173    return m_pActionPool->action(UIActionIndexMN_M_MediumWindow)->menu();
    174174}
    175175
     
    393393{
    394394    /* Disable 'refresh' action: */
    395     if (m_pActionPool->action(UIActionIndexST_M_Medium_S_Refresh))
    396         m_pActionPool->action(UIActionIndexST_M_Medium_S_Refresh)->setEnabled(false);
     395    if (m_pActionPool->action(UIActionIndexMN_M_Medium_S_Refresh))
     396        m_pActionPool->action(UIActionIndexMN_M_Medium_S_Refresh)->setEnabled(false);
    397397
    398398    /* Disable details-widget: */
     
    462462
    463463    /* Enable 'refresh' action: */
    464     if (m_pActionPool->action(UIActionIndexST_M_Medium_S_Refresh))
    465         m_pActionPool->action(UIActionIndexST_M_Medium_S_Refresh)->setEnabled(true);
     464    if (m_pActionPool->action(UIActionIndexMN_M_Medium_S_Refresh))
     465        m_pActionPool->action(UIActionIndexMN_M_Medium_S_Refresh)->setEnabled(true);
    466466
    467467    /* Re-fetch all current medium-items: */
     
    631631    if (pTreeWidget->itemAt(position))
    632632    {
    633         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Copy));
    634         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Move));
    635         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Remove));
    636         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Release));
    637         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_T_Search));
    638         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_T_Details));
     633        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Copy));
     634        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Move));
     635        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Remove));
     636        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Release));
     637        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Search));
     638        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details));
    639639    }
    640640    else
    641641    {
    642         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Add));
    643         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Create));
    644         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_T_Search));
    645         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Refresh));
     642        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Add));
     643        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Create));
     644        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Search));
     645        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Refresh));
    646646    }
    647647    /* And show it: */
     
    733733{
    734734    /* First of all, add actions which has smaller shortcut scope: */
    735     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Add));
    736     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Create));
    737     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Copy));
    738     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Move));
    739     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Remove));
    740     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Release));
    741     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_T_Search));
    742     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_T_Details));
    743     addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Refresh));
     735    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Add));
     736    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Create));
     737    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Copy));
     738    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Move));
     739    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Remove));
     740    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Release));
     741    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Search));
     742    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details));
     743    addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Refresh));
    744744
    745745    /* Connect actions: */
    746     connect(m_pActionPool->action(UIActionIndexST_M_Medium_S_Add), &QAction::triggered,
     746    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Add), &QAction::triggered,
    747747            this, &UIMediumManagerWidget::sltAddMedium);
    748     connect(m_pActionPool->action(UIActionIndexST_M_Medium_S_Create), &QAction::triggered,
     748    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Create), &QAction::triggered,
    749749            this, &UIMediumManagerWidget::sltCreateMedium);
    750     connect(m_pActionPool->action(UIActionIndexST_M_Medium_S_Copy), &QAction::triggered,
     750    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Copy), &QAction::triggered,
    751751            this, &UIMediumManagerWidget::sltCopyMedium);
    752     connect(m_pActionPool->action(UIActionIndexST_M_Medium_S_Move), &QAction::triggered,
     752    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Move), &QAction::triggered,
    753753            this, &UIMediumManagerWidget::sltMoveMedium);
    754     connect(m_pActionPool->action(UIActionIndexST_M_Medium_S_Remove), &QAction::triggered,
     754    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Remove), &QAction::triggered,
    755755            this, &UIMediumManagerWidget::sltRemoveMedium);
    756     connect(m_pActionPool->action(UIActionIndexST_M_Medium_S_Release), &QAction::triggered,
     756    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Release), &QAction::triggered,
    757757            this, &UIMediumManagerWidget::sltReleaseMedium);
    758     connect(m_pActionPool->action(UIActionIndexST_M_Medium_T_Details), &QAction::toggled,
     758    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details), &QAction::toggled,
    759759            this, &UIMediumManagerWidget::sltToggleMediumDetailsVisibility);
    760     connect(m_pActionPool->action(UIActionIndexST_M_Medium_T_Search), &QAction::toggled,
     760    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Search), &QAction::toggled,
    761761            this, &UIMediumManagerWidget::sltToggleMediumSearchVisibility);
    762     connect(m_pActionPool->action(UIActionIndexST_M_Medium_S_Refresh), &QAction::triggered,
     762    connect(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Refresh), &QAction::triggered,
    763763            this, &UIMediumManagerWidget::sltRefreshAll);
    764764
     
    805805
    806806        /* Add toolbar actions: */
    807         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Add));
    808         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Create));
     807        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Add));
     808        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Create));
    809809        m_pToolBar->addSeparator();
    810         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Copy));
    811         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Move));
    812         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Remove));
    813         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Release));
    814         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_T_Search));
    815         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_T_Details));
     810        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Copy));
     811        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Move));
     812        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Remove));
     813        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Release));
     814        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Search));
     815        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details));
    816816        m_pToolBar->addSeparator();
    817         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Medium_S_Refresh));
     817        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Medium_S_Refresh));
    818818
    819819#ifdef VBOX_WS_MAC
     
    904904                this, &UIMediumManagerWidget::sltHandleCurrentItemChanged);
    905905        connect(pTreeWidget, &QITreeWidget::itemDoubleClicked,
    906                 m_pActionPool->action(UIActionIndexST_M_Medium_T_Details), &QAction::setChecked);
     906                m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details), &QAction::setChecked);
    907907        connect(pTreeWidget, &QITreeWidget::customContextMenuRequested,
    908908                this, &UIMediumManagerWidget::sltHandleContextMenuRequest);
     
    958958{
    959959    /* Details action/widget: */
    960     m_pActionPool->action(UIActionIndexST_M_Medium_T_Details)->setChecked(gEDataManager->virtualMediaManagerDetailsExpanded());
    961     sltToggleMediumDetailsVisibility(m_pActionPool->action(UIActionIndexST_M_Medium_T_Details)->isChecked());
     960    m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details)->setChecked(gEDataManager->virtualMediaManagerDetailsExpanded());
     961    sltToggleMediumDetailsVisibility(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details)->isChecked());
    962962
    963963    /* Search action/widget: */
    964     m_pActionPool->action(UIActionIndexST_M_Medium_T_Search)->setChecked(gEDataManager->virtualMediaManagerSearchWidgetExpanded());
    965     sltToggleMediumSearchVisibility(m_pActionPool->action(UIActionIndexST_M_Medium_T_Search)->isChecked());
     964    m_pActionPool->action(UIActionIndexMN_M_Medium_T_Search)->setChecked(gEDataManager->virtualMediaManagerSearchWidgetExpanded());
     965    sltToggleMediumSearchVisibility(m_pActionPool->action(UIActionIndexMN_M_Medium_T_Search)->isChecked());
    966966}
    967967
     
    10651065    /* Apply actions accessibility: */
    10661066    bool fActionEnabledCopy = fNotInEnumeration && pMediumItem && checkMediumFor(pMediumItem, Action_Copy);
    1067     m_pActionPool->action(UIActionIndexST_M_Medium_S_Copy)->setEnabled(fActionEnabledCopy);
     1067    m_pActionPool->action(UIActionIndexMN_M_Medium_S_Copy)->setEnabled(fActionEnabledCopy);
    10681068    bool fActionEnabledMove = fNotInEnumeration && pMediumItem && checkMediumFor(pMediumItem, Action_Edit);
    1069     m_pActionPool->action(UIActionIndexST_M_Medium_S_Move)->setEnabled(fActionEnabledMove);
     1069    m_pActionPool->action(UIActionIndexMN_M_Medium_S_Move)->setEnabled(fActionEnabledMove);
    10701070    bool fActionEnabledRemove = fNotInEnumeration && pMediumItem && checkMediumFor(pMediumItem, Action_Remove);
    1071     m_pActionPool->action(UIActionIndexST_M_Medium_S_Remove)->setEnabled(fActionEnabledRemove);
     1071    m_pActionPool->action(UIActionIndexMN_M_Medium_S_Remove)->setEnabled(fActionEnabledRemove);
    10721072    bool fActionEnabledRelease = fNotInEnumeration && pMediumItem && checkMediumFor(pMediumItem, Action_Release);
    1073     m_pActionPool->action(UIActionIndexST_M_Medium_S_Release)->setEnabled(fActionEnabledRelease);
     1073    m_pActionPool->action(UIActionIndexMN_M_Medium_S_Release)->setEnabled(fActionEnabledRelease);
    10741074    bool fActionEnabledDetails = true;
    1075     m_pActionPool->action(UIActionIndexST_M_Medium_T_Details)->setEnabled(fActionEnabledDetails);
     1075    m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details)->setEnabled(fActionEnabledDetails);
    10761076}
    10771077
     
    10811081    if (enmCurrentMediumType != UIMediumDeviceType_Invalid)
    10821082    {
    1083         m_pActionPool->action(UIActionIndexST_M_Medium_S_Add)->setState((int)enmCurrentMediumType);
    1084         m_pActionPool->action(UIActionIndexST_M_Medium_S_Create)->setState((int)enmCurrentMediumType);
    1085         m_pActionPool->action(UIActionIndexST_M_Medium_S_Copy)->setState((int)enmCurrentMediumType);
    1086         m_pActionPool->action(UIActionIndexST_M_Medium_S_Move)->setState((int)enmCurrentMediumType);
    1087         m_pActionPool->action(UIActionIndexST_M_Medium_S_Remove)->setState((int)enmCurrentMediumType);
    1088         m_pActionPool->action(UIActionIndexST_M_Medium_S_Release)->setState((int)enmCurrentMediumType);
    1089         m_pActionPool->action(UIActionIndexST_M_Medium_T_Details)->setState((int)enmCurrentMediumType);
     1083        m_pActionPool->action(UIActionIndexMN_M_Medium_S_Add)->setState((int)enmCurrentMediumType);
     1084        m_pActionPool->action(UIActionIndexMN_M_Medium_S_Create)->setState((int)enmCurrentMediumType);
     1085        m_pActionPool->action(UIActionIndexMN_M_Medium_S_Copy)->setState((int)enmCurrentMediumType);
     1086        m_pActionPool->action(UIActionIndexMN_M_Medium_S_Move)->setState((int)enmCurrentMediumType);
     1087        m_pActionPool->action(UIActionIndexMN_M_Medium_S_Remove)->setState((int)enmCurrentMediumType);
     1088        m_pActionPool->action(UIActionIndexMN_M_Medium_S_Release)->setState((int)enmCurrentMediumType);
     1089        m_pActionPool->action(UIActionIndexMN_M_Medium_T_Details)->setState((int)enmCurrentMediumType);
    10901090    }
    10911091}
  • trunk/src/VBox/Frontends/VirtualBox/src/monitor/resource/UIResourceMonitor.cpp

    r85596 r85597  
    14181418void UIResourceMonitorWidget::updateColumnsMenu()
    14191419{
    1420     UIMenu *pMenu = m_pActionPool->action(UIActionIndexST_M_VMResourceMonitor_M_Columns)->menu();
     1420    UIMenu *pMenu = m_pActionPool->action(UIActionIndexMN_M_VMResourceMonitor_M_Columns)->menu();
    14211421    if (!pMenu)
    14221422        return;
     
    14381438    updateColumnsMenu();
    14391439    m_pShowPerformanceMonitorAction =
    1440         m_pActionPool->action(UIActionIndexST_M_VMResourceMonitor_S_SwitchToMachinePerformance);
     1440        m_pActionPool->action(UIActionIndexMN_M_VMResourceMonitor_S_SwitchToMachinePerformance);
    14411441
    14421442    if (m_pShowPerformanceMonitorAction)
  • trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotPane.cpp

    r82968 r85597  
    10831083    if (m_pCurrentSnapshotItem && !pSnapshotItem->isCurrentStateItem())
    10841084    {
    1085         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Delete));
     1085        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Delete));
    10861086        menu.addSeparator();
    1087         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Restore));
    1088         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_T_Properties));
     1087        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Restore));
     1088        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_T_Properties));
    10891089        menu.addSeparator();
    1090         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Clone));
     1090        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Clone));
    10911091    }
    10921092    /* For "current state" item: */
    10931093    else
    10941094    {
    1095         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Take));
     1095        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Take));
    10961096        menu.addSeparator();
    1097         menu.addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Clone));
     1097        menu.addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Clone));
    10981098    }
    10991099
     
    11721172        {
    11731173            /* As show details-widget procedure: */
    1174             m_pActionPool->action(UIActionIndexST_M_Snapshot_T_Properties)->setChecked(true);
     1174            m_pActionPool->action(UIActionIndexMN_M_Snapshot_T_Properties)->setChecked(true);
    11751175        }
    11761176    }
     
    12311231{
    12321232    /* First of all, add actions which has smaller shortcut scope: */
    1233     addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Take));
    1234     addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Delete));
    1235     addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Restore));
    1236     addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_T_Properties));
    1237     addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Clone));
     1233    addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Take));
     1234    addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Delete));
     1235    addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Restore));
     1236    addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_T_Properties));
     1237    addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Clone));
    12381238
    12391239    /* Connect actions: */
    1240     connect(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Take), &UIAction::triggered,
     1240    connect(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Take), &UIAction::triggered,
    12411241            this, &UISnapshotPane::sltTakeSnapshot);
    1242     connect(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Delete), &UIAction::triggered,
     1242    connect(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Delete), &UIAction::triggered,
    12431243            this, &UISnapshotPane::sltDeleteSnapshot);
    1244     connect(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Restore), &UIAction::triggered,
     1244    connect(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Restore), &UIAction::triggered,
    12451245            this, &UISnapshotPane::sltRestoreSnapshot);
    1246     connect(m_pActionPool->action(UIActionIndexST_M_Snapshot_T_Properties), &UIAction::toggled,
     1246    connect(m_pActionPool->action(UIActionIndexMN_M_Snapshot_T_Properties), &UIAction::toggled,
    12471247            this, &UISnapshotPane::sltToggleSnapshotDetailsVisibility);
    1248     connect(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Clone), &UIAction::triggered,
     1248    connect(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Clone), &UIAction::triggered,
    12491249            this, &UISnapshotPane::sltCloneSnapshot);
    12501250}
     
    12861286
    12871287        /* Add toolbar actions: */
    1288         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Take));
    1289         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Delete));
     1288        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Take));
     1289        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Delete));
    12901290        m_pToolBar->addSeparator();
    1291         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Restore));
    1292         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_T_Properties));
     1291        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Restore));
     1292        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_T_Properties));
    12931293        m_pToolBar->addSeparator();
    1294         m_pToolBar->addAction(m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Clone));
     1294        m_pToolBar->addAction(m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Clone));
    12951295
    12961296        /* Add into layout: */
     
    13391339{
    13401340    /* Details action/widget: */
    1341     m_pActionPool->action(UIActionIndexST_M_Snapshot_T_Properties)->
     1341    m_pActionPool->action(UIActionIndexMN_M_Snapshot_T_Properties)->
    13421342        setChecked(gEDataManager->snapshotManagerDetailsExpanded());
    13431343}
     
    14851485
    14861486    /* Update 'Take' action: */
    1487     m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Take)->setEnabled(
     1487    m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Take)->setEnabled(
    14881488           m_fShapshotOperationsAllowed
    14891489        && (   (   fCanTakeDeleteSnapshot
     
    14961496
    14971497    /* Update 'Delete' action: */
    1498     m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Delete)->setEnabled(
     1498    m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Delete)->setEnabled(
    14991499           m_fShapshotOperationsAllowed
    15001500        && fCanTakeDeleteSnapshot
     
    15051505
    15061506    /* Update 'Restore' action: */
    1507     m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Restore)->setEnabled(
     1507    m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Restore)->setEnabled(
    15081508           !fBusy
    15091509        && m_pCurrentSnapshotItem
     
    15131513
    15141514    /* Update 'Show Details' action: */
    1515     m_pActionPool->action(UIActionIndexST_M_Snapshot_T_Properties)->setEnabled(
     1515    m_pActionPool->action(UIActionIndexMN_M_Snapshot_T_Properties)->setEnabled(
    15161516        pSnapshotItem
    15171517    );
    15181518
    15191519    /* Update 'Clone' action: */
    1520     m_pActionPool->action(UIActionIndexST_M_Snapshot_S_Clone)->setEnabled(
     1520    m_pActionPool->action(UIActionIndexMN_M_Snapshot_S_Clone)->setEnabled(
    15211521           pSnapshotItem
    15221522        && (   !pSnapshotItem->isCurrentStateItem()
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