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

(05fc3aef53348fb58be6308076e000825b704e58)

#include "qglobal.h"
#include "qgraphicslayout.h"
#include "qgraphicsscene.h"
#include "qgraphicslayoutitem.h"
#include "qgraphicslayoutitem_p.h"
#include "qwidget.h"
#include "qgraphicswidget.h"
#include "qgraphicsitem_p.h"
#include <QtDebug>
+ Include dependency graph for qgraphicslayoutitem.cpp:

Go to the source code of this file.

Macros

#define COMBINE_SIZE(result, size)
 

Functions

static void combineSize (QSizeF &result, const QSizeF &size)
 
static void boundSize (QSizeF &result, const QSizeF &size)
 
static void expandSize (QSizeF &result, const QSizeF &size)
 
static void normalizeHints (qreal &minimum, qreal &preferred, qreal &maximum, qreal &descent)
 

Macro Definition Documentation

◆ COMBINE_SIZE

#define COMBINE_SIZE ( result,
size )
Value:
do { \
if ((result).width() < 0 || (result).height() < 0) \
combineSize((result), (size)); \
} while (false)
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei width
GLuint64EXT * result
[6]

Definition at line 22 of file qgraphicslayoutitem.cpp.

Referenced by QGraphicsLayoutItemPrivate::effectiveSizeHints().

Function Documentation

◆ boundSize()

static void boundSize ( QSizeF & result,
const QSizeF & size )
static

Definition at line 36 of file qgraphicslayoutitem.cpp.

Referenced by QGraphicsLayoutItemPrivate::effectiveSizeHints(), and QQuickLayout::effectiveSizeHints_helper().

+ Here is the caller graph for this function:

◆ combineSize()

static void combineSize ( QSizeF & result,
const QSizeF & size )
static

Definition at line 28 of file qgraphicslayoutitem.cpp.

Referenced by QGraphicsLayoutItemPrivate::effectiveSizeHints(), and QQuickLayout::effectiveSizeHints_helper().

+ Here is the caller graph for this function:

◆ expandSize()

static void expandSize ( QSizeF & result,
const QSizeF & size )
static

Definition at line 44 of file qgraphicslayoutitem.cpp.

Referenced by QGraphicsLayoutItemPrivate::effectiveSizeHints(), and QQuickLayout::effectiveSizeHints_helper().

+ Here is the caller graph for this function:

◆ normalizeHints()

static void normalizeHints ( qreal & minimum,
qreal & preferred,
qreal & maximum,
qreal & descent )
static

Definition at line 52 of file qgraphicslayoutitem.cpp.

Referenced by QGraphicsLayoutItemPrivate::effectiveSizeHints(), and QQuickLayout::effectiveSizeHints_helper().

+ Here is the caller graph for this function: