calamares/src/modules/welcomeq/about.qml

113 lines
3.2 KiB
QML
Raw Normal View History

/* === This file is part of Calamares - <https://calamares.io> ===
*
2020-08-22 01:19:58 +02:00
* SPDX-FileCopyrightText: 2020 Anke Boersma <demm@kaosx.us>
* SPDX-License-Identifier: GPL-3.0-or-later
*
* Calamares is Free Software: see the License-Identifier above.
*
*/
import io.calamares.ui 1.0
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
Item {
width: parent.width
height: parent.height
focus: true
2020-08-22 01:19:58 +02:00
property var appName: "Calamares"
property var appVersion: "3.2.24"
Rectangle {
id: textArea
x: 28
y: 14
anchors.fill: parent
color: "#f2f2f2"
2020-08-22 01:19:58 +02:00
Column {
id: column
x: 130
y: 40
2020-08-22 01:19:58 +02:00
Rectangle {
width: 560
height: 250
radius: 10
border.width: 0
2020-08-22 01:19:58 +02:00
Text {
width: 400
height: 250
anchors.centerIn: parent
text: qsTr("<h1>%1</h1><br/>
<strong>%2<br/>
for %3</strong><br/><br/>
Copyright 2014-2017 Teo Mrnjavac &lt;teo@kde.org&gt;<br/>
Copyright 2017-2020 Adriaan de Groot &lt;groot@kde.org&gt;<br/>
2020-08-22 01:19:58 +02:00
Thanks to <a href='https://calamares.io/team/'>the Calamares team</a>
and the <a href='https://www.transifex.com/calamares/calamares/'>Calamares
translators team</a>.<br/><br/>
2020-08-22 01:19:58 +02:00
<a href='https://calamares.io/'>Calamares</a>
development is sponsored by <br/>
2020-08-22 01:19:58 +02:00
<a href='http://www.blue-systems.com/'>Blue Systems</a> -
Liberating Software." )
.arg(appName)
.arg(appVersion)
.arg(Branding.string(Branding.VersionedName))
2020-08-22 01:19:58 +02:00
onLinkActivated: Qt.openUrlExternally(link)
2020-08-22 01:19:58 +02:00
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
2020-08-22 01:19:58 +02:00
font.pointSize: 10
anchors.verticalCenterOffset: 10
anchors.horizontalCenterOffset: 40
wrapMode: Text.WordWrap
}
Image {
id: image
x: 8
y: 12
height: 100
fillMode: Image.PreserveAspectFit
source: "img/squid.png"
}
}
}
ToolButton {
id: toolButton
x: 19
y: 29
width: 105
height: 48
text: qsTr("Back")
hoverEnabled: true
onClicked: load.source = ""
Image {
id: image1
x: 0
y: 13
width: 22
height: 22
source: "img/chevron-left-solid.svg"
fillMode: Image.PreserveAspectFit
}
}
}
}