X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=qml%2FLichViet%2FTitleBar.qml;h=ac7657a03331b576d4544d0e28935e3d995c9a8d;hb=496786469533e364ff9bce99fe0dc8710ee21956;hp=651cf69bad7d11b32a98d45846109ef1bf0706a4;hpb=91ba4aedbbc9a637fd7842c2a0fd2615aedd08e3;p=lichviet diff --git a/qml/LichViet/TitleBar.qml b/qml/LichViet/TitleBar.qml index 651cf69..ac7657a 100644 --- a/qml/LichViet/TitleBar.qml +++ b/qml/LichViet/TitleBar.qml @@ -77,14 +77,33 @@ Item { } } + Image { + id: minimizeButton + x:4 + anchors.verticalCenter: parent.verticalCenter + source: theme_manager.theme.titlebar.minimize_button + + MouseArea { + anchors.fill: parent + onPressed:{ + parent.source= theme_manager.theme.titlebar.minimize_button_pressed + } + onReleased:{ + parent.source=theme_manager.theme.titlebar.minimize_button + } + + onClicked: ROOT.minimize(); + } + } + Text { id: categoryText - x:10 + x:60 anchors { verticalCenter: parent.verticalCenter } elide: Text.ElideLeft - text: "Lịch Âm" + text: "Lịch Việt" font.bold: true; color: "White"; style: Text.Raised; styleColor: "Black" font.pixelSize: 24 font.family: "Tahoma"