|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
The ui_open / ui_close tools, and the QML template library tools (design 0023). More...
#include "instance_p.h"#include "qmltemplates_p.h"#include "quickintegration_p.h"#include "server_p.h"#include "threadcheck_p.h"#include <sonde/eventsource.h>#include <sonde/guiintegration.h>#include <sonde/objecttree.h>#include <sonde/qmlwindowtools.h>#include <sonde/schema.h>#include <QtCore/QBuffer>#include <QtCore/QFileInfo>#include <QtCore/QHash>#include <QtCore/QMetaProperty>#include <QtCore/QJsonArray>#include <QtCore/QPointer>#include <QtCore/QRegularExpression>#include <QtCore/QSet>#include <QtCore/QTimer>#include <QtGui/QImage>#include <QtQml/QQmlComponent>#include <QtQml/QQmlContext>#include <QtQml/QQmlEngine>#include <QtQuick/QQuickItem>#include <QtQuick/QQuickWindow>#include "qmlwindowtools.moc"Classes | |
| class | Sonde::anonymous_namespace{qmlwindowtools.cpp}::QmlEventBridge |
| The sonde object of every window's context: re-emits Sonde's events for QML. More... | |
| class | Sonde::anonymous_namespace{qmlwindowtools.cpp}::QmlWindowApi |
| A window's own sonde object: Sonde's events, the window's settings and objects, and what QML can't find out by itself about objects and values (design 0034). More... | |
| struct | Sonde::anonymous_namespace{qmlwindowtools.cpp}::OpenWindow |
| One window opened by ui_open. More... | |
| struct | Sonde::anonymous_namespace{qmlwindowtools.cpp}::WindowObject |
| An object to give a window, and whether its spec is a template's default. More... | |
| struct | Sonde::anonymous_namespace{qmlwindowtools.cpp}::QmlSource |
| What to create a window from. More... | |
| class | Sonde::anonymous_namespace{qmlwindowtools.cpp}::QmlWindows |
| The windows ui_open opened, their engine, and the tools' logic. More... | |
Namespaces | |
| namespace | Sonde |
| Embeddable Model Context Protocol server for Qt applications. | |
Functions | |
| constexpr QSize | Sonde::anonymous_namespace{qmlwindowtools.cpp}::kDefaultSize (400, 300) |
| Size of a window whose QML gives none. | |
| QStringList | Sonde::anonymous_namespace{qmlwindowtools.cpp}::errorLines (const QList< QQmlError > &errors) |
| "line:column: message" for each error. | |
| void | Sonde::anonymous_namespace{qmlwindowtools.cpp}::addOpenTool (Server &server, QmlWindows *windows) |
Registers ui_open 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"). | |
| 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. | |
The ui_open / ui_close tools, and the QML template library tools (design 0023).