Added global controller andalso filebrowser qml
[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 2 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 import QtQuick 1.0
18
19 Item{
20     id: item1
21     Rectangle {
22         id: rectangle1
23         anchors.fill: parent; anchors.bottomMargin: 0
24         visible: true
25         opacity:0.8
26
27     Image {
28         id: image1
29         x: 0
30         y: 43
31         width: 100
32         height: 100
33         anchors.horizontalCenterOffset: 0
34         anchors.horizontalCenter: parent.horizontalCenter
35         source: "qrc:/LichViet.png"
36
37         Text {
38             id: text3
39             x: 10
40             y: 261
41             width: 80
42             height: 20
43             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>"
44             anchors.horizontalCenterOffset: 0
45             anchors.horizontalCenter: parent.horizontalCenter
46             verticalAlignment: Text.AlignVCenter
47             horizontalAlignment: Text.AlignHCenter
48             font.pixelSize: 16
49         }
50     }
51
52     Text {
53         id: text1
54         x: 11
55         y: 171
56         width: 80
57         height: 20
58         text: "Lịch Âm Việt Nam <br> OS: Maemo 5"
59         anchors.horizontalCenterOffset: 1
60         font.bold: true
61         anchors.horizontalCenter: parent.horizontalCenter
62         horizontalAlignment: Text.AlignHCenter
63         verticalAlignment: Text.AlignVCenter
64         font.pixelSize: 26
65     }
66
67     Text {
68         id: text2
69         x: 10
70         y: 234
71         width: 80
72         height: 20
73         text: "Phiên bản : 1.0.2-3 (25/08/2011)<br>\
74 Phát triển bởi : <a href='mailto:metacuong@gmail.com'>metacuong@gmail.com</a>"
75 anchors.horizontalCenterOffset: 0
76 wrapMode: Text.NoWrap
77         verticalAlignment: Text.AlignVCenter
78         horizontalAlignment: Text.AlignHCenter
79         anchors.horizontalCenter: parent.horizontalCenter
80         font.pixelSize: 24
81     }
82
83
84 }
85
86     ToolBarSingle { id: toolBar; height: 50;
87         y: screen.height-78
88         width: parent.width;
89         button1Label: "Quay Về"
90         onButton1Clicked:
91         {
92             screen.state="mainscreen"
93         }
94     }
95
96 }