From 914b3a494ef37bf677315b122adc74c557343cab Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 20 Jun 2020 10:03:30 +0200 Subject: Explode pages in qml files --- qml/Welcome.qml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 qml/Welcome.qml (limited to 'qml/Welcome.qml') diff --git a/qml/Welcome.qml b/qml/Welcome.qml new file mode 100644 index 0000000..64be714 --- /dev/null +++ b/qml/Welcome.qml @@ -0,0 +1,32 @@ +import QtQuick 2 +import QtQuick.Controls 1 + + Rectangle { + //: the button in buttons bar + property var title: qsTr("Welcome") + width: view.width; height: view.height + Loader { sourceComponent: slidebackground ; + anchors.fill: parent} + Column { + anchors.centerIn: parent + anchors.verticalCenter: parent.verticalCenter + + Label { + //: the %1 will be replaced with the user name + anchors.horizontalCenter: parent.horizontalCenter + horizontalAlignment: TextInput.AlignHCenter + text: (user == 'live' ? qsTr("Welcome to Mageia") : qsTr("Welcome to Mageia, %1").arg(user)+'\n') + font.weight: Font.DemiBold + font.pixelSize: Qt.application.font.pixelSize * 1.5 + color: "white" + } + + Label { + horizontalAlignment: TextInput.AlignHCenter + anchors.horizontalCenter: parent.horizontalCenter + text: qsTr("We are going to guide you through a few important steps and help
you with the configuration of your newly installed system.

Now, click on Media sources to go to the first step."); + textFormat: Text.RichText + color: "white" + } + } + } -- cgit v1.2.1