Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
5811ac80
Commit
5811ac80
authored
Apr 27, 2020
by
Akhil K Gangadharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
titler: Remember to show background
parent
453cfaad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
src/kdenlivesettings.kcfg
src/kdenlivesettings.kcfg
+4
-0
src/titler/titlewidget.cpp
src/titler/titlewidget.cpp
+6
-1
No files found.
src/kdenlivesettings.kcfg
View file @
5811ac80
...
...
@@ -1033,5 +1033,9 @@
<label>
Default background for titler.
</label>
<default>
0
</default>
</entry>
<entry
name=
"titlerShowbg"
type=
"Bool"
>
<label>
Show titler background.
</label>
<default>
false
</default>
</entry>
</group>
</kcfg>
src/titler/titlewidget.cpp
View file @
5811ac80
...
...
@@ -225,7 +225,12 @@ TitleWidget::TitleWidget(const QUrl &url, const Timecode &tc, QString projectTit
connect
(
buttonAlignCenter
,
&
QAbstractButton
::
clicked
,
this
,
&
TitleWidget
::
slotUpdateText
);
connect
(
edit_gradient
,
&
QAbstractButton
::
clicked
,
this
,
&
TitleWidget
::
slotEditGradient
);
connect
(
edit_rect_gradient
,
&
QAbstractButton
::
clicked
,
this
,
&
TitleWidget
::
slotEditGradient
);
connect
(
displayBg
,
&
QCheckBox
::
stateChanged
,
this
,
&
TitleWidget
::
displayBackgroundFrame
);
displayBg
->
setChecked
(
KdenliveSettings
::
titlerShowbg
());
connect
(
displayBg
,
static_cast
<
void
(
QCheckBox
::*
)(
int
)
>
(
&
QCheckBox
::
stateChanged
),
[
&
]
(
int
state
)
{
KdenliveSettings
::
setTitlerShowbg
(
state
==
Qt
::
Checked
);
displayBackgroundFrame
();
});
connect
(
m_unicodeDialog
,
&
UnicodeDialog
::
charSelected
,
this
,
&
TitleWidget
::
slotInsertUnicodeString
);
...
...
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