diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-19 06:18:29 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-19 06:18:29 +0100 |
| commit | 0c1df583acba434e2d7f6905a30fdefe288d0f9d (patch) | |
| tree | e485fb1510ce2441622c4b29b8762633849f6fd2 /demo/CMakeLists.txt | |
| parent | a0c7f2a7ef04dbe2e7491eabf828e26423d1bd10 (diff) | |
| download | BobinkQtOpcUa-0c1df583acba434e2d7f6905a30fdefe288d0f9d.tar.gz BobinkQtOpcUa-0c1df583acba434e2d7f6905a30fdefe288d0f9d.zip | |
Add BobinkNode QML type and two-page demo for node monitoring
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.
Diffstat (limited to 'demo/CMakeLists.txt')
| -rw-r--r-- | demo/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
