1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 16:14:40 +02:00

played around with the QML path a bit...

This commit is contained in:
Michael Zanetti
2012-07-05 14:42:49 +02:00
parent 68de791e8c
commit 3c942b1249
2 changed files with 15 additions and 5 deletions

View File

@@ -142,9 +142,9 @@ Rectangle {
anchors.fill: parent
highlight: appHighlight
preferredHighlightBegin: 0.1
preferredHighlightEnd: 0.1
pathItemCount: 3
preferredHighlightBegin: 0.07
preferredHighlightEnd: 0.07
pathItemCount: 4
highlightMoveDuration: 500
model: dynamicModel
@@ -157,15 +157,19 @@ Rectangle {
startY: 155
PathAttribute { name: "itemOpacity"; value: 0 }
PathAttribute { name: "shadowOpacity"; value: 0 }
PathAttribute { name: "itemScale"; value: 1.0 }
PathAttribute { name: "itemScale"; value: 1.5 }
PathLine { x: scene.width / 2; y: 150 }
PathAttribute { name: "itemOpacity"; value: 1 }
PathAttribute { name: "shadowOpacity"; value: 0 }
PathAttribute { name: "itemScale"; value: 1.0 }
PathLine { x: scene.width / 2 - 100; y: 180;}
PathAttribute { name: "itemOpacity"; value: 1 }
PathAttribute { name: "shadowOpacity"; value: 0 }
PathAttribute { name: "itemScale"; value: 0.6 }
PathLine { x: 100; y: 100;}
PathAttribute { name: "itemOpacity"; value: 1 }
PathAttribute { name: "shadowOpacity"; value: 1 }
PathAttribute { name: "itemScale"; value: 0.75 }
PathAttribute { name: "itemScale"; value: 0.4 }
}
}
}

View File

@@ -102,6 +102,9 @@ PlayableItem::PlayableItem( const Tomahawk::query_ptr& query, PlayableItem* pare
connect( query.data(), SIGNAL( coverChanged() ),
SIGNAL( coverChanged() ) );
connect( query->displayQuery().data(), SIGNAL( coverChanged() ),
SIGNAL( coverChanged() ) );
}
@@ -129,6 +132,9 @@ PlayableItem::PlayableItem( const Tomahawk::plentry_ptr& entry, PlayableItem* pa
connect( m_query.data(), SIGNAL( coverChanged() ),
SIGNAL( coverChanged() ) );
connect( m_query->displayQuery().data(), SIGNAL( coverChanged() ),
SIGNAL( coverChanged() ) );
}