20 id: _networkExchangeView
33 property NetworkExchangeViewModel viewModel: null
39 text: qsTr(
"Network Exchange")
56 Layout.fillWidth: true
62 Layout.fillWidth:
true 69 viewModelProperty:
"port" 77 Layout.fillWidth: true
83 Layout.fillWidth:
true 87 viewModelProperty:
"deviceName" 94 Layout.fillWidth:
true 95 Layout.minimumHeight: 1
96 Layout.maximumHeight: 1
102 text: qsTr(
"Exchange active:")
105 viewModel: _networkExchangeView.
viewModel 106 viewModelProperty:
"active" 107 view: _exchangeSwitch
108 viewProperty:
"checked" 113 id: _exchangeScrollView
115 Layout.fillWidth:
true 116 Layout.fillHeight:
true 122 model: viewModel.sortedModel
123 delegate: ItemDelegate {
124 width: _exchangeScrollView.width
126 contentItem: ColumnLayout {
132 Layout.fillWidth:
true 138 font.pointSize: _nameLabel.font.pointSize * 0.8
139 Layout.fillWidth:
true 146 onClicked: viewModel.exportTo(index)
A QML class to create a local mvvm multiway binding.
The QML import for the QtMvvmDataSyncCore QML module.
An extension of the Label for better appearance when used in FormLayouts.
The QML import for the QtMvvmCore QML module.
A helper class to get style-dependant colors.
The QML import for the QtMvvmQuick QML module.
QObject viewModel
The object in the role of a viewmodel.
The QML import for the QtMvvmDataSyncQuick QML module.