982157653475f9404701b48e5caa9f18ed41b443
[mdictionary] / src / mdictionary / qml / AboutWidget.qml
1 import Qt 4.7
2 import QtWebKit 1.0
3
4 Rectangle {
5     id: item
6     opacity: 1
7     anchors.fill: parent
8
9     SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
10     color : myPalette.window;
11
12     signal linkClicked(string link);
13
14     Image {
15         id: image1
16         anchors.horizontalCenter: parent.horizontalCenter
17         source: "qrc:/icons/logo/mdictionary.png"
18     }
19
20     Text {
21         id: text1
22         y: 200
23         text: "<h2><u>mDictionary</u></h2>"
24         anchors.horizontalCenterOffset: 0
25         anchors.horizontalCenter: parent.horizontalCenter
26     }
27
28     Text {
29         id: text2
30         y: 220
31         anchors.horizontalCenter: parent.horizontalCenter
32         textFormat: Text.RichText
33         text: "Maemo/Meego Multilingual Dictionary <br> Copyright 2006-2010, Comarch S.A. <br> <a href=\"http://mdictionary.garage.maemo.org\"> http://mdictionary.garage.maemo.org</a>"
34         anchors.horizontalCenterOffset: 0
35         onLinkActivated: linkClicked(link);
36     }
37
38     Text {
39         id: text3
40         y: 270
41         anchors.horizontalCenter: parent.horizontalCenter
42         text: "<font size=\"small\"><a href=\"https://garage.maemo.org/tracker/?func=add&group_id=58&atid=305\">Report bug</a></font>"
43         anchors.horizontalCenterOffset: 0
44         onLinkActivated: linkClicked(link);
45     }
46
47     Text {
48         id: text4
49         y: 290
50         anchors.horizontalCenter: parent.horizontalCenter
51         text: "<p><font size=\"small\">This program is free software: you can redistribute it and/or modify <br> it under the terms of the GNU General Public License as published by <br> the Free Software Foundation, either version 3 of the License,or <br>(at your option) any later version.<br>This program is distributed in the hope that it will be useful,<br>but WITHOUT ANY WARRANTY; without even the implied warranty of<br> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the <br> GNU General Public License for more details.<br> You should have received a copy of the GNU General Public License<br> along with this program.  If not, see &lt;<a href=\"http://www.gnu.org/licenses/\"> http://www.gnu.org/licenses/</a>&gt;.</p></font>"
52         anchors.horizontalCenterOffset: 0
53         onLinkActivated: linkClicked(link);
54     }
55
56     SpinBox{
57         id: test;
58         x:100;
59         y:100;
60     }
61 }