along with this program. If not, see <http://www.gnu.org/licenses/>
*/
-import QtQuick 1.0
+import QtQuick 1.1
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 } }
- ]
}