Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgraphicslayoutitem.cpp File Reference

(c0e526f70f58c9b70fea1b9426d14b18f1f0066c)

#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)
GLenum GLuint GLintptr GLsizeiptr size
GLint GLsizei width
GLuint64EXT * result
[6]

Definition at line 23 of file qgraphicslayoutitem.cpp.

Function Documentation

◆ boundSize()

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

Definition at line 37 of file qgraphicslayoutitem.cpp.

◆ combineSize()

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

Definition at line 29 of file qgraphicslayoutitem.cpp.

◆ expandSize()

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

Definition at line 45 of file qgraphicslayoutitem.cpp.

◆ normalizeHints()

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

Definition at line 53 of file qgraphicslayoutitem.cpp.