Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qlayoutitem.cpp File Reference
#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(), priv(), and QRect::size().

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(), QRect::size(), 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: