/* === This file is part of Calamares - === * * Copyright 2020, Anke Boersma * * Calamares is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Calamares is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Calamares. If not, see . */ import io.calamares.ui 1.0 import QtQuick 2.7 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 import org.kde.kirigami 2.7 as Kirigami Rectangle { focus: true Kirigami.Theme.backgroundColor: Kirigami.Theme.backgroundColor anchors.fill: parent anchors.topMargin: 70 TextArea { id: recommended anchors.horizontalCenter: parent.horizontalCenter anchors.top: parent.top anchors.topMargin: 20 width: 640 font.pointSize: 12 textFormat: Text.RichText antialiasing: true activeFocusOnPress: false wrapMode: Text.WordWrap text: qsTr("

This computer does not satisfy some of the recommended requirements for setting up %1.

Setup can continue, but some features might be disabled.

").arg(Branding.string(Branding.VersionedName)) } TextArea { anchors.horizontalCenter: parent.horizontalCenter anchors.top: recommended.bottom anchors.topMargin: 20 width: 640 background: Rectangle { implicitWidth: 640 implicitHeight: 50 border.color: "#ff0000" color: "#b0e0e6" } font.pointSize: 12 textFormat: Text.RichText antialiasing: true activeFocusOnPress: false wrapMode: Text.WordWrap text: qsTr("

The system is not connected to the internet.

")//.arg(requirementsModel) } }