#include <qgridlayoutengine_p.h>
|
| QGridLayoutItem (int row, int column, 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 row, 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 x, qreal y, qreal width, qreal height, 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 row, int delta, Qt::Orientation orientation=Qt::Vertical) |
QSizeF | effectiveMaxSize (const QSizeF &constraint) const |
Definition at line 245 of file qgridlayoutengine_p.h.
◆ QGridLayoutItem()
QGridLayoutItem::QGridLayoutItem |
( |
int | row, |
|
|
int | column, |
|
|
int | rowSpan = 1, |
|
|
int | columnSpan = 1, |
|
|
Qt::Alignment | alignment = { } ) |
◆ ~QGridLayoutItem()
virtual QGridLayoutItem::~QGridLayoutItem |
( |
| ) |
|
|
inlinevirtual |
◆ alignment()
Qt::Alignment QGridLayoutItem::alignment |
( |
| ) |
const |
|
inline |
◆ box()
◆ columnSpan() [1/2]
int QGridLayoutItem::columnSpan |
( |
| ) |
const |
|
inline |
◆ columnSpan() [2/2]
◆ controlTypes()
QLayoutPolicy::ControlTypes QGridLayoutItem::controlTypes |
( |
LayoutSide | side | ) |
const |
|
virtual |
◆ dynamicConstraintOrientation()
virtual Qt::Orientation QGridLayoutItem::dynamicConstraintOrientation |
( |
| ) |
const |
|
inlinevirtual |
◆ effectiveMaxSize()
QSizeF QGridLayoutItem::effectiveMaxSize |
( |
const QSizeF & | constraint | ) |
const |
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.
◆ firstColumn() [1/2]
int QGridLayoutItem::firstColumn |
( |
| ) |
const |
|
inline |
◆ firstColumn() [2/2]
◆ firstRow() [1/2]
int QGridLayoutItem::firstRow |
( |
| ) |
const |
|
inline |
◆ firstRow() [2/2]
◆ geometryWithin()
◆ hasDynamicConstraint()
virtual bool QGridLayoutItem::hasDynamicConstraint |
( |
| ) |
const |
|
inlinevirtual |
◆ insertOrRemoveRows()
◆ isEmpty()
virtual bool QGridLayoutItem::isEmpty |
( |
| ) |
const |
|
inlinevirtual |
◆ lastColumn() [1/2]
int QGridLayoutItem::lastColumn |
( |
| ) |
const |
|
inline |
◆ lastColumn() [2/2]
◆ lastRow() [1/2]
int QGridLayoutItem::lastRow |
( |
| ) |
const |
|
inline |
◆ lastRow() [2/2]
◆ rowSpan() [1/2]
int QGridLayoutItem::rowSpan |
( |
| ) |
const |
|
inline |
◆ rowSpan() [2/2]
◆ setAlignment()
void QGridLayoutItem::setAlignment |
( |
Qt::Alignment | alignment | ) |
|
|
inline |
◆ setFirstRow()
◆ setGeometry()
virtual void QGridLayoutItem::setGeometry |
( |
const QRectF & | rect | ) |
|
|
pure virtual |
◆ setRowSpan()
◆ setStretchFactor()
◆ sizeHint()
◆ sizePolicy()
virtual QLayoutPolicy::Policy QGridLayoutItem::sizePolicy |
( |
Qt::Orientation | orientation | ) |
const |
|
pure virtual |
◆ stretchFactor()
◆ toString()
virtual QString QGridLayoutItem::toString |
( |
| ) |
const |
|
inlinevirtual |
◆ transpose()
void QGridLayoutItem::transpose |
( |
| ) |
|
The documentation for this class was generated from the following files: