79475087cae70a73297755653f20e2fa334b72be
[lichviet] / qml / LichViet / About.qml
1 /*
2 Copyright (C) 2011  by Cuong Le <metacuong@gmail.com>
3
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.
8
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.
13
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/>
16 */
17
18 import QtQuick 1.0
19
20 Item{
21     id: item1
22     Rectangle {
23         id: rectangle1
24         anchors.fill: parent; anchors.bottomMargin: 0
25         visible: true
26         opacity:0.8
27
28     Image {
29         id: image1
30         x: 0
31         y: 43
32         width: 100
33         height: 100
34         anchors.horizontalCenterOffset: 0
35         anchors.horizontalCenter: parent.horizontalCenter
36         source: "qrc:/LichViet.png"
37
38         Text {
39             id: text3
40             x: 10
41             y: 261
42             width: 80
43             height: 20
44             text: "Chương trình có tham khảo thuật toán tính <br>Âm Lịch của tác giả Hồ Ngọc Đức.<br><a href='http://www.informatik.uni-leipzig.de/~duc/amlich/'>http://www.informatik.uni-leipzig.de/~duc/amlich/</a>"
45             anchors.horizontalCenterOffset: 0
46             anchors.horizontalCenter: parent.horizontalCenter
47             verticalAlignment: Text.AlignVCenter
48             horizontalAlignment: Text.AlignHCenter
49             font.pixelSize: 16
50         }
51     }
52
53     Text {
54         id: text1
55         x: 11
56         y: 171
57         width: 80
58         height: 20
59         text: "Lịch Âm Việt Nam <br> OS: Maemo 5"
60         anchors.horizontalCenterOffset: 1
61         font.bold: true
62         anchors.horizontalCenter: parent.horizontalCenter
63         horizontalAlignment: Text.AlignHCenter
64         verticalAlignment: Text.AlignVCenter
65         font.pixelSize: 26
66     }
67
68     Text {
69         id: text2
70         x: 10
71         y: 234
72         width: 80
73         height: 20
74         text: "Phiên bản : 1.0.2 (build 35.23.08.2011)<br>\
75 Phát triển bởi : <a href='mailto:metacuong@gmail.com'>metacuong@gmail.com</a>"
76 anchors.horizontalCenterOffset: 0
77 wrapMode: Text.NoWrap
78         verticalAlignment: Text.AlignVCenter
79         horizontalAlignment: Text.AlignHCenter
80         anchors.horizontalCenter: parent.horizontalCenter
81         font.pixelSize: 24
82     }
83
84
85 }
86
87     ToolBarSingle { id: toolBar; height: 50;
88         y: screen.height-78
89         width: parent.width;
90         button1Label: "Quay Về"
91         onButton1Clicked:
92         {
93             screen.state="mainscreen"
94         }
95     }
96
97     transitions: [
98         Transition { NumberAnimation { properties: "x,y,opacity"; duration: 500; easing.type: Easing.InOutBack } }
99     ]
100 }