Horizontal media widget #16
@@ -0,0 +1,10 @@
|
||||
[General]
|
||||
FunctionsSpacing=true
|
||||
IndentWidth=4
|
||||
MaxColumnWidth=80
|
||||
NewlineType=native
|
||||
NormalizeOrder=true
|
||||
ObjectsSpacing=true
|
||||
SemicolonRule=always
|
||||
SortImports=false
|
||||
UseTabs=true
|
||||
@@ -12,13 +12,15 @@ Item {
|
||||
property int gap: 40
|
||||
property alias horizontalAlignment: elideText.horizontalAlignment
|
||||
property bool leftFadeEnabled: false
|
||||
property real leftFadeStrength: overflowing && leftFadeEnabled ? fadeStrengthMoving : fadeStrengthIdle
|
||||
property real leftFadeStrength: overflowing && leftFadeEnabled
|
||||
? fadeStrengthMoving : fadeStrengthIdle
|
||||
property int leftFadeWidth: 28
|
||||
property bool marqueeEnabled: true
|
||||
readonly property bool overflowing: metrics.width > root.width
|
||||
property int pauseMs: 1200
|
||||
property real pixelsPerSecond: 40
|
||||
property real rightFadeStrength: overflowing ? fadeStrengthMoving : fadeStrengthIdle
|
||||
property real rightFadeStrength: overflowing ? fadeStrengthMoving :
|
||||
fadeStrengthIdle
|
||||
property int rightFadeWidth: 28
|
||||
property bool sliding: false
|
||||
property alias text: elideText.text
|
||||
|
||||
Reference in New Issue
Block a user