@@ -43,6 +43,7 @@ Item {
43 property bool customTitle: false
43 property bool customTitle: false
44 property alias forwardButtonSourceComponent: forwardButton.sourceComponent
44 property alias forwardButtonSourceComponent: forwardButton.sourceComponent
45 property alias content: contentHolder
45 property alias content: contentHolder
46+ property bool lastPage: false
47 property string title: ""
48 property string title: ""
@@ -52,15 +53,17 @@ Item {
52 anchors.fill: parent
53 anchors.fill: parent
55− Rectangle {
56+ Image {
56 id: titleRect
57 id: titleRect
58 top: parent.top
60 top: parent.top
59 left: parent.left
61 left: parent.left
60 right: parent.right
62 right: parent.right
64+ source: customTitle ? "" : "Pages/data/Phone header bkg.png"
62 height: customTitle ? customMargin + titleLabel.height + customMargin : topMargin + bottomMargin
65 height: customTitle ? customMargin + titleLabel.height + customMargin : topMargin + bottomMargin
63− color: customTitle ? "#fdfdfd" : "#650954"
66+ clip: true
66 id: titleLabel
69 id: titleLabel
@@ -95,7 +98,7 @@ Item {
95 // button bar
98 // button bar
96 Rectangle {
99 Rectangle {
97 id: buttonRect
100 id: buttonRect
98− visible: pageStack.currentPage.objectName !== "finishedPage" // not visible on last page
101+ visible: !lastPage
99 anchors {
102 anchors {
100 bottom: parent.bottom
103 bottom: parent.bottom
101 left: parent.left
104 left: parent.left