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/>
19 import "../DatePicker/component" as Comp
23 BorderImage { anchors.centerIn: parent;source: "./img/titlebar.sci"; width: 344+2; height: 234+14; y: +7 }
28 anchors.centerIn: parent
33 border.color: "#b57e8f"
42 property int mDay: screen.curDay
43 property int mMonth: screen.curMonth
44 property int mYear: screen.curYear
45 anchors.centerIn: parent
56 anchors.right: parent.right; anchors.rightMargin: 102; y: 185; width: 140; height: 40
61 LC.reset(datePicker.mDay,datePicker.mMonth,datePicker.mYear)
62 screen.calculateLunar(datePicker.mDay,datePicker.mMonth,datePicker.mYear)
63 screen.state="mainscreen"
66 txtDATEpv.currentIndex = datePicker.mDay-1;
77 anchors.rightMargin: 56
78 onClicked: {screen.state="mainscreen";screen.refresh();}
84 dateReel.month_reset()
89 Transition { NumberAnimation { properties: "x,y,opacity"; duration: 500; easing.type: Easing.InOutBack } }