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/Configuration.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/Configuration.qml')
-rw-r--r-- | qml/Configuration.qml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/qml/Configuration.qml b/qml/Configuration.qml new file mode 100644 index 0000000..71171e7 --- /dev/null +++ b/qml/Configuration.qml @@ -0,0 +1,47 @@ +import QtQuick 2 +import QtQuick.Controls 1 +import QtQuick.Dialogs 1.1 + +// Configuration summary Page +Rectangle { + Version {id:version} + property var title: qsTr("Your configuration") + width: view.width; height: view.height + Loader { sourceComponent: slidebackground ; + anchors.fill: parent} + + Column { + Rectangle{ + height: 50 + width:1 + color:"transparent" + } + ListView { + id: confList + width: view.width + height: view.height -150 + model: ConfList + delegate: Label { + text: name + leftPadding: 50 + textFormat: Text.RichText + color: "white" + } + } + MButton { + anchors.horizontalCenter: parent.horizontalCenter + objectName: "launch" + onMbuttonClicked: { about.open() } + buttonText: qsTr("About") + } + MessageDialog { + id: about + title: qsTr("About Mageiawelcome") + //: %1 will be replaced with the release number, %2 with author's names + text: qsTr("Release %1<br />Authors : %2").arg(version.version).arg("Daniel Napora, Papoteur, Antony Baker<br />") + //: replace with the list of translator's names + detailedText: qsTr("Translators: English is the source language") + standardButtons: StandardButton.Close + } + } +} |