mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 09:34:53 +02:00
played around with the QML path a bit...
This commit is contained in:
@@ -142,9 +142,9 @@ Rectangle {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
highlight: appHighlight
|
highlight: appHighlight
|
||||||
|
|
||||||
preferredHighlightBegin: 0.1
|
preferredHighlightBegin: 0.07
|
||||||
preferredHighlightEnd: 0.1
|
preferredHighlightEnd: 0.07
|
||||||
pathItemCount: 3
|
pathItemCount: 4
|
||||||
highlightMoveDuration: 500
|
highlightMoveDuration: 500
|
||||||
|
|
||||||
model: dynamicModel
|
model: dynamicModel
|
||||||
@@ -157,15 +157,19 @@ Rectangle {
|
|||||||
startY: 155
|
startY: 155
|
||||||
PathAttribute { name: "itemOpacity"; value: 0 }
|
PathAttribute { name: "itemOpacity"; value: 0 }
|
||||||
PathAttribute { name: "shadowOpacity"; 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 }
|
PathLine { x: scene.width / 2; y: 150 }
|
||||||
PathAttribute { name: "itemOpacity"; value: 1 }
|
PathAttribute { name: "itemOpacity"; value: 1 }
|
||||||
PathAttribute { name: "shadowOpacity"; value: 0 }
|
PathAttribute { name: "shadowOpacity"; value: 0 }
|
||||||
PathAttribute { name: "itemScale"; value: 1.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;}
|
PathLine { x: 100; y: 100;}
|
||||||
PathAttribute { name: "itemOpacity"; value: 1 }
|
PathAttribute { name: "itemOpacity"; value: 1 }
|
||||||
PathAttribute { name: "shadowOpacity"; value: 1 }
|
PathAttribute { name: "shadowOpacity"; value: 1 }
|
||||||
PathAttribute { name: "itemScale"; value: 0.75 }
|
PathAttribute { name: "itemScale"; value: 0.4 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -102,6 +102,9 @@ PlayableItem::PlayableItem( const Tomahawk::query_ptr& query, PlayableItem* pare
|
|||||||
|
|
||||||
connect( query.data(), SIGNAL( coverChanged() ),
|
connect( query.data(), SIGNAL( coverChanged() ),
|
||||||
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() ),
|
connect( m_query.data(), SIGNAL( coverChanged() ),
|
||||||
SIGNAL( coverChanged() ) );
|
SIGNAL( coverChanged() ) );
|
||||||
|
|
||||||
|
connect( m_query->displayQuery().data(), SIGNAL( coverChanged() ),
|
||||||
|
SIGNAL( coverChanged() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user