diff options
author | Papoteur <papoteur@mageia.org> | 2020-06-21 22:42:18 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2020-06-21 22:42:18 +0200 |
commit | e0f03586b4b3c7a89abdd43a94276e9cdb83d415 (patch) | |
tree | 22e564b318109d55bbda3099d3602ba50685e9b1 /qml/Install.qml | |
parent | 05a4b221a461de945b303c0c685a5f3a9071b9f7 (diff) | |
download | mageiawelcome-e0f03586b4b3c7a89abdd43a94276e9cdb83d415.tar mageiawelcome-e0f03586b4b3c7a89abdd43a94276e9cdb83d415.tar.gz mageiawelcome-e0f03586b4b3c7a89abdd43a94276e9cdb83d415.tar.bz2 mageiawelcome-e0f03586b4b3c7a89abdd43a94276e9cdb83d415.tar.xz mageiawelcome-e0f03586b4b3c7a89abdd43a94276e9cdb83d415.zip |
New screens for live mode.
Diffstat (limited to 'qml/Install.qml')
-rw-r--r-- | qml/Install.qml | 72 |
1 files changed, 16 insertions, 56 deletions
diff --git a/qml/Install.qml b/qml/Install.qml index 22bfcd3..f715762 100644 --- a/qml/Install.qml +++ b/qml/Install.qml @@ -1,75 +1,35 @@ import QtQuick 2 import QtQuick.Controls 1 -// Install software page Rectangle { - property var title: qsTr("Install software") + //: the button in buttons bar + property var title: qsTr("Install") width: view.width; height: view.height Loader { sourceComponent: slidebackground ; anchors.fill: parent} Column { spacing: 10 + anchors.centerIn: parent + anchors.verticalCenter: parent.verticalCenter + 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 + horizontalAlignment: TextInput.AlignHCenter + anchors.horizontalCenter: parent.horizontalCenter + text: qsTr("Are you ready for Installation?"); 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")+" *" + + Image { + anchors.horizontalCenter: parent.horizontalCenter + source: "file:/usr/share/icons/draklive-install.png" } MButton { - anchors.left: parent.left; anchors.leftMargin: 20; - width: slideshow.width * .35 + anchors.horizontalCenter: parent.horizontalCenter objectName: "launch" - onMbuttonClicked: { launch.command(["dnfdragora",])} - buttonText: qsTr("Dnfdragora") - } - Label { - text: qsTr("The next slide shows a small selection of popular applications - any of which may be installed at this point.<BR/>"); - 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" + onMbuttonClicked: { launch.command(["draklive-install",])} + buttonText: qsTr("Launch installation") } - 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" + } } |