1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
|
import QtQuick 2.4
import Lomiri.Components 1.3
import "../components"
Page {
id: aboutPage
// property string daemonVersion: ""
header: PageHeader {
title: i18n.tr("About")
flickable: flickable
}
Timer {
id: continuousCheck
interval: 50
running: true
repeat: true
onTriggered: {
// hide back navigation in double-column mode
if (apl.columns === 1) {
header.navigationActions[0].visible = true
} else {
header.navigationActions[0].visible = false
}
}
}
Flickable {
id: flickable
flickableDirection: Flickable.AutoFlickIfNeeded
anchors.fill: parent
contentHeight: dataColumn.height + units.gu(10) + dataColumn.anchors.topMargin
Column {
id: dataColumn
spacing: units.gu(3)
anchors {
top: parent.top; left: parent.left; right: parent.right; topMargin: units.gu(5); rightMargin:units.gu(2.5); leftMargin: units.gu(2.5)
}
LomiriShape {
width: units.gu(20)
height: width
anchors.horizontalCenter: parent.horizontalCenter
source: Image {
source: "../UBsync.svg"
}
MouseArea{
anchors.fill: parent
onClicked: {
/* TODO: The share debug feature was here; any other hiddent feature could be activated in the future :-)*/
}
}
}
Label {
width: parent.width
textSize: Label.XLarge
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignHCenter
text: "Lomiri Cloudsync App"
}
Column {
width: parent.width
Label {
id: appVersionLabel
width: parent.width
horizontalAlignment: Text.AlignHCenter
// TRANSLATORS: Owncloud Sync version number e.g Version 0.1
text: i18n.tr("App Version %1").arg(applicationVersion) + "." + applicationPatch
}
Label{
id: clientLabel
width: parent.width
horizontalAlignment: Text.AlignHCenter
// TRANSLATORS: Nextcloudcmd binary version number e.g Version 1.8.1
text: i18n.tr("Client: %1").arg(owncloud.settings.owncloudcmdVersion)
}
Label {
width: parent.width
horizontalAlignment: Text.AlignHCenter
text: " "
}
LabelLinkRow {
id: maintainerLabel
//width: parent.width
anchors{
horizontalCenter: clientLabel.horizontalCenter
}
// TRANSLATORS: %1 is the maintainers name, %2 is the link text to the UBsync contributors teams page
labeltext: i18n.tr("Maintained by %1 and the").arg("UBports Core Developers")
linktext: i18n.tr("Lomiri Cloudsync Team")
linkurl: "https://gitlab.com/ubports/development/apps/lomiri-cloudsync-app#current-and-past-contributors"
}
Label {
width: parent.width
horizontalAlignment: Text.AlignHCenter
text: " "
}
LabelLinkRow {
id: issueReportLabel
//width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
labeltext: i18n.tr("Please report bugs to the")
linktext: i18n.tr("issue tracker")
linkurl: "https://gitlab.com/ubports/development/apps/lomiri-cloudsync-app/-/issues"
}
}
Column {
anchors {
left: parent.left
right: parent.right
margins: units.gu(2)
}
Label {
width: parent.width
wrapMode: Text.WordWrap
font.weight: Font.DemiBold
horizontalAlignment: Text.AlignHCenter
text: i18n.tr("Thanks to")
}
LabelLinkRow {
id: ownCloudClientLabel
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
labeltext: i18n.tr("Owncloud client:")
linktext: "Owncloudcmd"
linkurl: "https://doc.owncloud.com/desktop/latest/advanced_usage/command_line_client.html"
}
LabelLinkRow {
id: nextCloudClientLabel
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
labeltext: i18n.tr("Nextcloud client:")
linktext: "Nextcloudcmd"
linkurl: "https://docs.nextcloud.com/desktop/latest/advancedusage.html#nextcloud-command-line-client"
}
LabelLinkRow {
id: qtLabel
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
labeltext: i18n.tr("This Qt library for WebDAV:")
linktext: "qwebdavlib"
linkurl: "https://github.com/fredldotme/qwebdavlib"
}
LabelLinkRow {
id: iconLabel
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
labeltext: i18n.tr("Joan CiberSheep for the logo from:")
linktext: "Suru Theme"
linkurl: "https://gitlab.com/ubports/development/core/suru-icon-theme"
}
LabelLinkRow {
id: clickableLabel
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
labeltext: i18n.tr("Lukas to enable the application with:")
linktext: "Clickable"
linkurl: "https://clickable-ut.dev/en/latest/index.html"
}
}
Label {
textSize: Label.Small
width: parent.width
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
text: i18n.tr("Released under the terms of the GNU GPL v3")
}
LabelLinkRow {
id: forkLabel
//width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
labeltext: i18n.tr("Fork of:")
linktext: "Owncloud-Sync"
linkurl: "https://launchpad.net/owncloud-sync"
}
LabelLinkRow {
id: sourceCodeLabel
//width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
labeltext: i18n.tr("Source code available on:")
linktext: "gitlab.com/ubports/development/apps/lomiri-cloudsync-app"
linkurl: "https://gitlab.com/ubports/development/apps/lomiri-cloudsync-app"
}
}
}
}
|