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

Classes

struct  Excess
 How far a rectangle goes past another, per side (0 where it doesn't). More...
struct  Clipper
 A clipping ancestor: the object and its rectangle. More...
struct  Finding
 One item found. More...
class  OverflowWalk
 The walk below the root. More...

Functions

QString rectText (const QRectF &r)
 "380x280 at 10,10".
QStringList popupLines (QObject *root, double tolerance)
 The "Open popups:" lines for popups that go past their bounds.
ToolResult layoutOverflow (const QJsonObject &args)
 The layout_overflow tool.

Variables

constexpr int kDefaultDepth = 32
 Default number of levels below the root that are searched.
constexpr int kDefaultMaxItems = 50
 Default number of items listed.
constexpr double kDefaultTolerance = 0.5
 Default overflow below which nothing is reported, in pixels.