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("Your username and password will be transferred unencrypted over the network when you enable this option.
Do not accept unless you know exactly what you are doing!
More information...")
}
TextSwitch {
id: textSwitch
text: qsTr("I do understand")
}
}
}
allowedOrientations: defaultAllowedOrientations
}