2022-12-30 22:21:22 +01:00
|
|
|
import QtQuick 2.6
|
|
|
|
|
import QtQuick.Layouts 1.0
|
|
|
|
|
import QtQuick.Controls 2.1
|
|
|
|
|
|
2022-07-21 16:01:31 +02:00
|
|
|
import "../controls"
|
2022-03-11 15:44:08 +01:00
|
|
|
|
|
|
|
|
WizardComponent {
|
|
|
|
|
valid: true
|
|
|
|
|
last: true
|
|
|
|
|
|
2022-10-24 13:04:46 +02:00
|
|
|
function apply() {
|
2023-03-28 14:44:21 +00:00
|
|
|
wizard_data['autoconnect'] = sc.auto_connect
|
2022-07-21 16:01:31 +02:00
|
|
|
wizard_data['server'] = sc.address
|
2022-03-11 15:44:08 +01:00
|
|
|
}
|
|
|
|
|
|
2022-12-30 22:21:22 +01:00
|
|
|
ColumnLayout {
|
2023-01-04 10:32:27 +01:00
|
|
|
anchors.fill: parent
|
2022-12-30 22:21:22 +01:00
|
|
|
spacing: constants.paddingLarge
|
|
|
|
|
|
|
|
|
|
Label {
|
|
|
|
|
text: qsTr('Server settings')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ServerConfig {
|
|
|
|
|
id: sc
|
|
|
|
|
width: parent.width
|
2023-01-04 10:32:27 +01:00
|
|
|
Layout.fillHeight: true
|
2022-12-30 22:21:22 +01:00
|
|
|
}
|
2022-03-11 15:44:08 +01:00
|
|
|
}
|
|
|
|
|
}
|