1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-12-25 04:32:29 +00:00

Fix About Page, Add Manual and Github Links

This commit is contained in:
seiichiro 2017-12-25 12:07:42 +01:00
parent f7e4f2c053
commit 00b1c594c9

View file

@ -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: "<a href=\"https://www.seiichiro0185.org/sailfish:apps:sailotp:manual\">Online Manual</a>"
onClicked: {
Qt.openUrlExternally("https://www.seiichiro0185.org/sailfish:apps:sailotp:manual")
}
}
Button {
id: homepage
anchors.horizontalCenter: parent.horizontalCenter
text: "<a href=\"https://www.seiichiro0185.org/git/SailfishOS/harbour-sailotp\">Source Code</a>"
text: "<a href=\"https://github.com/seiichiro0185/sailotp/\">Source Code & Issue Tracker</a>"
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"
}