#include <qwuistackedlayout.h>
Public Slots | |
void | setCurrentIndex (int index) |
void | setCurrentItem (QwuiLayoutItem *item) |
Signals | |
void | currentChanged (int index) |
void | itemRemoved (int index) |
Public Member Functions | |
QwuiStackedLayout (QwuiWebget *parent) | |
QwuiStackedLayout () | |
virtual | ~QwuiStackedLayout () |
virtual LayoutType | type () const |
int | addWebget (QwuiWebget *w) |
int | insertWebget (int index, QwuiWebget *w) |
int | addItem (QwuiLayoutItem *item) |
int | insertItem (int index, QwuiLayoutItem *item) |
virtual void | removeItem (QwuiLayoutItem *item) |
virtual int | count () const |
virtual int | indexOf (QwuiWebget *w) const |
virtual bool | contains (QwuiWebget *w) const |
virtual QwuiLayoutItem * | itemAt (int index) const |
virtual QwuiLayoutItem * | takeAt (int index) |
int | currentIndex () const |
QwuiLayoutItem * | currentItem () const |
virtual void | render () |
Private Slots | |
void | updateParentWebget () |
Private Attributes | |
QList< QwuiLayoutItem * > | m_items |
int | m_currentIndex |
QwuiStackedLayout::QwuiStackedLayout | ( | QwuiWebget * | parent | ) |
QwuiStackedLayout::QwuiStackedLayout | ( | ) |
QwuiStackedLayout::~QwuiStackedLayout | ( | ) | [virtual] |
QwuiLayout::LayoutType QwuiStackedLayout::type | ( | ) | const [virtual] |
Implements QwuiLayout.
int QwuiStackedLayout::addWebget | ( | QwuiWebget * | w | ) |
int QwuiStackedLayout::insertWebget | ( | int | index, | |
QwuiWebget * | w | |||
) |
int QwuiStackedLayout::addItem | ( | QwuiLayoutItem * | item | ) |
int QwuiStackedLayout::insertItem | ( | int | index, | |
QwuiLayoutItem * | item | |||
) |
void QwuiStackedLayout::removeItem | ( | QwuiLayoutItem * | item | ) | [virtual] |
Implements QwuiLayout.
int QwuiStackedLayout::count | ( | ) | const [virtual] |
Implements QwuiLayout.
int QwuiStackedLayout::indexOf | ( | QwuiWebget * | w | ) | const [virtual] |
Implements QwuiLayout.
bool QwuiStackedLayout::contains | ( | QwuiWebget * | w | ) | const [virtual] |
Implements QwuiLayout.
QwuiLayoutItem * QwuiStackedLayout::itemAt | ( | int | index | ) | const [virtual] |
Implements QwuiLayout.
QwuiLayoutItem * QwuiStackedLayout::takeAt | ( | int | index | ) | [virtual] |
Implements QwuiLayout.
int QwuiStackedLayout::currentIndex | ( | ) | const |
QwuiLayoutItem * QwuiStackedLayout::currentItem | ( | ) | const |
void QwuiStackedLayout::render | ( | ) | [virtual] |
Implements QwuiLayout.
void QwuiStackedLayout::setCurrentIndex | ( | int | index | ) | [slot] |
void QwuiStackedLayout::setCurrentItem | ( | QwuiLayoutItem * | item | ) | [slot] |
void QwuiStackedLayout::currentChanged | ( | int | index | ) | [signal] |
void QwuiStackedLayout::itemRemoved | ( | int | index | ) | [signal] |
void QwuiStackedLayout::updateParentWebget | ( | ) | [private, slot] |
QList<QwuiLayoutItem*> QwuiStackedLayout::m_items [private] |
int QwuiStackedLayout::m_currentIndex [private] |