Skip to content
GitLab
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
9a5ebb12
Commit
9a5ebb12
authored
Oct 06, 2022
by
Julius Künzel
💬
Browse files
[Kdenlive Settings] Move Monitor bg color to colors tab
parent
b997d242
Pipeline
#243019
failed with stage
in 9 minutes and 9 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/kdenlivesettingsdialog.cpp
View file @
9a5ebb12
...
...
@@ -1171,8 +1171,8 @@ void KdenliveSettingsDialog::updateSettings()
fullReset
=
true
;
}
if
(
m_config
Sdl
.
kcfg_window_background
->
color
()
!=
KdenliveSettings
::
window_background
())
{
KdenliveSettings
::
setWindow_background
(
m_config
Sdl
.
kcfg_window_background
->
color
());
if
(
m_config
Colors
.
kcfg_window_background
->
color
()
!=
KdenliveSettings
::
window_background
())
{
KdenliveSettings
::
setWindow_background
(
m_config
Colors
.
kcfg_window_background
->
color
());
emit
updateMonitorBg
();
}
...
...
src/ui/configcolors_ui.ui
View file @
9a5ebb12
...
...
@@ -12,7 +12,7 @@
</property>
<layout
class=
"QFormLayout"
name=
"formLayout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_
3
"
>
<widget
class=
"QLabel"
name=
"label_
audio_thumbs
"
>
<property
name=
"text"
>
<string>
Audio thumbnail colors:
</string>
</property>
...
...
@@ -32,13 +32,13 @@
<widget
class=
"KColorButton"
name=
"kcfg_overlayColor"
/>
</item>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label"
>
<widget
class=
"QLabel"
name=
"label
_monitor_overlay
"
>
<property
name=
"text"
>
<string>
Monitor overlay color:
</string>
</property>
</widget>
</item>
<item
row=
"
3
"
column=
"0"
>
<item
row=
"
4
"
column=
"0"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
...
...
@@ -51,6 +51,16 @@
</property>
</spacer>
</item>
<item
row=
"3"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_monitor_bg"
>
<property
name=
"text"
>
<string>
Monitor background color:
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<widget
class=
"KColorButton"
name=
"kcfg_window_background"
/>
</item>
</layout>
</widget>
<customwidgets>
...
...
src/ui/configsdl_ui.ui
View file @
9a5ebb12
...
...
@@ -113,59 +113,35 @@
<item
row=
"7"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"fullscreen_monitor"
/>
</item>
<item
row=
"8"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_monitor_background"
>
<property
name=
"text"
>
<string>
Monitor background color:
</string>
</property>
</widget>
</item>
<item
row=
"8"
column=
"1"
>
<widget
class=
"KColorButton"
name=
"kcfg_window_background"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"defaultColor"
>
<color>
<red>
180
</red>
<green>
180
</green>
<blue>
180
</blue>
</color>
</property>
</widget>
</item>
<item
row=
"9"
column=
"0"
colspan=
"2"
>
<item
row=
"8"
column=
"0"
colspan=
"2"
>
<widget
class=
"Line"
name=
"line"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
</item>
<item
row=
"
10
"
column=
"0"
>
<item
row=
"
9
"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_2"
>
<property
name=
"text"
>
<string>
External display (Blackmagic card):
</string>
</property>
</widget>
</item>
<item
row=
"
10
"
column=
"1"
>
<item
row=
"
9
"
column=
"1"
>
<widget
class=
"QCheckBox"
name=
"kcfg_external_display"
>
<property
name=
"text"
>
<string>
Enable
</string>
</property>
</widget>
</item>
<item
row=
"1
1
"
column=
"0"
>
<item
row=
"1
0
"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_5"
>
<property
name=
"text"
>
<string>
Output device:
</string>
</property>
</widget>
</item>
<item
row=
"1
1
"
column=
"1"
>
<item
row=
"1
0
"
column=
"1"
>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QComboBox"
name=
"kcfg_blackmagic_output_device"
>
...
...
@@ -193,7 +169,7 @@
</item>
</layout>
</item>
<item
row=
"1
2
"
column=
"1"
>
<item
row=
"1
1
"
column=
"1"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
...
...
@@ -209,11 +185,6 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>
KColorButton
</class>
<extends>
QPushButton
</extends>
<header>
kcolorbutton.h
</header>
</customwidget>
<customwidget>
<class>
KMessageWidget
</class>
<extends>
QFrame
</extends>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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