harbour-nextcloudnotes/qml/pages/UnencryptedDialog.qml

37 lines
1,019 B
QML
Raw Normal View History

import QtQuick 2.0
import Sailfish.Silica 1.0
Dialog {
id: unencryptedDialog
canAccept: textSwitch.checked
SilicaFlickable {
anchors.fill: parent
contentHeight: column.height
Column {
id: column
width: parent.width
DialogHeader {
}
Label {
x: Theme.horizontalPageMargin
width: parent.width - 2*x
wrapMode: Text.Wrap
linkColor: Theme.highlightColor
text: qsTr("<strong>Your username and password will be transferred unencrypted over the network when you enable this option.<br>Do not accept unless you know exactly what you are doing!</strong ><br><a href=\"https://github.com/nextcloud/notes/wiki/API-0.2\">More information...</a>")
}
TextSwitch {
id: textSwitch
text: qsTr("I do understand")
}
}
}
2018-12-04 19:24:45 +03:00
allowedOrientations: defaultAllowedOrientations
}