Index: sources/gui/qml/main.qml =================================================================== diff -u -r577ab4647b2584d4e32b26797281ec1543d2e1aa -r7077e38c74db9cccb5496ffefcf8936c0916de76 --- sources/gui/qml/main.qml (.../main.qml) (revision 577ab4647b2584d4e32b26797281ec1543d2e1aa) +++ sources/gui/qml/main.qml (.../main.qml) (revision 7077e38c74db9cccb5496ffefcf8936c0916de76) @@ -28,6 +28,7 @@ import VSettings 0.1 import VAdjustmentVersions 0.1 import VDateTime 0.1 +import VNetworkModel 0.1 // States views import VHDOperationMode 0.1 @@ -111,12 +112,7 @@ VSettings { id: vSettings } VAdjustmentVersions { id: vAdjustmentVersions } VDateTime { id: vDateTime } - QtObject { id: vNetwork - property string status: "No Status" - property string ipAddress: "192.168.10.1" - property string gateway : "192.168.10.2" - - } + VNetworkModel { id: vNetwork } // ---- States VHDOperationMode { id: vHDOperationMode } VPreTreatmentStates { id: vPreTreatmentStates } @@ -232,19 +228,24 @@ font.pixelSize: 14 } - SDItem { } - PowerItem { id: _powerItem } - AlarmItem { id: _alarmItem } - Keyboard { id: _keyboard } + DiagnosticsDialog { id: _diagnosticsDialog } + SDItem { + onDoubleClicked:{ + _diagnosticsDialog.open() + } + } + PowerItem { id: _powerItem } + AlarmItem { id: _alarmItem } + Keyboard { id: _keyboard } // NotificationBar has to be anchored to the main menu and if it is moved into the AlarmItem // then cannot be anchored. - NotificationBar { id: _alarmBar - anchors.bottom : _mainMenu.top - backgroundColor : _alarmItem.backgroundColor - textColor : _alarmItem.textColor - text : _alarmItem.text - isSilenced : _alarmItem.isSilenced - timeout : _alarmItem.timeout + NotificationBar { id: _alarmBar + anchors.bottom : _mainMenu.top + backgroundColor : _alarmItem.backgroundColor + textColor : _alarmItem.textColor + text : _alarmItem.text + isSilenced : _alarmItem.isSilenced + timeout : _alarmItem.timeout } }