2 import Sailfish.Silica 1.0
6 property alias source: image.source
7 property alias text: label.text
10 height: parent.height / 2
14 anchors.centerIn: parent
17 color: cycleButton.pressed ? Theme.highlightColor : Theme.secondaryHighlightColor
22 anchors.centerIn: parent
25 color: cycleButton.pressed ? Theme.highlightColor : Theme.secondaryHighlightColor
31 color: Theme.highlightColor
32 font.pixelSize: Theme.fontSizeLarge
33 anchors.right: parent.right
34 anchors.top: parent.top
35 anchors.topMargin: Theme.paddingMedium
36 anchors.rightMargin: Theme.horizontalPageMargin
37 width: parent.width - image.width
38 horizontalAlignment: Text.AlignRight
39 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
45 anchors.left: parent.left
46 anchors.leftMargin: Theme.paddingLarge
47 fillMode: Image.PreserveAspectFit
53 id: verticalBackgroundEffect
56 direction: OpacityRamp.TopToBottom
57 sourceItem: verticalback
61 id: horizontalBackgroundEffect
64 direction: OpacityRamp.LeftToRight
65 sourceItem: horizontalback
72 direction: OpacityRamp.TopToBottom