mirror of
https://github.com/seiichiro0185/sailotp.git
synced 2024-11-24 16:19:43 +00:00
Fix About Page, Add Manual and Github Links
This commit is contained in:
parent
f7e4f2c053
commit
00b1c594c9
1 changed files with 20 additions and 5 deletions
|
@ -45,12 +45,19 @@ Page {
|
||||||
Column {
|
Column {
|
||||||
id: column
|
id: column
|
||||||
width: parent.width
|
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 {
|
Image {
|
||||||
id: logo
|
id: logo
|
||||||
source: "../sailotp.png"
|
source: "../sailotp.png"
|
||||||
anchors.topMargin: 20
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
|
@ -77,12 +84,20 @@ Page {
|
||||||
text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)")
|
text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)")
|
||||||
color: "white"
|
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 {
|
Button {
|
||||||
id: homepage
|
id: homepage
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
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: {
|
onClicked: {
|
||||||
Qt.openUrlExternally("https://www.seiichiro0185.org/git/SailfishOS/harbour-sailotp")
|
Qt.openUrlExternally("https://github.com/seiichiro0185/sailotp/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TextArea {
|
TextArea {
|
||||||
|
@ -92,7 +107,7 @@ Page {
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
horizontalAlignment: TextEdit.Center
|
horizontalAlignment: TextEdit.Center
|
||||||
readOnly: true
|
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"
|
color: "white"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue