Update version info.
[qzeecontrol] / qml / QZeeControl / AboutDialog.qml
1 /*
2  *  Copyright 2012 Ruediger Gad
3  *
4  *  This file is part of QZeeControl.
5  *
6  *  QZeeControl is free software: you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation, either version 3 of the License, or
9  *  (at your option) any later version.
10  *
11  *  QZeeControl is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with QZeeControl. If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 import QtQuick 1.1
21 import com.nokia.meego 1.0
22
23 Dialog {
24     id: aboutDialog
25
26     content:Item {
27       anchors.fill: parent
28
29       Text {
30           id: homepage
31           text: "<a href=\"http://qzeecontrol.garage.maemo.org/\" style=\"text-decoration:none; color:#78bfff\">QZeeControl<br />Version 0.2.0</a>"
32           textFormat: Text.RichText;
33           onLinkActivated: { Qt.openUrlExternally(link); }
34           font.pixelSize: 25; horizontalAlignment: Text.AlignHCenter;
35           anchors.horizontalCenter: parent.horizontalCenter; anchors.bottom: description.top; anchors.bottomMargin: 8
36       }
37
38       Text {
39           id: description
40           text: "Control your N9 remotely."
41           font.pixelSize: 25; font.bold: true; anchors.horizontalCenter: parent.horizontalCenter; anchors.bottom: author.top; anchors.bottomMargin: 12; color: "white"
42       }
43
44       Text {
45           id: author;
46           text: "Author: <br />"
47                  + "Ruediger Gad - <a href=\"mailto:r.c.g@gmx.de\" style=\"text-decoration:none; color:#78bfff\" >r.c.g@gmx.de</a><br />"
48           textFormat: Text.RichText;
49           onLinkActivated: { Qt.openUrlExternally(link); }
50           font.pixelSize: 20; anchors.centerIn: parent; color: "lightgray"; horizontalAlignment: Text.AlignHCenter
51       }
52
53       Text {
54           id: license
55           text: "QZeeControl is free software: you can redistribute it and/or modify "
56             + "it under the terms of the <a href=\"http://www.gnu.org/licenses\" style=\"text-decoration:none; color:#78bfff\" >GNU General Public License</a> as published by "
57             + "the Free Software Foundation, either version 3 of the License, or "
58             + "(at your option) any later version.";
59           textFormat: Text.RichText;
60           onLinkActivated: { Qt.openUrlExternally(link); }
61           font.pixelSize: 18;
62           anchors.horizontalCenter: parent.horizontalCenter;
63           anchors.top: author.bottom;
64           anchors.topMargin: 12;
65           width: parent.width;
66           color: "lightgray";
67           horizontalAlignment: Text.AlignHCenter;
68           wrapMode: Text.Wrap
69       }
70     }
71 }