|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
GuiIntegration for Qt Quick. More...
#include <sonde/guiintegration.h>#include <sonde/quickintegration.h>#include <sonde/logeventsource.h>#include <sonde/objecttree.h>#include "qmldebugclient_p.h"#include "quickintegration_p.h"#include "qmltemplates_p.h"#include <algorithm>#include <utility>#include <QtCore/QAbstractItemModel>#include <QtCore/QJsonArray>#include <QtCore/QMetaMethod>#include <QtCore/QSet>#include <QtQml/QQmlContext>#include <QtQml/QQmlEngine>#include <QtQuick/QQuickItem>#include <QtQuick/QQuickWindow>#include <QtGui/QGuiApplication>#include <QtGui/QScreen>Classes | |
| class | Sonde::anonymous_namespace{quickintegration.cpp}::QuickIntegration |
| GuiIntegration for QQuickWindow and QQuickItem. More... | |
Namespaces | |
| namespace | Sonde |
| Embeddable Model Context Protocol server for Qt applications. | |
Functions | |
| QList< QQuickItem * > | Sonde::anonymous_namespace{quickintegration.cpp}::paintOrder (const QQuickItem *parent) |
parent's child items in paint order: by z, then in childItems() order. | |
| QQuickItem * | Sonde::anonymous_namespace{quickintegration.cpp}::deepestItemAt (QQuickItem *item, const QPointF &scenePos) |
| Topmost visible item containing scenePos, depth first in paint order. | |
| QQuickItem * | Sonde::anonymous_namespace{quickintegration.cpp}::itemFrom (QObject *view, const char *name, const QVariant &arg) |
Calls view's invokable name(arg) returning a QQuickItem*, converting arg to the parameter type (an int for ListView, a QModelIndex for TableView). | |
| void | Sonde::anonymous_namespace{quickintegration.cpp}::positionAt (QObject *view, const QVariant &index, bool table) |
Calls view's positionViewAtIndex(index, Contain) so the cell is visible. | |
| QJsonObject | Sonde::anonymous_namespace{quickintegration.cpp}::rectJson (const QRectF &r) |
| {"x", "y", "width", "height"}. | |
| QJsonObject | Sonde::anonymous_namespace{quickintegration.cpp}::anchorsJson (const QQuickItem *item) |
The anchors set on item, by name (QQuickAnchors is private API, read as properties). | |
| QJsonArray | Sonde::anonymous_namespace{quickintegration.cpp}::itemsAbove (const QQuickItem *item) |
Visible items stacked above item (later siblings, or higher z) that overlap it. | |
| QJsonObject | Sonde::anonymous_namespace{quickintegration.cpp}::clipJson (const QQuickItem *item) |
The nearest ancestor with clip set, and how much of item it cuts off. | |
| QJsonArray | Sonde::anonymous_namespace{quickintegration.cpp}::itemNotes (const QQuickItem *item, const QJsonObject &clip, const QJsonArray &above) |
| Notes that explain an item's size and visibility. | |
| QMarginsF | Sonde::anonymous_namespace{quickintegration.cpp}::backgroundAllowance (const QQuickItem *item) |
| How far a Control's background may extend past the control: its negative insets. | |
| QStringList | Sonde::anonymous_namespace{quickintegration.cpp}::anchorCauses (const QQuickItem *item) |
Negative anchor margins on item, e.g. "anchors.bottomMargin: -12". | |
| bool | Sonde::anonymous_namespace{quickintegration.cpp}::looksLikeDecoration (const QQuickItem *item) |
Whether item looks like a decoration: no children, no text, no input. | |
| QRectF | Sonde::anonymous_namespace{quickintegration.cpp}::globalRect (const QQuickItem *item) |
item's rectangle in global coordinates. | |
| bool | Sonde::anonymous_namespace{quickintegration.cpp}::isAtOrBelow (const QQuickItem *item, const QObject *root) |
Whether item is root or below it (root may be a window or an item). | |
| QList< OpenPopup > | Sonde::anonymous_namespace{quickintegration.cpp}::quickPopups (QObject *root) |
The open Qt Quick Controls popups whose parent item is root or below it. | |
| void | Sonde::anonymous_namespace{quickintegration.cpp}::collectMovingFlickables (QQuickItem *item, QObjectList *out) |
Adds the Flickables (ListView, ScrollView, ...) at or below item that are moving. | |
| QStringList | Sonde::anonymous_namespace{quickintegration.cpp}::qmlSourceLines (const QObject *object) |
| object_inspect's extra line for objects declared in QML: their file and id. | |
| void | Sonde::installQuickGuiIntegration () |
| Registers the GUI integration for QQuickWindow and QQuickItem (screenshots, item geometry, hit-testing, the visual item tree), without QML debugging. | |
| bool | Sonde::qmlEngineExists () |
| Whether a QML engine exists that installQuickIntegration() can find: a child of the application object, or the engine of a Qt Quick window's QML items. | |
| void | Sonde::installQuickIntegration () |
| Teaches the GUI tools about Qt Quick. | |
GuiIntegration for Qt Quick.