Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4d866e7a
Commit
4d866e7a
authored
Feb 20, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: menus, comments fixes.
parent
b9bfa887
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+7
-5
No files found.
modules/gui/qt4/menus.cpp
View file @
4d866e7a
...
...
@@ -277,8 +277,10 @@ void QVLCMenu::createMenuBar( MainInterface *mi,
gives the QProcess::destroyed timeout issue on Cleanlooks style with
setDesktopAware set to false */
QMenuBar
*
bar
=
mi
->
menuBar
();
BAR_ADD
(
FileMenu
(
p_intf
,
bar
),
qtr
(
"&Media"
)
);
/* Dynamic menus, rebuilt before being showed */
BAR_DADD
(
NavigMenu
(
p_intf
,
bar
),
qtr
(
"P&layback"
),
3
);
BAR_DADD
(
AudioMenu
(
p_intf
,
bar
),
qtr
(
"&Audio"
),
1
);
BAR_DADD
(
VideoMenu
(
p_intf
,
bar
),
qtr
(
"&Video"
),
2
);
...
...
@@ -286,7 +288,6 @@ void QVLCMenu::createMenuBar( MainInterface *mi,
BAR_ADD
(
ToolsMenu
(
bar
),
qtr
(
"&Tools"
)
);
BAR_ADD
(
ViewMenu
(
p_intf
,
NULL
,
mi
,
visual_selector_enabled
,
true
),
qtr
(
"V&iew"
)
);
BAR_ADD
(
HelpMenu
(
bar
),
qtr
(
"&Help"
)
);
}
#undef BAR_ADD
...
...
@@ -341,7 +342,9 @@ QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent )
return
menu
;
}
/* Playlist/MediaLibrary Control */
/**
* Tools, like Media Information, Preferences or Messages
**/
QMenu
*
QVLCMenu
::
ToolsMenu
(
QMenu
*
menu
)
{
addDPStaticEntry
(
menu
,
qtr
(
I_MENU_EXT
),
":/settings"
,
...
...
@@ -380,7 +383,7 @@ QMenu *QVLCMenu::ToolsMenu( QWidget *parent )
/**
* View Menu
*
This menu can be an interface menu but also a right click menu.
*
Interface Modification
**/
QMenu
*
QVLCMenu
::
ViewMenu
(
intf_thread_t
*
p_intf
,
QMenu
*
current
,
...
...
@@ -464,7 +467,6 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
{
vector
<
vlc_object_t
*>
objects
;
vector
<
const
char
*>
varnames
;
/** \todo add "switch to XXX" */
varnames
.
push_back
(
"intf-add"
);
objects
.
push_back
(
VLC_OBJECT
(
p_intf
)
);
...
...
@@ -473,7 +475,7 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
/**
* Main Audio Menu
*/
*
*
/
QMenu
*
QVLCMenu
::
AudioMenu
(
intf_thread_t
*
p_intf
,
QMenu
*
current
)
{
vector
<
vlc_object_t
*>
objects
;
...
...
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