Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e1b1fc71
Commit
e1b1fc71
authored
Apr 30, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Menus. Add the missing dialogs calls. If someone wants to write VLM and Bookmarks dialogs...
parent
6cfabf4a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
include/vlc_intf_strings.h
include/vlc_intf_strings.h
+2
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+9
-0
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/dialogs_provider.hpp
+1
-0
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+4
-1
No files found.
include/vlc_intf_strings.h
View file @
e1b1fc71
...
...
@@ -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...")
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
e1b1fc71
...
...
@@ -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(); */
}
/****************************************************************************
...
...
modules/gui/qt4/dialogs_provider.hpp
View file @
e1b1fc71
...
...
@@ -157,6 +157,7 @@ public slots:
void
hideMenus
();
void
switchToSkins
();
void
gotoTimeDialog
();
void
vlmDialog
();
void
helpDialog
();
void
aboutDialog
();
};
...
...
modules/gui/qt4/menus.cpp
View file @
e1b1fc71
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment