adding details to TextBackground
This commit is contained in:
parent
7e6e8c71e0
commit
6beb39bea8
3 changed files with 15 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
import QtQuick 2.13
|
||||
import QtGraphicalEffects 1.15
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
// Used for
|
||||
property var control
|
||||
property bool errorCondition
|
||||
|
@ -17,4 +19,14 @@ Rectangle {
|
|||
else
|
||||
return Kirigami.Theme.positiveColor
|
||||
}
|
||||
|
||||
DropShadow {
|
||||
id: shadow
|
||||
source: root
|
||||
horizontalOffset: 2
|
||||
verticalOffset: 2
|
||||
radius: 3
|
||||
samples: 8
|
||||
color: "black"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
<file>qml/presenter/Settings.qml</file>
|
||||
<file>qml/presenter/RangedSlider.qml</file>
|
||||
<file>qml/presenter/NewVideo.qml</file>
|
||||
<file>qml/presenter/TextBackground.qml</file>
|
||||
<file>assets/parallel.jpg</file>
|
||||
<file>assets/black.jpg</file>
|
||||
</qresource>
|
||||
|
|
|
@ -536,8 +536,8 @@ pub mod song_model {
|
|||
song.background =
|
||||
updated_background.to_string();
|
||||
debug!(
|
||||
background = updated_background,
|
||||
model_index = model_index,
|
||||
background = ?updated_background,
|
||||
model_index = ?model_index,
|
||||
roles = vector_roles.get(0)
|
||||
);
|
||||
self.as_mut().emit_data_changed(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue