fix typo
[kdepim.git] / mobile / lib / AboutDialog.qml
blobc2fa02f0a6ff8cd1d1f6282a1d32dfd98b1473fe
1 /*
2     Copyright (C) 2010 Klarälvdalens Datakonsult AB,
3         a KDAB Group company, info@kdab.net,
4         author Stephen Kelly <stephen@kdab.com>
6     This library is free software; you can redistribute it and/or modify it
7     under the terms of the GNU Library General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or (at your
9     option) any later version.
11     This library is distributed in the hope that it will be useful, but WITHOUT
12     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
14     License for more details.
16     You should have received a copy of the GNU Library General Public License
17     along with this library; see the file COPYING.LIB.  If not, write to the
18     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19     02110-1301, USA.
22 import Qt 4.7 as QML
23 import org.kde 4.5
24 import org.kde.pim.mobileui 4.5 as KPIM
26 QML.Rectangle {
27   id: aboutDialog
28   property alias source: backgroundImage.source
29   anchors.fill: parent
30   color: "white"
31   visible: false
33   QML.Image {
34     id: backgroundImage
35     anchors.fill: parent
36     anchors.topMargin: 40
37     QML.Flickable{
38         flickableDirection: QML.Flickable.VerticalFlick
39         width: parent.width - closeButton.width
40         height: parent.height
41         contentHeight: 1200;
42         QML.Rectangle{
43         id: aboutText
44             QML.Column{
45                 QML.Text{
46                     id: caption
47                     font.pointSize: 20
48                     style: QML.Text.Raised
49                     text: "About " + application.name
50                 }
52                 QML.Text{
53                     id:version
54                     font.pointSize: 14
55                     horizontalAlignment: QML.Text.AlignHCenter
56                     text: "\n" + application.version + "\n"
57                 }
59                 QML.Text {
60                     font.pointSize: 14
61                     text : KDE.i18n("This Free Software product was created as part of a commercial contract.") +
62                            "\n" + application.name +
63                            KDE.i18n(" is licensed under the GNU GPL version 2 or later." ) + "\n" +
64                            KDE.i18n("See") + " licenses.pdf " + KDE.i18n("for details.") + "\n"
65                 }
67                 QML.Text{
68                     font.pointSize: 14
69                     text: KDE.i18n("Credits Project Komo3 (October 2009 - )") + "\n"
70                 }
72                 QML.Text{
73                     font.pointSize: 14
74                     text: KDE.i18n("Scrum Master, Team Senior: Till Adam, KDAB Berlin") + "\n" +
75                           KDE.i18n("Product Owner, Team Senior: Bernhard Reiter, Intevation GmbH") + "\n"
76                     style: QML.Text.Raised
77                 }
79                 QML.Text{
80                     id: mainTeam
81                     font.pointSize: 14
82                     text: KDE.i18n("Main Scrum team in alphabetical order:") + "\n\n" +
83                           "\t" + KDE.i18n("Heinecke, Andre (Intevation GmbH)") + "\n" +
84                           "\t" + KDE.i18n("Ricks, Björn (Intevation GmbH)") + "\n" +
85                           "\t" + KDE.i18n("Teichmann, Sascha L. (Intevation GmbH)") + "\n"
86                 }
88                 QML.Text{
89                     id: satellites
90                     font.pointSize: 14
91                     text: KDE.i18n("\"Satellites\" and additional support by:") + "\n\n" +
92                           "\t" + KDE.i18n("Reiter, Ludwig (Intevation GmbH)") + "\n" +
93                           "\t" + KDE.i18n("Wolfsteller, Felix (Intevation GmbH)") + "\n"
94                 }
96                 QML.Text{
97                     font.pointSize: 14
98                     style: QML.Text.Raised
99                     text: KDE.i18n("Special thanks to the two project persons from our principal.") + "\n"
100                 }
102                 QML.Text{
103                     font.pointSize: 14
104                     text: KDE.i18n("This project is built upon KDE SC Kontact Desktop\n" +
105                                    "client. For the outstanding work done there we\n" +
106                                    "would like to thank the original authors.\n")
107                 }
108              }
109           }
110        }
111     }
113     KPIM.Button2 {
114         id: licenseButton
115         anchors.right: parent.right
116         anchors.bottom: closeButton.top
117         anchors.bottomMargin: 10
118         width: 150
119         buttonText: KDE.i18n( "Licenses" )
120         onClicked: {
121             application.openLicenses()
122         }
123     }
125     KPIM.Button2 {
126         id: closeButton
127         anchors.right: parent.right
128         anchors.bottom: parent.bottom
129         width: 150
130         buttonText: KDE.i18n( "Close" )
131         onClicked: {
132             aboutDialog.visible = false
133         }
134     }