Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
qmlwindowtools.h File Reference

The ui_open / ui_close tools: windows written in QML by the client. More...

#include <sonde/expected.h>
#include <sonde/qmltemplatetrust.h>
#include <sonde/sonde_quick_export.h>
#include <sonde/server.h>

Go to the source code of this file.

Namespaces

namespace  Sonde
 Embeddable Model Context Protocol server for Qt applications.

Functions

QmlTemplateTrust * Sonde::installQmlWindowTools (Server &server)
 Registers ui_open, ui_close and the template library tools (ui_template_list, ui_template_save, ui_template_delete) on server.
Expected< void > Sonde::addTemplateLibrary (const QString &name, const QString &resourcePath)
 Registers a library of templates compiled into the application, under name, from the Qt resource directory resourcePath (such as ":/myapp/instruments").

Detailed Description

The ui_open / ui_close tools: windows written in QML by the client.