summaryrefslogtreecommitdiffstats
path: root/qml/Install.qml
blob: bd81596df15a68fc5e5c44e8702057f63e8cf411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import QtQuick 2
import QtQuick.Controls 1

Rectangle {
    //: 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 {
            horizontalAlignment: TextInput.AlignHCenter
            anchors.horizontalCenter:  parent.horizontalCenter
            text: qsTr("Here you can choose to permanently install this Mageia system on your computer. Any customizations you have made before launching the installer will be included.");
            textFormat: Text.RichText
            wrapMode: Text.WordWrap
            color: "white"
            width: view.width * 0.8
        }

        Image {
            anchors.horizontalCenter:  parent.horizontalCenter
            source: "file:/usr/share/icons/draklive-install.png"
        }
        MButton {
            anchors.horizontalCenter:  parent.horizontalCenter
            objectName: "launch"
            onMbuttonClicked: { launch.command(["/usr/bin/draklive-install",])}
            buttonText: qsTr("Launch installation")
        }

    }
}