2 Copyright (C) 2011 by Cuong Le <metacuong@gmail.com>
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>
23 anchors.fill: parent; anchors.bottomMargin: 0
33 y: 3; width: parent.parent.width; height: 60
48 idm:1;name: "Hôm Nay";
51 idm:2; name: "Tới Ngày Âm";
54 idm:3;name: "Tới Ngày Dương";
57 idm:4; name: "Xem Ngày Tốt/Xấu, Hoàng Đạo ...";
60 idm:5; name: "Xem Theo Tháng";
63 idm:7; name: "Đổi Theme";
66 idm:6; name: "Giới Thiệu";
72 anchors.fill: parent;anchors.topMargin: 35;anchors.leftMargin: 5;anchors.rightMargin: 5;
74 delegate: listDelegate
80 ToolBarSingle { id: toolBar; height: 50;
83 button1Label: "Quay Về"
86 screen.state="mainscreen"
90 function getText(id) {
92 case 1:screen.reset();break;
93 case 2: screen.state="amdatetimedialog";break;
94 case 3: screen.state="datetimedialog";break;
95 case 4: screen.state="xemngaytotxauhoangdao";break;
96 case 5: screen.state="xemtheothang";break;
97 case 6: screen.state="aboutdialog";break;
98 case 7: screen.state="changetheme";break;
100 screen.state="nofeaturedialog";break;
106 Transition { NumberAnimation { properties: "x,y,opacity"; duration: 500; easing.type: Easing.InOutBack } }