|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
GuiIntegration for QWidget-based windows. More...
Public Member Functions | |
| QString | name () const override |
| Unique name; registering another integration with the same name replaces this one. | |
| Expected< QImage > | grabWindow (QWindow *window) override |
| Renders the window's contents. | |
| Expected< ScreenRect > | objectGeometry (QObject *object) override |
Where object is on screen. | |
| Expected< QObject * > | objectForWindow (QWindow *window) override |
| The object that represents a top-level window in the object tree (e.g. | |
| Expected< QObject * > | objectAt (QWindow *window, const QPointF &pos) override |
The deepest object at pos (window coordinates), or notHandled(). | |
| Expected< QAbstractItemModel * > | model (QObject *object) override |
The item model object shows (it is a view, combo box, ...), or notHandled(). | |
| Expected< ScreenRect > | cellGeometry (QObject *object, const QModelIndex &index, ScrollToCell scroll) override |
Where cell index of view view is on screen. | |
| Expected< QJsonObject > | layoutInfo (QObject *object) override |
Layout facts about object for layout_explain (size hints, policies, margins, clipping, ...), or notHandled(). | |
| Expected< OverflowFacts > | overflowFacts (QObject *object) override |
What this integration knows about how object may overflow, or notHandled(). | |
| QList< OpenPopup > | openPopups (QObject *root) override |
The open popups that belong to root or an object below it. | |
| QObjectList | movingViews (QWindow *window) override |
The views in window still scrolling on their own: a flick, kinetic scrolling, or an animated wheel scroll. | |
| Public Member Functions inherited from Sonde::GuiIntegration | |
| virtual | ~GuiIntegration () |
| Destroys the integration. | |
| virtual Expected< QObjectList > | children (QObject *object) |
Visual children of object if they differ from QObject::children(), or notHandled(). | |
| virtual QJsonObject | appInfo () |
| Fields this integration adds to app_info's answer, such as the state of a feature it provides. | |
GuiIntegration for QWidget-based windows.
|
inlineoverridevirtual |
Where cell index of view view is on screen.
| view | The view showing the cell's model. |
| index | The cell. |
| scroll | Whether to scroll the view so the cell is visible first. |
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
Renders the window's contents.
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
Layout facts about object for layout_explain (size hints, policies, margins, clipping, ...), or notHandled().
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
The item model object shows (it is a view, combo box, ...), or notHandled().
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
The views in window still scrolling on their own: a flick, kinetic scrolling, or an animated wheel scroll.
Every integration is asked.
A press on a moving view stops it instead of reaching what is under it, so the input tools wait for these to stop before they reply.
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
Unique name; registering another integration with the same name replaces this one.
Implements Sonde::GuiIntegration.
|
inlineoverridevirtual |
The deepest object at pos (window coordinates), or notHandled().
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
The object that represents a top-level window in the object tree (e.g.
its QWidget), or notHandled() to use the QWindow itself.
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
Where object is on screen.
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
The open popups that belong to root or an object below it.
Every integration is asked, and the lists are joined.
Reimplemented from Sonde::GuiIntegration.
|
inlineoverridevirtual |
What this integration knows about how object may overflow, or notHandled().
Reimplemented from Sonde::GuiIntegration.