vlc_linux/vlc-3.0.16/modules/gui/qt/menus.cpp
/**
 * Tools, like Media Information, Preferences or Messages
 **/
Tools, like Media Information, Preferences or Messages
Tools like Media Information Preferences or Messages
QMenu *VLCMenuBar::ToolsMenu( intf_thread_t *p_intf, QMenu *menu )
{
    addDPStaticEntry( menu, qtr( "&Effects and Filters"), ":/menu/settings.svg",
            SLOT( extendedDialog() ), "Ctrl+E" );
    addDPStaticEntry( menu, qtr( "&Track Synchronization"), ":/menu/setting.svgs",
            SLOT( synchroDialog() ), "" );
    addDPStaticEntry( menu, qtr( I_MENU_INFO ) , ":/menu/info.svg",
        SLOT( mediaInfoDialog() ), "Ctrl+I" );
    addDPStaticEntry( menu, qtr( I_MENU_CODECINFO ) ,
        ":/menu/info.svg", SLOT( mediaCodecDialog() ), "Ctrl+J" );
#ifdef ENABLE_VLM
    addDPStaticEntry( menu, qtr( I_MENU_VLM ), "", SLOT( vlmDialog() ),
        "Ctrl+Shift+W" );
#endif
    addDPStaticEntry( menu, qtr( "Program Guide" ), "", SLOT( epgDialog() ),
        "" );
    addDPStaticEntry( menu, qtr( I_MENU_MSG ),
        ":/menu/messages.svg", SLOT( messagesDialog() ), "Ctrl+M" );
    addDPStaticEntry( menu, qtr( "Plu&gins and extensions" ),
        "", SLOT( pluginDialog() ) );
    menu->addSeparator();
    if( !p_intf->p_sys->b_isDialogProvider )
        addDPStaticEntry( menu, qtr( "Customi&ze Interface..." ),
            ":/menu/preferences.svg", SLOT( toolbarDialog() ) );
    addDPStaticEntry( menu, qtr( "&Preferences" ),
        ":/menu/preferences.svg", SLOT( prefsDialog() ), "Ctrl+P", QAction::PreferencesRole );
    return menu;
}
QMenu * VLCMenuBar :: ToolsMenu ( intf_thread_t * p_intf , QMenu * menu ) { addDPStaticEntry ( menu , qtr ( " " ) , " " , SLOT ( extendedDialog ( ) ) , " " ) ; addDPStaticEntry ( menu , qtr ( " " ) , " " , SLOT ( synchroDialog ( ) ) , " " ) ; addDPStaticEntry ( menu , qtr ( I_MENU_INFO ) , " " , SLOT ( mediaInfoDialog ( ) ) , " " ) ; addDPStaticEntry ( menu , qtr ( I_MENU_CODECINFO ) , " " , SLOT ( mediaCodecDialog ( ) ) , " " ) ; #ifdef ENABLE_VLM addDPStaticEntry ( menu , qtr ( I_MENU_VLM ) , " " , SLOT ( vlmDialog ( ) ) , " " ) ; #endif addDPStaticEntry ( menu , qtr ( " " ) , " " , SLOT ( epgDialog ( ) ) , " " ) ; addDPStaticEntry ( menu , qtr ( I_MENU_MSG ) , " " , SLOT ( messagesDialog ( ) ) , " " ) ; addDPStaticEntry ( menu , qtr ( " " ) , " " , SLOT ( pluginDialog ( ) ) ) ; menu -> addSeparator ( ) ; if ( ! p_intf -> p_sys -> b_isDialogProvider ) addDPStaticEntry ( menu , qtr ( " " ) , " " , SLOT ( toolbarDialog ( ) ) ) ; addDPStaticEntry ( menu , qtr ( " " ) , " " , SLOT ( prefsDialog ( ) ) , " " , QAction :: PreferencesRole ) ; return menu ; }
Tools, like Media Information, Preferences or Messages
Tools like Media Information Preferences or Messages