vlc_linux/vlc-3.0.16/modules/gui/qt/menus.cpp
/**
 * Navigation Menu
 * For DVD, MP4, MOV and other chapter based format
 **/
Navigation Menu
For DVD, MP4, MOV and other chapter based format
Navigation Menu For DVD MP4 MOV and other chapter based format
QMenu *VLCMenuBar::NavigMenu( intf_thread_t *p_intf, QMenu *menu )
{
    QAction *action;
    QMenu *submenu;
    addActionWithSubmenu( menu, "title", qtr( "T&itle" ) );
    submenu = addActionWithSubmenu( menu, "chapter", qtr( "&Chapter" ) );
    submenu->setTearOffEnabled( true );
    addActionWithSubmenu( menu, "program", qtr( "&Program" ) );
    submenu = new QMenu( qtr( I_MENU_BOOKMARK ), menu );
    submenu->setTearOffEnabled( true );
    addDPStaticEntry( submenu, qtr( "&Manage" ), "",
                      SLOT( bookmarksDialog() ), "Ctrl+B" );
    submenu->addSeparator();
    action = menu->addMenu( submenu );
    action->setData( "bookmark" );
    menu->addSeparator();
    if ( !rendererMenu )
        rendererMenu = RendererMenu( p_intf );
    menu->addMenu( rendererMenu );
    menu->addSeparator();
    PopupMenuControlEntries( menu, p_intf );
    EnableStaticEntries( menu, ( THEMIM->getInput() != NULL ) );
    return RebuildNavigMenu( p_intf, menu, true );
}
QMenu * VLCMenuBar :: NavigMenu ( intf_thread_t * p_intf , QMenu * menu ) { QAction * action ; QMenu * submenu ; addActionWithSubmenu ( menu , " " , qtr ( " " ) ) ; submenu = addActionWithSubmenu ( menu , " " , qtr ( " " ) ) ; submenu -> setTearOffEnabled ( true ) ; addActionWithSubmenu ( menu , " " , qtr ( " " ) ) ; submenu = new QMenu ( qtr ( I_MENU_BOOKMARK ) , menu ) ; submenu -> setTearOffEnabled ( true ) ; addDPStaticEntry ( submenu , qtr ( " " ) , " " , SLOT ( bookmarksDialog ( ) ) , " " ) ; submenu -> addSeparator ( ) ; action = menu -> addMenu ( submenu ) ; action -> setData ( " " ) ; menu -> addSeparator ( ) ; if ( ! rendererMenu ) rendererMenu = RendererMenu ( p_intf ) ; menu -> addMenu ( rendererMenu ) ; menu -> addSeparator ( ) ; PopupMenuControlEntries ( menu , p_intf ) ; EnableStaticEntries ( menu , ( THEMIM -> getInput ( ) != NULL ) ) ; return RebuildNavigMenu ( p_intf , menu , true ) ; }
Navigation Menu
 For DVD, MP4, MOV and other chapter based format
Navigation Menu For DVD MP4 MOV and other chapter based format