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/Install.qml | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 qml/Install.qml (limited to 'qml/Install.qml') diff --git a/qml/Install.qml b/qml/Install.qml new file mode 100644 index 0000000..dbebeb2 --- /dev/null +++ b/qml/Install.qml @@ -0,0 +1,67 @@ +import QtQuick 2 +import QtQuick.Controls 1 + +// Install software page +Rectangle { + property var title: qsTr("Install software") + width: view.width; height: view.height + Loader { sourceComponent: slidebackground ; + anchors.fill: parent} + Column { + Label { + text: qsTr("Install and remove software") + width: slideshow.width + topPadding: 30; leftPadding: 20; + padding: 10 + font.bold: true + wrapMode: Text.WordWrap + color: "white" + } + Label { + text: qsTr("With Mageia, you will find the software in the media repositories. Mageia users simply access these media via one of the Software Managers."); + width: slideshow.width + padding: 20 + wrapMode: Text.WordWrap + textFormat: Text.RichText + color: "white" + } + MButton { + anchors.left: parent.left; anchors.leftMargin: 20; + width: slideshow.width * .35 + objectName: "launch" + onMbuttonClicked: { launch.command(["rpmdrake",])} + buttonText: qsTr("RPMdrake")+" *" + } + Label { + text: qsTr("The next slide shows a small selection of popular applications - any of which may be installed at this point.
"); + width: slideshow.width + padding: 20 + wrapMode: Text.WordWrap + textFormat: Text.RichText + color: "white" + } + Label { + text: qsTr("You can find a more detailed list here:"); + width: slideshow.width + padding: 20 + wrapMode: Text.WordWrap + textFormat: Text.RichText + color: "white" + } + MButton { + anchors.left: parent.left; anchors.leftMargin: 20 + width: slideshow.width * .35 + objectName: "link" + //: Translate only if the link is to a specific page for your language + onMbuttonClicked: { link.weblink(qsTr("https://wiki.mageia.org/en/List_of_applications"))} + buttonText: qsTr("List of applications (wiki)") + } + } + Label { + anchors {top: parent.bottom; topMargin: 3; horizontalCenter: parent.left; horizontalCenterOffset: parent.width * .4 } + text: qsTr("(*) Administrator password is needed") + wrapMode: Text.WordWrap + font.italic: true + color: "white" + } +} -- cgit v1.2.1