diff options
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" + } +} |