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
qlayoutengine_p.h File Reference

(8825bcdbdab5f37b185261d7ba06260dc8e9930d)

#include <QtWidgets/private/qtwidgetsglobal_p.h>
#include "QtWidgets/qlayoutitem.h"
#include "QtWidgets/qstyle.h"
#include <QtCore/qcontainerfwd.h>
Include dependency graph for qlayoutengine_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QLayoutStruct

Functions

Q_WIDGETS_EXPORT void qGeomCalc (QList< QLayoutStruct > &chain, int start, int count, int pos, int space, int spacer=-1)
Q_WIDGETS_EXPORT QSize qSmartMinSize (const QSize &sizeHint, const QSize &minSizeHint, const QSize &minSize, const QSize &maxSize, const QSizePolicy &sizePolicy)
Q_WIDGETS_EXPORT QSize qSmartMinSize (const QWidgetItem *i)
Q_WIDGETS_EXPORT QSize qSmartMinSize (const QWidget *w)
Q_WIDGETS_EXPORT QSize qSmartMaxSize (const QSize &sizeHint, const QSize &minSize, const QSize &maxSize, const QSizePolicy &sizePolicy, Qt::Alignment align={ })
Q_WIDGETS_EXPORT QSize qSmartMaxSize (const QWidgetItem *i, Qt::Alignment align={ })
Q_WIDGETS_EXPORT QSize qSmartMaxSize (const QWidget *w, Qt::Alignment align={ })
Q_WIDGETS_EXPORT int qSmartSpacing (const QLayout *layout, QStyle::PixelMetric pm)
static void qMaxExpCalc (int &max, bool &exp, bool &empty, int boxmax, bool boxexp, bool boxempty)

Function Documentation

◆ qGeomCalc()

void qGeomCalc ( QList< QLayoutStruct > & chain,
int start,
int count,
int pos,
int space,
int spacer = -1 )

Definition at line 41 of file qlayoutengine.cpp.

References Fixed64, fRound(), and toFixed().

Here is the call graph for this function:

◆ qMaxExpCalc()

void qMaxExpCalc ( int & max,
bool & exp,
bool & empty,
int boxmax,
bool boxexp,
bool boxempty )
inlinestatic

Definition at line 84 of file qlayoutengine_p.h.

◆ qSmartMaxSize() [1/3]

Q_WIDGETS_EXPORT QSize qSmartMaxSize ( const QSize & sizeHint,
const QSize & minSize,
const QSize & maxSize,
const QSizePolicy & sizePolicy,
Qt::Alignment align = { } )

Definition at line 354 of file qlayoutengine.cpp.

◆ qSmartMaxSize() [2/3]

Q_WIDGETS_EXPORT QSize qSmartMaxSize ( const QWidget * w,
Qt::Alignment align = { } )

Definition at line 384 of file qlayoutengine.cpp.

◆ qSmartMaxSize() [3/3]

Q_WIDGETS_EXPORT QSize qSmartMaxSize ( const QWidgetItem * i,
Qt::Alignment align = { } )

Definition at line 377 of file qlayoutengine.cpp.

◆ qSmartMinSize() [1/3]

Q_WIDGETS_EXPORT QSize qSmartMinSize ( const QSize & sizeHint,
const QSize & minSizeHint,
const QSize & minSize,
const QSize & maxSize,
const QSizePolicy & sizePolicy )

Definition at line 309 of file qlayoutengine.cpp.

◆ qSmartMinSize() [2/3]

Q_WIDGETS_EXPORT QSize qSmartMinSize ( const QWidget * w)

Definition at line 347 of file qlayoutengine.cpp.

◆ qSmartMinSize() [3/3]

Q_WIDGETS_EXPORT QSize qSmartMinSize ( const QWidgetItem * i)

Definition at line 339 of file qlayoutengine.cpp.

◆ qSmartSpacing()

Q_WIDGETS_EXPORT int qSmartSpacing ( const QLayout * layout,
QStyle::PixelMetric pm )

Definition at line 390 of file qlayoutengine.cpp.