Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 ~Placer ()
 

Detailed Description

Definition at line 89 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: