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
qlayoutitem.cpp File Reference

(ef7e65e19a0ddf74a0cd72e59a83b9543426322b)

#include "qlayout.h"
#include "qapplication.h"
#include "qlayoutengine_p.h"
#include "qevent.h"
#include "qstyle.h"
#include "qvariant.h"
#include "qwidget_p.h"
+ Include dependency graph for qlayoutitem.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE QRect fromLayoutItemRect (QWidgetPrivate *priv, const QRect &rect)
 
static QSize fromLayoutItemSize (QWidgetPrivate *priv, const QSize &size)
 
static QRect toLayoutItemRect (QWidgetPrivate *priv, const QRect &rect)
 
static QSize toLayoutItemSize (QWidgetPrivate *priv, const QSize &size)
 

Function Documentation

◆ fromLayoutItemRect()

static QT_BEGIN_NAMESPACE QRect fromLayoutItemRect ( QWidgetPrivate * priv,
const QRect & rect )
inlinestatic

Definition at line 21 of file qlayoutitem.cpp.

References priv(), and rect.

Referenced by fromLayoutItemSize(), and QWidgetItem::setGeometry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromLayoutItemSize()

static QSize fromLayoutItemSize ( QWidgetPrivate * priv,
const QSize & size )
inlinestatic

Definition at line 27 of file qlayoutitem.cpp.

References fromLayoutItemRect(), and priv().

Referenced by QWidgetItem::heightForWidth(), and QWidgetItem::minimumHeightForWidth().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toLayoutItemRect()

static QRect toLayoutItemRect ( QWidgetPrivate * priv,
const QRect & rect )
inlinestatic

Definition at line 32 of file qlayoutitem.cpp.

References priv(), and rect.

Referenced by QWidgetItem::geometry(), and toLayoutItemSize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toLayoutItemSize()

static QSize toLayoutItemSize ( QWidgetPrivate * priv,
const QSize & size )
inlinestatic

Definition at line 38 of file qlayoutitem.cpp.

References priv(), and toLayoutItemRect().

Referenced by QWidgetItem::heightForWidth(), QWidgetItem::maximumSize(), QWidgetItem::minimumHeightForWidth(), QWidgetItem::minimumSize(), and QWidgetItem::sizeHint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: