summaryrefslogtreecommitdiffstats
path: root/qml/InstallSoftware.qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-06-21 22:42:18 +0200
committerPapoteur <papoteur@mageia.org>2020-06-21 22:42:18 +0200
commite0f03586b4b3c7a89abdd43a94276e9cdb83d415 (patch)
tree22e564b318109d55bbda3099d3602ba50685e9b1 /qml/InstallSoftware.qml
parent05a4b221a461de945b303c0c685a5f3a9071b9f7 (diff)
downloadmageiawelcome-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/InstallSoftware.qml')
-rw-r--r--qml/InstallSoftware.qml75
1 files changed, 75 insertions, 0 deletions
diff --git a/qml/InstallSoftware.qml b/qml/InstallSoftware.qml
new file mode 100644
index 0000000..22bfcd3
--- /dev/null
+++ b/qml/InstallSoftware.qml
@@ -0,0 +1,75 @@
+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 {
+ spacing: 10
+ 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")+" *"
+ }
+ MButton {
+ anchors.left: parent.left; anchors.leftMargin: 20;
+ width: slideshow.width * .35
+ 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"
+ }
+ 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"
+ }
+}