1 import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
3 import "UIConstants.js" as Const
8 height: Const.TOP_BAR_HEIGHT
9 anchors { left: parent.left; right: parent.right; top: top.bottom }
22 //color: mouseArea1.pressed ? "white" : "black"
24 anchors.left: root.left
29 onClicked: Utils.minimizeWindow()
36 //color: mouseArea2.pressed ? "white" : "black"
38 anchors.right: root.right
59 color: Const.TRANSPARENT
67 anchors { verticalCenter: parent.verticalCenter; left: parent.left; margins: 5 }
71 anchors { fill: parent; margins: 6 }
78 anchors { fill: parent; margins: 6 }
82 visible: mouseArea.pressed
87 anchors.centerIn: parent
88 source: "images/minimize.png"
89 sourceSize.width: width
90 sourceSize.height: height
96 onClicked: Utils.minimizeWindow()
103 anchors { verticalCenter: parent.verticalCenter; right: parent.right; margins: 5 }
104 iconSource: "images/close.png"