Commit eec6200b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt menus: many new accelerators.

parent 3eaf01d2
...@@ -736,28 +736,28 @@ void QVLCMenu::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf ) ...@@ -736,28 +736,28 @@ void QVLCMenu::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf )
QAction *action; QAction *action;
/* Faster/Slower */ /* Faster/Slower */
action = menu->addAction( qtr( "Faster" ), THEMIM->getIM(), action = menu->addAction( qtr( "&Faster" ), THEMIM->getIM(),
SLOT( faster() ) ); SLOT( faster() ) );
action->setIcon( QIcon( ":/faster") ); action->setIcon( QIcon( ":/faster") );
action->setData( true ); action->setData( true );
action = menu->addAction( qtr( "Normal Speed" ), THEMIM->getIM(), action = menu->addAction( qtr( "N&ormal Speed" ), THEMIM->getIM(),
SLOT( normalRate() ) ); SLOT( normalRate() ) );
action->setData( true ); action->setData( true );
action = menu->addAction( qtr( "Slower" ), THEMIM->getIM(), action = menu->addAction( qtr( "Slo&wer" ), THEMIM->getIM(),
SLOT( slower() ) ); SLOT( slower() ) );
action->setIcon( QIcon( ":/slower") ); action->setIcon( QIcon( ":/slower") );
action->setData( true ); action->setData( true );
menu->addSeparator(); menu->addSeparator();
action = menu->addAction( qtr( "Jump Forward" ), THEMIM->getIM(), action = menu->addAction( qtr( "&Jump Forward" ), THEMIM->getIM(),
SLOT( jumpFwd() ) ); SLOT( jumpFwd() ) );
action->setIcon( QIcon( ":/skip_fw") ); action->setIcon( QIcon( ":/skip_fw") );
action->setData( true ); action->setData( true );
action = menu->addAction( qtr( "Jump Backward" ), THEMIM->getIM(), action = menu->addAction( qtr( "Jump Bac&kward" ), THEMIM->getIM(),
SLOT( jumpBwd() ) ); SLOT( jumpBwd() ) );
action->setIcon( QIcon( ":/skip_back") ); action->setIcon( QIcon( ":/skip_back") );
action->setData( true ); action->setData( true );
...@@ -770,15 +770,15 @@ void QVLCMenu::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf ) ...@@ -770,15 +770,15 @@ void QVLCMenu::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf )
void QVLCMenu::PopupMenuPlaylistControlEntries( QMenu *menu, void QVLCMenu::PopupMenuPlaylistControlEntries( QMenu *menu,
intf_thread_t *p_intf ) intf_thread_t *p_intf )
{ {
addMIMStaticEntry( p_intf, menu, qtr( "Stop" ), ":/stop", SLOT( stop() ) ); addMIMStaticEntry( p_intf, menu, qtr( "&Stop" ), ":/stop", SLOT( stop() ) );
/* Next / Previous */ /* Next / Previous */
addMIMStaticEntry( p_intf, menu, qtr( "Previous" ), addMIMStaticEntry( p_intf, menu, qtr( "Pre&vious" ),
":/previous", SLOT( prev() ) ); ":/previous", SLOT( prev() ) );
addMIMStaticEntry( p_intf, menu, qtr( "Next" ), addMIMStaticEntry( p_intf, menu, qtr( "Ne&xt" ),
":/next", SLOT( next() ) ); ":/next", SLOT( next() ) );
menu->addSeparator(); menu->addSeparator();
}
void QVLCMenu::PopupMenuStaticEntries( QMenu *menu ) void QVLCMenu::PopupMenuStaticEntries( QMenu *menu )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment