Inherits from QskIndexedLayoutBox, QskBox
Name | |
---|---|
void | setCurrentIndex(int index) |
void | setCurrentItem(const QQuickItem * item) |
void | clear(bool autoDelete =false) |
Name | |
---|---|
void | defaultAlignmentChanged(Qt::Alignment ) |
void | currentIndexChanged(int index) |
void | currentItemChanged(QQuickItem * ) |
Name | |
---|---|
QskStackBox(QQuickItem * parent =nullptr) | |
QskStackBox(bool autoAddChildren, QQuickItem * parent =nullptr) | |
~QskStackBox() override | |
bool | isEmpty() const |
int | itemCount() const |
QQuickItem * | itemAtIndex(int index) const |
int | indexOf(const QQuickItem * item) const |
void | addItem(QQuickItem * item) |
void | addItem(QQuickItem * item, Qt::Alignment alignment) |
void | insertItem(int index, QQuickItem * item) |
void | insertItem(int index, QQuickItem * item, Qt::Alignment alignment) |
void | removeItem(const QQuickItem * item) |
void | removeAt(int index) |
QQuickItem * | currentItem() const |
int | currentIndex() const |
void | setDefaultAlignment(Qt::Alignment alignment) |
Qt::Alignment | defaultAlignment() const |
void | setAnimator(QskStackBoxAnimator * animator) |
const QskStackBoxAnimator * | animator() const |
QskStackBoxAnimator * | animator() |
QRectF | geometryForItemAt(int index) const |
void | dump() const |
Name | |
---|---|
bool | event(QEvent * event) override |
void | updateLayout() override |
QSizeF | layoutSizeHint(Qt::SizeHint which, const QSizeF & constraint) const override |
QskStackBoxAnimator * | effectiveAnimator() |
Name | |
---|---|
int | currentIndex |
QQuickItem * | currentItem |
Public Signals inherited from QskIndexedLayoutBox
Name | |
---|---|
void | autoAddChildrenChanged() |
Public Functions inherited from QskIndexedLayoutBox
Name | |
---|---|
QskIndexedLayoutBox(QQuickItem * parent =nullptr) Constructor. |
|
~QskIndexedLayoutBox() override Destructor. |
|
void | setAutoAddChildren(bool on =true) En/Disable auto appending of children. |
bool | autoAddChildren() const |
Protected Functions inherited from QskIndexedLayoutBox
Name | |
---|---|
void | itemChange(ItemChange , const ItemChangeData & ) override |
void | reparentItem(QQuickItem * item) |
void | unparentItem(QQuickItem * item) |
Public Properties inherited from QskIndexedLayoutBox
Name | |
---|---|
bool | autoAddChildren Flag controlling whether to automatically append children to the layout. |
void setCurrentIndex(
int index
)
void setCurrentItem(
const QQuickItem * item
)
void clear(
bool autoDelete =false
)
void defaultAlignmentChanged(
Qt::Alignment
)
void currentIndexChanged(
int index
)
void currentItemChanged(
QQuickItem *
)
explicit QskStackBox(
QQuickItem * parent =nullptr
)
QskStackBox(
bool autoAddChildren,
QQuickItem * parent =nullptr
)
~QskStackBox() override
inline bool isEmpty() const
int itemCount() const
QQuickItem * itemAtIndex(
int index
) const
int indexOf(
const QQuickItem * item
) const
void addItem(
QQuickItem * item
)
void addItem(
QQuickItem * item,
Qt::Alignment alignment
)
void insertItem(
int index,
QQuickItem * item
)
void insertItem(
int index,
QQuickItem * item,
Qt::Alignment alignment
)
void removeItem(
const QQuickItem * item
)
void removeAt(
int index
)
QQuickItem * currentItem() const
int currentIndex() const
void setDefaultAlignment(
Qt::Alignment alignment
)
Qt::Alignment defaultAlignment() const
void setAnimator(
QskStackBoxAnimator * animator
)
const QskStackBoxAnimator * animator() const
QskStackBoxAnimator * animator()
QRectF geometryForItemAt(
int index
) const
void dump() const
bool event(
QEvent * event
) override
void updateLayout() override
QSizeF layoutSizeHint(
Qt::SizeHint which,
const QSizeF & constraint
) const override
QskStackBoxAnimator * effectiveAnimator()
int currentIndex;
QQuickItem * currentItem;
Updated on 28 July 2023 at 14:02:28 CEST