summaryrefslogtreecommitdiffstats
path: root/qml/Welcome.qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-06-20 10:03:30 +0200
committerPapoteur <papoteur@mageia.org>2020-06-20 10:03:30 +0200
commit914b3a494ef37bf677315b122adc74c557343cab (patch)
tree947824eb51d4b5180ceb1751aea18b0668ad9ab4 /qml/Welcome.qml
parentf23ebca9ad3ced97a0bc3ab0cc3ecaa0d52849f9 (diff)
downloadmageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.tar
mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.tar.gz
mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.tar.bz2
mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.tar.xz
mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.zip
Explode pages in qml files
Diffstat (limited to 'qml/Welcome.qml')
-rw-r--r--qml/Welcome.qml32
1 files changed, 32 insertions, 0 deletions
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<BR />you with the configuration of your newly installed system.<BR /><BR />Now, click on <i>Media sources</i> to go to the first step.");
+ textFormat: Text.RichText
+ color: "white"
+ }
+ }
+ }