status-desktop/ui/app/AppLayouts/Profile/Sections/SyncContainer.qml

42 lines
898 B
QML
Raw Normal View History

2020-06-17 19:18:31 +00:00
import QtQuick 2.13
import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
2020-05-27 21:28:25 +00:00
import "../../../../imports"
import "../../../../shared"
2020-05-27 21:28:25 +00:00
Item {
id: syncContainer
Layout.fillHeight: true
Layout.fillWidth: true
StyledText {
2020-05-27 21:28:25 +00:00
id: element4
//% "Sync settings"
text: qsTrId("sync-settings")
2020-05-27 21:28:25 +00:00
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: parent.top
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
}
Component {
id: mailserversList
RadioButton {
2020-06-17 19:18:31 +00:00
text: name
checked: index == 0 ? true: false
2020-05-27 21:28:25 +00:00
}
}
ListView {
id: mailServersListView
anchors.topMargin: 48
anchors.top: element4.bottom
anchors.fill: parent
model: profileModel.mailserversList
delegate: mailserversList
}
}