summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qml/Version.qml2
-rw-r--r--qml/mw-ui.qml44
2 files changed, 37 insertions, 9 deletions
diff --git a/qml/Version.qml b/qml/Version.qml
new file mode 100644
index 0000000..c5356bf
--- /dev/null
+++ b/qml/Version.qml
@@ -0,0 +1,2 @@
+import QtQuick 2.0
+Item { property var version: '1.93';}
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index 9851532..ed75495 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -7,6 +7,7 @@ import QtQuick.Controls.Styles 1.4
import QtGraphicalEffects 1
import QtQuick.Window 2
import Qt.labs.settings 1.0
+import QtQuick.Dialogs 1.1
Rectangle {
id: box
@@ -777,19 +778,44 @@ Rectangle {
}
// 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}
- ListView {
- id: confList
- anchors.fill: parent
- anchors.margins: 50
- model: ConfList
- delegate: Label {
- text: name
- textFormat: Text.RichText
- color: "white"
+
+ 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"
+ }
+ }
+ Button {
+ x: (view.width - width)/2
+ text: qsTr("About")
+ onClicked: about.open()
+ }
+
+ MessageDialog {
+ id: about
+ title: qsTr("About Mageiawelcome")
+ //: the %1 will be replaced with the user name
+ text: "Release %1<br />Authors : Daniel Napora, Papoteur, Antony Baker<br />".arg(version.version)
+ //: replace with the list of translator's names
+ detailedText: qsTr("Translators: English is the source language")
+ standardButtons: StandardButton.Close
}
}
}