X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=qml%2FLichViet%2FMultiTitleBar.qml;h=d998375abf2ce33e62a7b4e99eb55f7a0c73484a;hb=274c1daf9c51c4127195b5e8370722887dace99e;hp=b571804aed9e50b6d3e877a32d742c1ed1ba4462;hpb=0527c61e3bdd3540dbe553e87e24081fe54f6b15;p=lichviet diff --git a/qml/LichViet/MultiTitleBar.qml b/qml/LichViet/MultiTitleBar.qml index b571804..d998375 100644 --- a/qml/LichViet/MultiTitleBar.qml +++ b/qml/LichViet/MultiTitleBar.qml @@ -18,18 +18,10 @@ along with this program. If not, see import QtQuick 1.0 Item { - TitleBar { id: titleBar; width: parent.width; height: 60; - y: -80 - untaggedString: "" - taggedString: "" + TitleBar { id: titleBar; width: parent.width; + onMinimize: ROOT.minimize(); + onClose: Qt.quit(); + + caption: "Lịch Việt" } - states: [ - State { - name: "search"; when: screen.state!="search" - PropertyChanges { target: titleBar; y: 0 } - } - ] - transitions: [ - Transition { NumberAnimation { properties: "x,y"; duration: 500; easing.type: Easing.InOutQuad } } - ] }