QSkinny 0.8.0
C++/Qt UI toolkit
|
Definition at line 19 of file QskLinearLayoutEngine.h.
Public Member Functions | |
QskLinearLayoutEngine (Qt::Orientation, uint dimension) | |
Qt::Orientation | orientation () const |
bool | setOrientation (Qt::Orientation) |
bool | setDimension (uint dimension) |
uint | dimension () const |
int | count () const override final |
int | insertItem (QQuickItem *, int index) |
int | addItem (QQuickItem *) |
int | insertSpacerAt (int index, qreal spacing) |
int | addSpacer (qreal spacing) |
bool | removeAt (int index) |
bool | clear () |
int | indexOf (const QQuickItem *) const |
QQuickItem * | itemAt (int index) const |
qreal | spacerAt (int index) const |
bool | setStretchFactorAt (int index, int stretchFactor) |
int | stretchFactorAt (int index) const |
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) |
QskLinearLayoutEngine::QskLinearLayoutEngine | ( | Qt::Orientation | orientation, |
uint | dimension | ||
) |
Definition at line 190 of file QskLinearLayoutEngine.cpp.
|
override |
Definition at line 196 of file QskLinearLayoutEngine.cpp.
|
inline |
Definition at line 68 of file QskLinearLayoutEngine.h.
|
inline |
Definition at line 73 of file QskLinearLayoutEngine.h.
bool QskLinearLayoutEngine::clear | ( | ) |
Definition at line 331 of file QskLinearLayoutEngine.cpp.
|
finaloverridevirtual |
Implements QskLayoutEngine2D.
Definition at line 239 of file QskLinearLayoutEngine.cpp.
uint QskLinearLayoutEngine::dimension | ( | ) | const |
Definition at line 234 of file QskLinearLayoutEngine.cpp.
|
overrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 425 of file QskLinearLayoutEngine.cpp.
int QskLinearLayoutEngine::indexOf | ( | const QQuickItem * | item | ) | const |
Definition at line 347 of file QskLinearLayoutEngine.cpp.
int QskLinearLayoutEngine::insertItem | ( | QQuickItem * | item, |
int | index | ||
) |
Definition at line 271 of file QskLinearLayoutEngine.cpp.
int QskLinearLayoutEngine::insertSpacerAt | ( | int | index, |
qreal | spacing | ||
) |
Definition at line 289 of file QskLinearLayoutEngine.cpp.
|
overrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 459 of file QskLinearLayoutEngine.cpp.
QQuickItem * QskLinearLayoutEngine::itemAt | ( | int | index | ) | const |
Definition at line 366 of file QskLinearLayoutEngine.cpp.
|
overrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 382 of file QskLinearLayoutEngine.cpp.
Qt::Orientation QskLinearLayoutEngine::orientation | ( | ) | const |
Definition at line 213 of file QskLinearLayoutEngine.cpp.
bool QskLinearLayoutEngine::removeAt | ( | int | index | ) |
Definition at line 309 of file QskLinearLayoutEngine.cpp.
bool QskLinearLayoutEngine::setDimension | ( | uint | dimension | ) |
Definition at line 218 of file QskLinearLayoutEngine.cpp.
bool QskLinearLayoutEngine::setOrientation | ( | Qt::Orientation | orientation | ) |
Definition at line 200 of file QskLinearLayoutEngine.cpp.
bool QskLinearLayoutEngine::setStretchFactorAt | ( | int | index, |
int | stretchFactor | ||
) |
Definition at line 244 of file QskLinearLayoutEngine.cpp.
|
finaloverrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 464 of file QskLinearLayoutEngine.cpp.
|
finaloverrideprivatevirtual |
Implements QskLayoutEngine2D.
Definition at line 342 of file QskLinearLayoutEngine.cpp.
qreal QskLinearLayoutEngine::spacerAt | ( | int | index | ) | const |
Definition at line 374 of file QskLinearLayoutEngine.cpp.
int QskLinearLayoutEngine::stretchFactorAt | ( | int | index | ) | const |
Definition at line 263 of file QskLinearLayoutEngine.cpp.