Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
6c14f25b
Commit
6c14f25b
authored
Nov 22, 2019
by
Jean-Baptiste Mardelle
Browse files
Add action triggering display of master effects
parent
0d120122
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/kdenliveui.rc
View file @
6c14f25b
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui
name=
"kdenlive"
version=
"16
7
"
translationDomain=
"kdenlive"
>
<kpartgui
name=
"kdenlive"
version=
"16
8
"
translationDomain=
"kdenlive"
>
<MenuBar>
<Menu
name=
"file"
>
<Action
name=
"dvd_wizard"
/>
...
...
@@ -128,6 +128,7 @@
<Action
name=
"save_selection"
/>
<Action
name=
"send_library"
/>
<Menu
name=
"timeline_tracks"
><text>
Tracks
</text>
<Action
name=
"master_effects"
/>
<Action
name=
"insert_track"
/>
<Action
name=
"delete_track"
/>
<Separator
/>
...
...
src/mainwindow.cpp
View file @
6c14f25b
...
...
@@ -1428,6 +1428,13 @@ void MainWindow::setupActions()
QAction
*
insertTrack
=
new
QAction
(
QIcon
(),
i18n
(
"Insert Track"
),
this
);
connect
(
insertTrack
,
&
QAction
::
triggered
,
this
,
&
MainWindow
::
slotInsertTrack
);
timelineActions
->
addAction
(
QStringLiteral
(
"insert_track"
),
insertTrack
);
QAction
*
masterEffectStack
=
new
QAction
(
QIcon
::
fromTheme
(
QStringLiteral
(
"kdenlive-composite"
)),
i18n
(
"Master effects"
),
this
);
connect
(
masterEffectStack
,
&
QAction
::
triggered
,
[
&
]()
{
pCore
->
monitorManager
()
->
activateMonitor
(
Kdenlive
::
ProjectMonitor
);
getCurrentTimeline
()
->
controller
()
->
showMasterEffects
();
});
timelineActions
->
addAction
(
QStringLiteral
(
"master_effects"
),
masterEffectStack
);
QAction
*
deleteTrack
=
new
QAction
(
QIcon
(),
i18n
(
"Delete Track"
),
this
);
connect
(
deleteTrack
,
&
QAction
::
triggered
,
this
,
&
MainWindow
::
slotDeleteTrack
);
...
...
Write
Preview
Supports
Markdown
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