Make timeline more "Material design".

This commit is contained in:
Black Hat
2018-11-16 20:30:42 +08:00
parent 25ac3f7f5c
commit a296fffd91
25 changed files with 435 additions and 240 deletions

View File

@@ -7,7 +7,8 @@ import QtGraphicalEffects 1.0
Item {
id: effect
property variant source
property var source
readonly property Item sourceItem: source.sourceItem
property int elevation: 0
@@ -134,7 +135,7 @@ Item {
glowRadius: modelData.blur/2
spread: 0.05
color: _shadowColors[index]
cornerRadius: modelData.blur + (effect.source.radius || 0)
cornerRadius: modelData.blur + (effect.sourceItem.radius || 0)
}
}