From 0c1df583acba434e2d7f6905a30fdefe288d0f9d Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 19 Feb 2026 06:18:29 +0100 Subject: Add BobinkNode QML type and two-page demo for node monitoring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BobinkNode (QQuickItem) monitors a single OPC UA node with automatic lifecycle: monitoring starts/stops based on item visibility (StackView page switches, Loader, etc.). Properties: nodeId, value (r/w), status, sourceTimestamp, serverTimestamp. On-demand readAttribute() for metadata. writeError signal for failed writes. Demo restructured with StackView: connection page → two node pages demonstrating the visibility-based monitoring lifecycle. --- demo/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'demo/CMakeLists.txt') diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index 9fb3093..255a9ee 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -7,7 +7,8 @@ qt_add_qml_module( VERSION 1.0 QML_FILES - Main.qml) + Main.qml + NodePage.qml) # Executable goes to bin/ to avoid clashing with the QML module directory set_target_properties(BobinkDemo PROPERTIES RUNTIME_OUTPUT_DIRECTORY -- cgit v1.2.3