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

Qt4 - Menus. Add the missing dialogs calls. If someone wants to write VLM and Bookmarks dialogs...

parent 6cfabf4a
......@@ -43,6 +43,8 @@
#define I_MENU_MSG N_("Messages...")
#define I_MENU_EXT N_("Extended settings...")
#define I_MENU_GOTOTIME N_("Go to specific time...")
#define I_MENU_BOOKMARK N_("Bookmarks...")
#define I_MENU_VLM N_("VLM Configuration...")
#define I_MENU_ABOUT N_("About VLC media player...")
......
......@@ -116,6 +116,7 @@ void DialogsProvider::customEvent( QEvent *event )
case INTF_DIALOG_INTERACTION:
doInteraction( de->p_arg ); break;
case INTF_DIALOG_VLM:
vlmDialog(); break;
case INTF_DIALOG_WIZARD:
case INTF_DIALOG_UPDATEVLC:
case INTF_DIALOG_EXIT:
......@@ -152,6 +153,12 @@ void DialogsProvider::gotoTimeDialog()
GotoTimeDialog::getInstance( p_intf )->toggleVisible();
}
void DialogsProvider::vlmDialog()
{
/* FIXME */
/* VLMDialog::getInstance( p_intf )->toggleVisible(); */
}
void DialogsProvider::helpDialog()
{
HelpDialog::getInstance( p_intf )->toggleVisible();
......@@ -174,6 +181,8 @@ void DialogsProvider::mediaCodecDialog()
void DialogsProvider::bookmarksDialog()
{
/* FIXME */
/* BookmarkDialog::getInstance( p_intf )->toggleVisible(); */
}
/****************************************************************************
......
......@@ -157,6 +157,7 @@ public slots:
void hideMenus();
void switchToSkins();
void gotoTimeDialog();
void vlmDialog();
void helpDialog();
void aboutDialog();
};
......
......@@ -240,7 +240,10 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
DP_SADD( qtr(I_MENU_MSG), "", "", messagesDialog(), "Ctrl+M" );
DP_SADD( qtr(I_MENU_INFO) , "", "", mediaInfoDialog(), "Ctrl+J" );
DP_SADD( qtr(I_MENU_CODECINFO) , "", "", mediaCodecDialog(), "Ctrl+I" );
DP_SADD( qtr(I_MENU_GOTOTIME), "","",gotoTimeDialog(), "Ctrl+T" );
DP_SADD( qtr(I_MENU_GOTOTIME), "","", gotoTimeDialog(), "Ctrl+T" );
DP_SADD( qtr(I_MENU_BOOKMARK), "","", bookmarksDialog(), "Ctrl+B" );
DP_SADD( qtr(I_MENU_VLM), "","", vlmDialog(), "Ctrl+V" );
menu->addSeparator();
if( mi )
{
......
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