1/* === This file is part of Calamares - <https://calamares.io> ===
2 *
3 *   SPDX-FileCopyrightText: 2020 Anke Boersma <demm@kaosx.us>
4 *   SPDX-License-Identifier: GPL-3.0-or-later
5 *
6 *   Calamares is Free Software: see the License-Identifier above.
7 *
8 */
9
10import io.calamares.ui 1.0
11
12import QtQuick 2.7
13import QtQuick.Controls 2.0
14import QtQuick.Layouts 1.3
15
16Item {
17    width: parent.width
18    height: parent.height
19    focus: true
20
21    property var appName: "Calamares"
22    property var appVersion: "3.2.24"
23
24    Rectangle {
25        id: textArea
26        x: 28
27        y: 14
28        anchors.fill: parent
29        color: "#f2f2f2"
30
31        Column {
32            id: column
33            x: 130
34            y: 40
35
36
37            Rectangle {
38                width: 560
39                height: 250
40                radius: 10
41                border.width: 0
42
43                Text {
44                    width: 400
45                    height: 250
46                    anchors.centerIn: parent
47                    text: qsTr("<h1>%1</h1><br/>
48                        <strong>%2<br/>
49                        for %3</strong><br/><br/>
50                        Copyright 2014-2017 Teo Mrnjavac &lt;teo@kde.org&gt;<br/>
51                        Copyright 2017-2020 Adriaan de Groot &lt;groot@kde.org&gt;<br/>
52                        Thanks to <a href='https://calamares.io/team/'>the Calamares team</a>
53                        and the <a href='https://www.transifex.com/calamares/calamares/'>Calamares
54                        translators team</a>.<br/><br/>
55                        <a href='https://calamares.io/'>Calamares</a>
56                        development is sponsored by <br/>
57                        <a href='http://www.blue-systems.com/'>Blue Systems</a> -
58                        Liberating Software." )
59                        .arg(appName)
60                        .arg(appVersion)
61                        .arg(Branding.string(Branding.VersionedName))
62
63                        onLinkActivated: Qt.openUrlExternally(link)
64
65                        MouseArea {
66                            anchors.fill: parent
67                            acceptedButtons: Qt.NoButton
68                            cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
69                        }
70
71                    font.pointSize: 10
72                    anchors.verticalCenterOffset: 10
73                    anchors.horizontalCenterOffset: 40
74                    wrapMode: Text.WordWrap
75                }
76
77                Image {
78                    id: image
79                    x: 8
80                    y: 12
81                    height: 100
82                    fillMode: Image.PreserveAspectFit
83                    source: "img/squid.png"
84                }
85
86            }
87
88        }
89
90        ToolButton {
91            id: toolButton
92            x: 19
93            y: 29
94            width: 105
95            height: 48
96            text: qsTr("Back")
97            hoverEnabled: true
98            onClicked: load.source = ""
99
100            Image {
101                id: image1
102                x: 0
103                y: 13
104                width: 22
105                height: 22
106                source: "img/chevron-left-solid.svg"
107                fillMode: Image.PreserveAspectFit
108            }
109        }
110    }
111
112}
113