2019-03-15 16:53:40 +00:00
|
|
|
import QtQuick 2.4
|
|
|
|
import Ubuntu.Components 1.3
|
|
|
|
import "headers"
|
|
|
|
import "../components"
|
2019-03-22 16:40:44 +00:00
|
|
|
import "../models"
|
2019-03-15 16:53:40 +00:00
|
|
|
|
|
|
|
Page {
|
|
|
|
header: StackHeader {
|
2019-03-21 10:22:12 +00:00
|
|
|
id: infoHeader
|
2019-03-15 16:53:40 +00:00
|
|
|
title: i18n.tr('Info')
|
|
|
|
}
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
anchors.top: infoHeader.bottom
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
width: parent.width
|
|
|
|
color: "#FFF"
|
|
|
|
|
|
|
|
Flow {
|
2019-03-22 16:40:44 +00:00
|
|
|
spacing: units.gu(3)
|
2019-03-15 16:53:40 +00:00
|
|
|
anchors.fill: parent
|
2019-03-22 16:40:44 +00:00
|
|
|
Rectangle {
|
|
|
|
width: parent.width
|
|
|
|
height: units.gu(1)
|
|
|
|
}
|
|
|
|
Text {
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
verticalAlignment: Text.AlignVCenter
|
2019-03-21 10:22:12 +00:00
|
|
|
width: parent.width
|
|
|
|
height: units.gu(4)
|
2019-03-22 16:40:44 +00:00
|
|
|
text: i18n.tr('<b><font size="6">%1</font></b>').arg(Manifest.title)
|
2019-03-15 16:53:40 +00:00
|
|
|
}
|
|
|
|
Rectangle {
|
2019-03-21 10:22:12 +00:00
|
|
|
width: parent.width
|
|
|
|
height: units.gu(12)
|
|
|
|
Image {
|
|
|
|
source: "../../assets/logo.svg"
|
|
|
|
width: units.gu(12)
|
|
|
|
height: units.gu(12)
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
2019-03-15 16:53:40 +00:00
|
|
|
}
|
|
|
|
}
|
2019-03-22 16:40:44 +00:00
|
|
|
Text {
|
2019-03-15 16:53:40 +00:00
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
width: parent.width
|
|
|
|
height: units.gu(6)
|
2019-03-22 16:40:44 +00:00
|
|
|
text: i18n.tr('<font size="4">Maintainer<br>%1</font>').arg(Manifest.maintainer)
|
2019-03-15 16:53:40 +00:00
|
|
|
}
|
|
|
|
Text {
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
width: parent.width
|
|
|
|
height: units.gu(6)
|
2019-03-22 16:40:44 +00:00
|
|
|
text: i18n.tr('<font size="4">Version<br>%1</font><br>%2@%3').arg(Manifest.version).arg(Manifest.framework).arg(Manifest.architecture)
|
2019-03-15 16:53:40 +00:00
|
|
|
}
|
2019-03-22 16:40:44 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
Flow {
|
|
|
|
spacing: 2
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.left: parent.left
|
|
|
|
Link {
|
2019-03-15 16:53:40 +00:00
|
|
|
url: "https://github.com/QRouland/UTPass/issues"
|
2019-03-16 08:02:12 +00:00
|
|
|
text: i18n.tr('Suggest improvement(s) or report a bug(s)')
|
2019-03-15 16:53:40 +00:00
|
|
|
}
|
2019-03-22 16:40:44 +00:00
|
|
|
Link {
|
|
|
|
url: "https://github.com/QRouland/UTPass"
|
|
|
|
text: i18n.tr('Access to the source code')
|
|
|
|
}
|
|
|
|
Text {
|
|
|
|
width: parent.width
|
|
|
|
height: units.gu(3)
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
verticalAlignment: Text.AlignVCenter
|
|
|
|
text: i18n.tr('<font size="2">Released under the terms of the GNU GPL v3</font>')
|
|
|
|
}
|
|
|
|
}
|
2019-03-15 16:53:40 +00:00
|
|
|
}
|
|
|
|
}
|