Commit 17444fc7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

qt4 - menus. Try to add some pictures to have more User-friendly menus.

parent 8bc57b36
......@@ -399,7 +399,7 @@ QMenu *QVLCMenu::SDMenu( intf_thread_t *p_intf )
QMenu *QVLCMenu::HelpMenu()
{
QMenu *menu = new QMenu();
DP_SADD( menu, qtr("Help") , "", "", helpDialog(), "F1" );
DP_SADD( menu, qtr("Help") , "", ":/pixmaps/vlc_help_16px.png", helpDialog(), "F1" );
menu->addSeparator();
DP_SADD( menu, qtr(I_MENU_ABOUT), "", "", aboutDialog(), "Ctrl+F1");
return menu;
......@@ -437,8 +437,9 @@ QMenu *QVLCMenu::HelpMenu()
MIM_SADD( menu, qtr("Play"), "", "", togglePlayPause() ); \
\
MIM_SADD( menu, qtr("Stop"), "", "", stop() ); \
MIM_SADD( menu, qtr("Previous"), "", "", prev() ); \
MIM_SADD( menu, qtr("Next"), "", "", next() );
MIM_SADD( menu, qtr("Previous"), "", ":/pixmaps/vlc_previous_16px.png", \
prev() ); \
MIM_SADD( menu, qtr("Next"), "", ":/pixmaps/vlc_next_16px.png", next() );
#define POPUP_STATIC_ENTRIES \
POPUP_PLAY_ENTRIES( menu ); \
......
......@@ -18,5 +18,9 @@
<file>pixmaps/spref_cone_Hotkeys_64.png</file>
<file>pixmaps/spref_cone_Subtitles_64.png</file>
<file>pixmaps/spref_cone_Interface_64.png</file>
<file>pixmaps/vlc_help_16px.png</file>
<file>pixmaps/vlc_info_16px.png</file>
<file>pixmaps/vlc_next_16px.png</file>
<file>pixmaps/vlc_previous_16px.png</file>
</qresource>
</RCC>
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