Commit 35d597a2 authored by Karel Slaný's avatar Karel Slaný
Browse files

Replaced CheckBox instances with Switch instances in QML.

parent f85a8ffa
......@@ -313,18 +313,21 @@ Component {
}
}
}
CheckBox {
Switch {
id: rememberPassword
text: qsTr("Remember password")
font.pointSize: testAccountLabel.font.pointSize // TODO -- Switch ignores global font settings.
checked: true
}
Column {
spacing: 1
CheckBox {
Switch {
id: testAccount
text: qsTr("Test account")
font.pointSize: testAccountLabel.font.pointSize // TODO -- Switch ignores global font settings.
}
Text {
id: testAccountLabel
color: datovkaPalette.mid
width: myWidht
text: qsTr("Test account means an account for test environment of ISDS.")
......@@ -333,9 +336,10 @@ Component {
}
Column {
spacing: 1
CheckBox {
Switch {
id: useLS
text: qsTr("Use local storage (database)")
font.pointSize: testAccountLabel.font.pointSize // TODO -- Switch ignores global font settings.
checked: true
}
Text {
......
......@@ -99,12 +99,14 @@ Component {
spacing: formItemVerticalSpacing
Column {
spacing: 1
CheckBox {
Switch {
id: idownloadOnlyNewMsgs
text: qsTr("Download only newer messages")
font.pointSize: downloadOnlyNewDescription.font.pointSize // TODO -- Switch ignores global font settings.
checked: true
}
Text {
id: downloadOnlyNewDescription
color: datovkaPalette.mid
width: myWidht
text: qsTr("Datovka will synchronize only messages which are not older than 90 days.")
......@@ -113,9 +115,10 @@ Component {
}
Column {
spacing: 1
CheckBox {
Switch {
id: idownloadCompleteMsgs
text: qsTr("Download complete messages")
font.pointSize: downloadOnlyNewDescription.font.pointSize // TODO -- Switch ignores global font settings.
}
Text {
color: datovkaPalette.mid
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment