Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgraphicslayoutitem.cpp File Reference
#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.

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: