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
eec6200b
Commit
eec6200b
authored
Feb 22, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt menus: many new accelerators.
parent
3eaf01d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+9
-9
No files found.
modules/gui/qt4/menus.cpp
View file @
eec6200b
...
@@ -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
)
{
{
...
...
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