24ad67e2a67c9da88f311ad2ac1a337412cf214a
[mdictionary] / src / mdictionary / qml / AboutWidget.qml
1 import Qt 4.7
2 import QtWebKit 1.0
3
4 Rectangle {
5     id: item
6     //width: 400;
7    // height: 400;
8     opacity: 1
9     anchors.fill: parent
10
11     SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
12     color : myPalette.window;
13
14     signal linkClicked(string link);
15
16     Image {
17         id: image1
18         anchors.horizontalCenter: parent.horizontalCenter
19         source: "qrc:/icons/logo/mdictionary.png"
20     }
21
22     Text {
23         id: text1
24         y: 200
25         text: "<h2><u>mDictionary</u></h2>"
26         anchors.horizontalCenterOffset: 0
27         anchors.horizontalCenter: parent.horizontalCenter
28     }
29
30     Text {
31         id: text2
32         y: 220
33         anchors.horizontalCenter: parent.horizontalCenter
34         textFormat: Text.RichText
35         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>"
36         anchors.horizontalCenterOffset: 0
37         onLinkActivated: linkClicked(link);
38     }
39
40     Text {
41         id: text3
42         y: 270
43         anchors.horizontalCenter: parent.horizontalCenter
44         text: "<font size=\"small\"><a href=\"https://garage.maemo.org/tracker/?func=add&group_id=58&atid=305\">Report bug</a></font>"
45         anchors.horizontalCenterOffset: 0
46         onLinkActivated: linkClicked(link);
47     }
48
49      Text {
50         id: text4
51         y: 290
52         anchors.horizontalCenter: parent.horizontalCenter
53         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>"
54         anchors.horizontalCenterOffset: 0
55         onLinkActivated: linkClicked(link);
56     }
57
58     Button{
59         x:100;
60         y:100;
61         width: 500
62         height: 30
63         textInButton: "ala ma kota"
64     }
65
66     SearchBarWidget {
67         id: searchbarwidget1
68         y:50;
69         width: item.width;
70         height: 30;
71     }
72 }