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 /><img src=\"/opt/QZeeControl/qzeecontrol.png\" /><br />Version 0.4.0</a>"
32             textFormat: Text.RichText
33             onLinkActivated: Qt.openUrlExternally(link)
34             font.pixelSize: 22
35             horizontalAlignment: Text.AlignHCenter
36             anchors.horizontalCenter: parent.horizontalCenter; anchors.bottom: description.top; anchors.bottomMargin: 8
37         }
38
39         Text {
40             id: description
41             text: "Control your N9 remotely."
42             font.pixelSize: 22; font.bold: true; anchors.horizontalCenter: parent.horizontalCenter; anchors.bottom: author.top; anchors.bottomMargin: 12; color: "white"
43         }
44
45         Text {
46             id: author
47             text: "Author: <br />"
48                   + "Ruediger Gad - <a href=\"http://ruedigergad.com/\" style=\"text-decoration:none; color:#78bfff\" >http://ruedigergad.com/</a><br />"
49                   + "Logo: <br />"
50                   + "Michaela Rother - <a href=\"http://www.michaelarother.de/\" style=\"text-decoration:none; color:#78bfff\" >http://www.michaelarother.de/</a><br />"
51             textFormat: Text.RichText
52             onLinkActivated: Qt.openUrlExternally(link)
53             font.pixelSize: 20; anchors.centerIn: parent; color: "lightgray"; horizontalAlignment: Text.AlignHCenter
54         }
55
56         Text {
57             id: license
58             text: "QZeeControl is free software: you can redistribute it and/or modify "
59                   + "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 "
60                   + "the Free Software Foundation, either version 3 of the License, or "
61                   + "(at your option) any later version.<br /><br />"
62                   + "Zeemote (TM) is a trademark of Zeemote Technology Inc. Other trademarks are property of their respective owners."
63             textFormat: Text.RichText
64             onLinkActivated: Qt.openUrlExternally(link)
65             font.pixelSize: 18
66             anchors{horizontalCenter: parent.horizontalCenter; top: author.bottom; topMargin: 12}
67             width: parent.width
68             color: "lightgray"
69             horizontalAlignment: Text.AlignHCenter
70             wrapMode: Text.Wrap
71         }
72     }
73 }