QSkinny 0.8.0
C++/Qt UI toolkit
|
Definition at line 19 of file QskGridLayoutEngine.h.
Public Member Functions | |
int | count () const override final |
bool | setStretchFactor (int pos, int stretch, Qt::Orientation) |
int | stretchFactor (int pos, Qt::Orientation) const |
bool | setRowSizeHint (int row, Qt::SizeHint, qreal height) |
qreal | rowSizeHint (int row, Qt::SizeHint) const |
bool | setColumnSizeHint (int column, Qt::SizeHint, qreal width) |
qreal | columnSizeHint (int column, Qt::SizeHint) const |
int | insertItem (QQuickItem *, const QRect &grid) |
int | insertSpacer (const QSizeF &, const QRect &grid) |
bool | removeAt (int index) |
bool | clear () |
QQuickItem * | itemAt (int index) const |
QSizeF | spacerAt (int index) const |
QQuickItem * | itemAt (int row, int column) const |
int | indexAt (int row, int column) const |
int | indexOf (const QQuickItem *) const |
bool | setGridAt (int index, const QRect &) |
QRect | gridAt (int index) const |
QRect | effectiveGridAt (int index) const |
void | transpose () |
Public Member Functions inherited from QskLayoutEngine2D | |
int | rowCount () const |
int | columnCount () const |
bool | setVisualDirection (Qt::LayoutDirection) |
Qt::LayoutDirection | visualDirection () const |
bool | setDefaultAlignment (Qt::Alignment) |
Qt::Alignment | defaultAlignment () const |
bool | setExtraSpacingAt (Qt::Edges edges) |
Qt::Edges | extraSpacingAt () const |
bool | setSpacing (qreal spacing, Qt::Orientations) |
qreal | spacing (Qt::Orientation) const |
qreal | defaultSpacing (Qt::Orientation) const |
void | invalidate () |
qreal | widthForHeight (qreal height) const |
qreal | heightForWidth (qreal width) const |
QSizeF | sizeHint (Qt::SizeHint, const QSizeF &constraint) const |
void | setGeometries (const QRectF &) |
Additional Inherited Members | |
Protected Types inherited from QskLayoutEngine2D | |
enum | { ElementCache = 1 << 0 , LayoutCache = 1 << 1 } |
Protected Member Functions inherited from QskLayoutEngine2D | |
QRectF | geometryAt (const QskLayoutElement *, const QRect &grid) const |
void | invalidate (int what) |
QskGridLayoutEngine::QskGridLayoutEngine | ( | ) |
Definition at line 389 of file QskGridLayoutEngine.cpp.
|
override |
Definition at line 394 of file QskGridLayoutEngine.cpp.
bool QskGridLayoutEngine::clear | ( | ) |
Definition at line 521 of file QskGridLayoutEngine.cpp.
qreal QskGridLayoutEngine::columnSizeHint | ( | int | column, |
Qt::SizeHint | which | ||
) | const |
Definition at line 469 of file QskGridLayoutEngine.cpp.
|
finaloverridevirtual |
Implements QskLayoutEngine2D.
Definition at line 398 of file QskGridLayoutEngine.cpp.
|
overrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 659 of file QskGridLayoutEngine.cpp.
QRect QskGridLayoutEngine::effectiveGridAt | ( | int | index | ) | const |
Definition at line 617 of file QskGridLayoutEngine.cpp.
QRect QskGridLayoutEngine::gridAt | ( | int | index | ) | const |
Definition at line 609 of file QskGridLayoutEngine.cpp.
int QskGridLayoutEngine::indexAt | ( | int | row, |
int | column | ||
) | const |
Definition at line 533 of file QskGridLayoutEngine.cpp.
int QskGridLayoutEngine::indexOf | ( | const QQuickItem * | item | ) | const |
Definition at line 561 of file QskGridLayoutEngine.cpp.
int QskGridLayoutEngine::insertItem | ( | QQuickItem * | item, |
const QRect & | grid | ||
) |
Definition at line 475 of file QskGridLayoutEngine.cpp.
int QskGridLayoutEngine::insertSpacer | ( | const QSizeF & | spacing, |
const QRect & | grid | ||
) |
Definition at line 481 of file QskGridLayoutEngine.cpp.
|
overrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 625 of file QskGridLayoutEngine.cpp.
QQuickItem * QskGridLayoutEngine::itemAt | ( | int | index | ) | const |
Definition at line 548 of file QskGridLayoutEngine.cpp.
QQuickItem * QskGridLayoutEngine::itemAt | ( | int | row, |
int | column | ||
) | const |
Definition at line 588 of file QskGridLayoutEngine.cpp.
|
overrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 629 of file QskGridLayoutEngine.cpp.
bool QskGridLayoutEngine::removeAt | ( | int | index | ) |
Definition at line 486 of file QskGridLayoutEngine.cpp.
qreal QskGridLayoutEngine::rowSizeHint | ( | int | row, |
Qt::SizeHint | which | ||
) | const |
Definition at line 450 of file QskGridLayoutEngine.cpp.
bool QskGridLayoutEngine::setColumnSizeHint | ( | int | column, |
Qt::SizeHint | which, | ||
qreal | width | ||
) |
Definition at line 456 of file QskGridLayoutEngine.cpp.
bool QskGridLayoutEngine::setGridAt | ( | int | index, |
const QRect & | grid | ||
) |
Definition at line 593 of file QskGridLayoutEngine.cpp.
bool QskGridLayoutEngine::setRowSizeHint | ( | int | row, |
Qt::SizeHint | which, | ||
qreal | height | ||
) |
Definition at line 437 of file QskGridLayoutEngine.cpp.
bool QskGridLayoutEngine::setStretchFactor | ( | int | pos, |
int | stretch, | ||
Qt::Orientation | orientation | ||
) |
Definition at line 403 of file QskGridLayoutEngine.cpp.
|
finaloverrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 666 of file QskGridLayoutEngine.cpp.
|
finaloverrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 556 of file QskGridLayoutEngine.cpp.
QSizeF QskGridLayoutEngine::spacerAt | ( | int | index | ) | const |
Definition at line 580 of file QskGridLayoutEngine.cpp.
int QskGridLayoutEngine::stretchFactor | ( | int | pos, |
Qt::Orientation | orientation | ||
) | const |
Definition at line 430 of file QskGridLayoutEngine.cpp.
void QskGridLayoutEngine::transpose | ( | ) |
Definition at line 648 of file QskGridLayoutEngine.cpp.