Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QMdi::MinOverlapPlacer Class Reference

#include <qmdiarea_p.h>

+ Inheritance diagram for QMdi::MinOverlapPlacer:
+ Collaboration diagram for QMdi::MinOverlapPlacer:

Private Member Functions

QPoint place (const QSize &size, const QList< QRect > &rects, const QRect &domain) const override
 

Additional Inherited Members

- Public Member Functions inherited from QMdi::Placer
virtual QPoint place (const QSize &size, const QList< QRect > &rects, const QRect &domain) const =0
 
virtual ~Placer ()
 

Detailed Description

Definition at line 87 of file qmdiarea_p.h.

Member Function Documentation

◆ place()

QPoint MinOverlapPlacer::place ( const QSize size,
const QList< QRect > &  rects,
const QRect domain 
) const
overrideprivatevirtual

Places the rectangle defined by 'size' relative to 'rects' and 'domain' so that it overlaps 'rects' as little as possible and 'domain' as much as possible. Returns the position of the resulting rectangle.

Implements QMdi::Placer.

Definition at line 503 of file qmdiarea.cpp.

References QRect::isValid(), and rect.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: