diff options
author | Papoteur <papoteur@mageia.org> | 2020-06-20 10:03:30 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2020-06-20 10:03:30 +0200 |
commit | 914b3a494ef37bf677315b122adc74c557343cab (patch) | |
tree | 947824eb51d4b5180ceb1751aea18b0668ad9ab4 /qml/Mcc.qml | |
parent | f23ebca9ad3ced97a0bc3ab0cc3ecaa0d52849f9 (diff) | |
download | mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.tar mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.tar.gz mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.tar.bz2 mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.tar.xz mageiawelcome-914b3a494ef37bf677315b122adc74c557343cab.zip |
Explode pages in qml files
Diffstat (limited to 'qml/Mcc.qml')
-rw-r--r-- | qml/Mcc.qml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/qml/Mcc.qml b/qml/Mcc.qml new file mode 100644 index 0000000..82e7554 --- /dev/null +++ b/qml/Mcc.qml @@ -0,0 +1,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" + } +} |