Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
anonymous_namespace{test_windows.cpp}::NullIntegration Class Reference

An integration that implements nothing, to exercise the defaults. More...

Inheritance diagram for anonymous_namespace{test_windows.cpp}::NullIntegration:
Sonde::GuiIntegration

Public Member Functions

QString name () const override
 Integration name.
Public Member Functions inherited from Sonde::GuiIntegration
virtual ~GuiIntegration ()
 Destroys the integration.
virtual Expected< QImage > grabWindow (QWindow *window)
 Renders the window's contents.
virtual Expected< ScreenRect > objectGeometry (QObject *object)
 Where object is on screen.
virtual Expected< QObject * > objectForWindow (QWindow *window)
 The object that represents a top-level window in the object tree (e.g.
virtual Expected< QObjectList > children (QObject *object)
 Visual children of object if they differ from QObject::children(), or notHandled().
virtual Expected< QObject * > objectAt (QWindow *window, const QPointF &pos)
 The deepest object at pos (window coordinates), or notHandled().
virtual Expected< QAbstractItemModel * > model (QObject *object)
 The item model object shows (it is a view, combo box, ...), or notHandled().
virtual Expected< ScreenRect > cellGeometry (QObject *view, const QModelIndex &index, ScrollToCell scroll)
 Where cell index of view view is on screen.
virtual Expected< QJsonObject > layoutInfo (QObject *object)
 Layout facts about object for layout_explain (size hints, policies, margins, clipping, ...), or notHandled().
virtual Expected< OverflowFacts > overflowFacts (QObject *object)
 What this integration knows about how object may overflow, or notHandled().
virtual QList< OpenPopup > openPopups (QObject *root)
 The open popups that belong to root or an object below it.
virtual QObjectList movingViews (QWindow *window)
 The views in window still scrolling on their own: a flick, kinetic scrolling, or an animated wheel scroll.
virtual QJsonObject appInfo ()
 Fields this integration adds to app_info's answer, such as the state of a feature it provides.

Detailed Description

An integration that implements nothing, to exercise the defaults.

Member Function Documentation

◆ name()

QString anonymous_namespace{test_windows.cpp}::NullIntegration::name ( ) const
inlineoverridevirtual

Integration name.

Implements Sonde::GuiIntegration.


The documentation for this class was generated from the following file:
  • tests/gui/test_windows.cpp