6 anchors.top: parent.top
7 anchors.left: parent.left
8 anchors.right: parent.right
10 property string closeOrBack : "close"
13 // This makes it appear always on top
20 text: "This is the title"
27 source: ( titleBar.closeOrBack == "close" ? "images/close.png" : "images/back.png")
29 fillMode: Image.PreserveAspectFit
31 anchors.right: parent.right
36 anchors.fill : backIcon