From 00b1c594c9b0982629213df887e966d0690c4b52 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Mon, 25 Dec 2017 12:07:42 +0100 Subject: [PATCH] Fix About Page, Add Manual and Github Links --- qml/pages/About.qml | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/qml/pages/About.qml b/qml/pages/About.qml index 551ef08..fa007d0 100644 --- a/qml/pages/About.qml +++ b/qml/pages/About.qml @@ -45,12 +45,19 @@ Page { Column { id: column width: parent.width - spacing: Theme.paddingLarge + spacing: Theme.paddingSmall + TextArea { + id: spacer + anchors.horizontalCenter: parent.horizontalCenter + width: parent.width + readOnly: true + text: "" + height: Theme.paddingLarge*2 + } Image { id: logo source: "../sailotp.png" - anchors.topMargin: 20 anchors.horizontalCenter: parent.horizontalCenter } Label { @@ -77,12 +84,20 @@ Page { text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)") color: "white" } + Button { + id: manual + anchors.horizontalCenter: parent.horizontalCenter + text: "Online Manual" + onClicked: { + Qt.openUrlExternally("https://www.seiichiro0185.org/sailfish:apps:sailotp:manual") + } + } Button { id: homepage anchors.horizontalCenter: parent.horizontalCenter - text: "Source Code" + text: "Source Code & Issue Tracker" onClicked: { - Qt.openUrlExternally("https://www.seiichiro0185.org/git/SailfishOS/harbour-sailotp") + Qt.openUrlExternally("https://github.com/seiichiro0185/sailotp/") } } TextArea { @@ -92,7 +107,7 @@ Page { font.pixelSize: Theme.fontSizeSmall horizontalAlignment: TextEdit.Center readOnly: true - text: qsTr("SailOTP uses the following third party libs:")+"\n\nhttp://caligatio.github.io/jsSHA/\nhttps://github.com/mdp/gibberish-aes/\nhttp://sourceforge.net/projects/qzxing/\nhttp://fukuchi.org/works/qrencode/" + text: qsTr("SailOTP uses the following third party libs:")+"\n\nhttp://caligatio.github.io/jsSHA/\nhttps://code.google.com/archive/p/crypto-js/\nhttp://sourceforge.net/projects/qzxing/\nhttp://fukuchi.org/works/qrencode/" color: "white" }