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>.
|
#include <qmdiarea_p.h>
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 () |
Definition at line 89 of file qmdiarea_p.h.
|
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.