/* === 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 QtQuick 2.7 import QtQuick.Controls 2.2 import QtQuick.Window 2.2 import QtQuick.Layouts 1.3 import QtQuick.Controls.Material 2.1 Item { width: 740 height: 420 Flickable { id: flick anchors.fill: parent contentHeight: 800 ScrollBar.vertical: ScrollBar { width: 10 policy: ScrollBar.AlwaysOn } TextArea { id: intro x: 1 y: 0 width: 720 font.pointSize: 14 textFormat: Text.RichText antialiasing: true activeFocusOnPress: false wrapMode: Text.WordWrap text: qsTr("

Generic GNU/Linux 2020.2 LTS Turgid Tuba

This an example QML file, showing options in RichText with Flickable content.

QML with RichText can use HTML tags, Flickable content is useful for touchscreens.

This is bold text

This is italic text

This is underlined text

This text will be center-aligned.

This is strikethrough

Code example: ls -l /home

Lists:

  • Intel CPU systems
  • AMD CPU systems

The vertical scrollbar is adjustable, current width set to 10.

") } } }