summaryrefslogtreecommitdiffstats
path: root/qml/Mcc.qml
blob: 82e75542d7706f7e714d832fd973e74f03bc1667 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import QtQuick 2
import QtQuick.Controls 1

// MCC Page
Rectangle {
    //: The button in the buttons bar, shortcut for Mageia Control Center
    property var title: qsTr("MCC")
    width: view.width; height: view.height
    Loader { sourceComponent: slidebackground ;
        anchors.fill: parent}

    Column {
        x: 10; y: 30
        spacing: 10
            Label {
                text: qsTr("<b>Mageia Control Center</b> (aka drakconf) is a set of tools to help you configure your system.")
                width: view.width * 0.9
                padding: 10
                wrapMode: Text.WordWrap
                textFormat: Text.RichText
                color: "white"
            }
            Label {
                padding: 5
                anchors.horizontalCenter: parent.horizontalCenter
                text: "<ul><li>"+qsTr("Software Management")+"</li><li>"
            + qsTr("Hardware")+"</li><li>"
            + qsTr("Network and Internet")+"</li><li>"
            + qsTr("System")+"</li><li>"
            + qsTr("Network Sharing")+"</li><li>"
            + qsTr("Local Disks")+"</li><li>"
            + qsTr("Security")+"</li><li>"
            + qsTr("Boot")+"</li></ul>";
                wrapMode: Text.WordWrap;textFormat: Text.RichText
                color: "white"
            }

            MButton {
                anchors.horizontalCenter:  parent.horizontalCenter
                objectName: "launch"
                onMbuttonClicked: { launch.command(["drakconf",])}
                buttonText: qsTr("Mageia Control Center")+" *"
            }
            MButton {
                anchors.horizontalCenter:  parent.horizontalCenter
                objectName: "link"
                onMbuttonClicked: { link.weblink("https://www.mageia.org/doc")}
                buttonText: qsTr("MCC documentation")
            }
        }
        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"
        }
}