![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qgridlayoutengine_p.h>
Public Member Functions | |
| QGridLayoutItem (int rowrow, int columncolumn, int rowSpan=1, int columnSpan=1, Qt::Alignment alignment={ }) | |
| virtual | ~QGridLayoutItem () |
| int | firstRow () const |
| int | firstColumn () const |
| int | rowSpan () const |
| int | columnSpan () const |
| int | lastRow () const |
| int | lastColumn () const |
| int | firstRow (Qt::Orientation orientation) const |
| int | firstColumn (Qt::Orientation orientation) const |
| int | lastRow (Qt::Orientation orientation) const |
| int | lastColumn (Qt::Orientation orientation) const |
| int | rowSpan (Qt::Orientation orientation) const |
| int | columnSpan (Qt::Orientation orientation) const |
| void | setFirstRow (int rowrow, Qt::Orientation orientation=Qt::Vertical) |
| void | setRowSpan (int rowSpan, Qt::Orientation orientation=Qt::Vertical) |
| int | stretchFactor (Qt::Orientation orientation) const |
| void | setStretchFactor (int stretch, Qt::Orientation orientation) |
| Qt::Alignment | alignment () const |
| void | setAlignment (Qt::Alignment alignment) |
| virtual QLayoutPolicy::Policy | sizePolicy (Qt::Orientation orientation) const =0 |
| virtual QSizeF | sizeHint (Qt::SizeHint which, const QSizeF &constraint) const =0 |
| virtual bool | isEmpty () const |
| virtual void | setGeometry (const QRectF &rect)=0 |
| virtual bool | hasDynamicConstraint () const |
| virtual Qt::Orientation | dynamicConstraintOrientation () const |
| virtual QLayoutPolicy::ControlTypes | controlTypes (LayoutSide side) const |
| virtual QString | toString () const |
| QRectF | geometryWithin (qreal xx, qreal yy, qreal widthwidth, qreal heightheight, qreal rowDescent, Qt::Alignment align, bool snapToPixelGrid) const |
| QGridLayoutBox | box (Qt::Orientation orientation, bool snapToPixelGrid, qreal constraint=-1.0) const |
| void | transpose () |
| void | insertOrRemoveRows (int rowrow, int delta, Qt::Orientation orientation=Qt::Vertical) |
| QSizeF | effectiveMaxSize (const QSizeF &constraint) const |
Definition at line 245 of file qgridlayoutengine_p.h.
| QGridLayoutItem::QGridLayoutItem | ( | int | row, |
| int | column, | ||
| int | rowSpan = 1, | ||
| int | columnSpan = 1, | ||
| Qt::Alignment | alignment = { } ) |
Definition at line 480 of file qgridlayoutengine.cpp.
|
inlinevirtual |
Definition at line 250 of file qgridlayoutengine_p.h.
|
inline |
Definition at line 271 of file qgridlayoutengine_p.h.
| QGridLayoutBox QGridLayoutItem::box | ( | Qt::Orientation | orientation, |
| bool | snapToPixelGrid, | ||
| qreal | constraint = -1.0 ) const |
Definition at line 557 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 255 of file qgridlayoutengine_p.h.
| int QGridLayoutItem::columnSpan | ( | Qt::Orientation | orientation | ) | const |
Definition at line 514 of file qgridlayoutengine.cpp.
|
virtual |
Reimplemented in QGraphicsGridLayoutEngineItem.
Definition at line 552 of file qgridlayoutengine.cpp.
|
inlinevirtual |
Reimplemented in QGraphicsGridLayoutEngineItem.
Definition at line 284 of file qgridlayoutengine_p.h.
returns the effective maximumSize, will take the sizepolicy into consideration. (i.e. if sizepolicy does not have QLayoutPolicy::Grow, then maxSizeHint will be the preferredSize) Note that effectiveSizeHint does not take sizePolicy into consideration, (since it only evaluates the hints, as the name implies)
Definition at line 689 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 253 of file qgridlayoutengine_p.h.
| int QGridLayoutItem::firstColumn | ( | Qt::Orientation | orientation | ) | const |
Definition at line 494 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 252 of file qgridlayoutengine_p.h.
| int QGridLayoutItem::firstRow | ( | Qt::Orientation | orientation | ) | const |
Definition at line 489 of file qgridlayoutengine.cpp.
| QRectF QGridLayoutItem::geometryWithin | ( | qreal | x, |
| qreal | y, | ||
| qreal | width, | ||
| qreal | height, | ||
| qreal | rowDescent, | ||
| Qt::Alignment | align, | ||
| bool | snapToPixelGrid ) const |
Definition at line 614 of file qgridlayoutengine.cpp.
|
inlinevirtual |
Reimplemented in QGraphicsGridLayoutEngineItem.
Definition at line 283 of file qgridlayoutengine_p.h.
| void QGridLayoutItem::insertOrRemoveRows | ( | int | row, |
| int | delta, | ||
| Qt::Orientation | orientation = Qt::Vertical ) |
Definition at line 672 of file qgridlayoutengine.cpp.
|
inlinevirtual |
Reimplemented in QGraphicsGridLayoutEngineItem.
Definition at line 276 of file qgridlayoutengine_p.h.
|
inline |
Definition at line 257 of file qgridlayoutengine_p.h.
| int QGridLayoutItem::lastColumn | ( | Qt::Orientation | orientation | ) | const |
Definition at line 504 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 256 of file qgridlayoutengine_p.h.
| int QGridLayoutItem::lastRow | ( | Qt::Orientation | orientation | ) | const |
Definition at line 499 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 254 of file qgridlayoutengine_p.h.
| int QGridLayoutItem::rowSpan | ( | Qt::Orientation | orientation | ) | const |
Definition at line 509 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 272 of file qgridlayoutengine_p.h.
| void QGridLayoutItem::setFirstRow | ( | int | row, |
| Qt::Orientation | orientation = Qt::Vertical ) |
Definition at line 519 of file qgridlayoutengine.cpp.
Implemented in QGraphicsGridLayoutEngineItem, and QQuickGridLayoutItem.
| void QGridLayoutItem::setRowSpan | ( | int | rowSpan, |
| Qt::Orientation | orientation = Qt::Vertical ) |
Definition at line 524 of file qgridlayoutengine.cpp.
| void QGridLayoutItem::setStretchFactor | ( | int | stretch, |
| Qt::Orientation | orientation ) |
Definition at line 546 of file qgridlayoutengine.cpp.
|
pure virtual |
Implemented in QGraphicsGridLayoutEngineItem, and QQuickGridLayoutItem.
|
pure virtual |
Implemented in QGraphicsGridLayoutEngineItem, and QQuickGridLayoutItem.
| int QGridLayoutItem::stretchFactor | ( | Qt::Orientation | orientation | ) | const |
Definition at line 529 of file qgridlayoutengine.cpp.
|
inlinevirtual |
Reimplemented in QQuickGridLayoutItem.
Definition at line 289 of file qgridlayoutengine_p.h.
| void QGridLayoutItem::transpose | ( | ) |
Definition at line 665 of file qgridlayoutengine.cpp.