Qt 4.8
|
#include "QtGui/qlayoutitem.h"
#include "QtGui/qstyle.h"
Go to the source code of this file.
Classes | |
struct | QLayoutStruct |
class | QVector< T > |
The QVector class is a template class that provides a dynamic array. More... | |
Functions | |
Q_GUI_EXPORT void | qGeomCalc (QVector< QLayoutStruct > &chain, int start, int count, int pos, int space, int spacer=-1) |
static void | qMaxExpCalc (int &max, bool &exp, bool &empty, int boxmax, bool boxexp, bool boxempty) |
Q_GUI_EXPORT QSize | qSmartMaxSize (const QSize &sizeHint, const QSize &minSize, const QSize &maxSize, const QSizePolicy &sizePolicy, Qt::Alignment align=0) |
Q_GUI_EXPORT QSize | qSmartMaxSize (const QWidgetItem *i, Qt::Alignment align=0) |
Q_GUI_EXPORT QSize | qSmartMaxSize (const QWidget *w, Qt::Alignment align=0) |
Q_GUI_EXPORT QSize | qSmartMinSize (const QSize &sizeHint, const QSize &minSizeHint, const QSize &minSize, const QSize &maxSize, const QSizePolicy &sizePolicy) |
Q_GUI_EXPORT QSize | qSmartMinSize (const QWidgetItem *i) |
Q_GUI_EXPORT QSize | qSmartMinSize (const QWidget *w) |
Q_GUI_EXPORT int | qSmartSpacing (const QLayout *layout, QStyle::PixelMetric pm) |
Q_GUI_EXPORT void qGeomCalc | ( | QVector< QLayoutStruct > & | chain, |
int | start, | ||
int | count, | ||
int | pos, | ||
int | space, | ||
int | spacer = -1 |
||
) |
Definition at line 78 of file qlayoutengine.cpp.
Referenced by QBoxLayoutPrivate::calcHfw(), QGridLayoutPrivate::distribute(), distributeMultiBox(), QSplitterPrivate::doResize(), QDockAreaLayoutInfo::fitItems(), QDockAreaLayout::fitLayout(), QGridLayoutPrivate::heightForWidth(), QToolBarLayout::layoutActions(), QTabBarPrivate::layoutTabs(), QBoxLayout::setGeometry(), and QFormLayout::setGeometry().
|
inlinestatic |
Definition at line 122 of file qlayoutengine_p.h.
Referenced by QGridLayoutPrivate::addData(), and QBoxLayoutPrivate::setupGeom().
Q_GUI_EXPORT QSize qSmartMaxSize | ( | const QSize & | sizeHint, |
const QSize & | minSize, | ||
const QSize & | maxSize, | ||
const QSizePolicy & | sizePolicy, | ||
Qt::Alignment | align = 0 |
||
) |
Definition at line 393 of file qlayoutengine.cpp.
Referenced by QLayout::closestAcceptableSize(), QWidgetItem::maximumSize(), qSmartMaxSize(), QWidgetItemV2::updateCacheIfNecessary(), and QScrollAreaPrivate::updateScrollBars().
Q_GUI_EXPORT QSize qSmartMaxSize | ( | const QWidgetItem * | i, |
Qt::Alignment | align = 0 |
||
) |
Definition at line 416 of file qlayoutengine.cpp.
Q_GUI_EXPORT QSize qSmartMaxSize | ( | const QWidget * | w, |
Qt::Alignment | align = 0 |
||
) |
Definition at line 424 of file qlayoutengine.cpp.
Q_GUI_EXPORT QSize qSmartMinSize | ( | const QSize & | sizeHint, |
const QSize & | minSizeHint, | ||
const QSize & | minSize, | ||
const QSize & | maxSize, | ||
const QSizePolicy & | sizePolicy | ||
) |
Definition at line 348 of file qlayoutengine.cpp.
Referenced by QSplitterPrivate::addContribution(), QMdiAreaPrivate::appendChild(), QWorkspace::cascade(), QLayout::closestAcceptableSize(), QSplitterPrivate::doMove(), QSplitterPrivate::doResize(), QStatusBar::event(), QSplitterPrivate::findWidgetJustBeforeOrJustAfter(), menuBarHeightForWidth(), QStackedLayout::minimumSize(), QToolBarAreaLayoutItem::minimumSize(), QWidgetItem::minimumSize(), QSplitter::minimumSizeHint(), QWidgetResizeHandler::mouseMoveEvent(), qSmartMinSize(), QSplitterPrivate::recalc(), QStatusBar::reformat(), QSplitterPrivate::setGeo(), QSplitterPrivate::setSizes_helper(), QMdiArea::showEvent(), QWidgetItemV2::updateCacheIfNecessary(), QStyledItemDelegate::updateEditorGeometry(), and QScrollAreaPrivate::updateScrollBars().
Q_GUI_EXPORT QSize qSmartMinSize | ( | const QWidgetItem * | i | ) |
Definition at line 378 of file qlayoutengine.cpp.
Q_GUI_EXPORT QSize qSmartMinSize | ( | const QWidget * | w | ) |
Definition at line 386 of file qlayoutengine.cpp.
Q_GUI_EXPORT int qSmartSpacing | ( | const QLayout * | layout, |
QStyle::PixelMetric | pm | ||
) |
Definition at line 430 of file qlayoutengine.cpp.
Referenced by QGridLayout::horizontalSpacing(), QLayout::setAlignment(), QFormLayout::setHorizontalSpacing(), QFormLayout::setVerticalSpacing(), QBoxLayout::spacing(), and QGridLayout::verticalSpacing().