QwuiStackedLayout Class Reference

A stacked webgets layout. This layout keeps a stack of webgets and displays only one at time. More...

#include <qwuistackedlayout.h>

Inheritance diagram for QwuiStackedLayout:
QwuiLayout QwuiLayoutItem

List of all members.

Public Slots

void setCurrentIndex (int index)
void setCurrentItem (QwuiLayoutItem *item)


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 QwuiLayoutItemitemAt (int index) const
virtual QwuiLayoutItemtakeAt (int index)
int currentIndex () const
QwuiLayoutItemcurrentItem () const
virtual void render ()

Private Slots

void updateParentWebget ()

Private Attributes

QList< QwuiLayoutItem * > m_items
int m_currentIndex

Detailed Description

A stacked webgets layout. This layout keeps a stack of webgets and displays only one at time.

Constructor & Destructor Documentation

QwuiStackedLayout::QwuiStackedLayout ( QwuiWebget parent  ) 
QwuiStackedLayout::QwuiStackedLayout (  ) 
QwuiStackedLayout::~QwuiStackedLayout (  )  [virtual]

Member Function Documentation

int QwuiStackedLayout::addItem ( QwuiLayoutItem item  ) 
int QwuiStackedLayout::addWebget ( QwuiWebget w  ) 
bool QwuiStackedLayout::contains ( QwuiWebget w  )  const [virtual]

Implements QwuiLayout.

int QwuiStackedLayout::count (  )  const [virtual]

Implements QwuiLayout.

void QwuiStackedLayout::currentChanged ( int  index  )  [signal]
int QwuiStackedLayout::currentIndex (  )  const
QwuiLayoutItem * QwuiStackedLayout::currentItem (  )  const
int QwuiStackedLayout::indexOf ( QwuiWebget w  )  const [virtual]

Implements QwuiLayout.

int QwuiStackedLayout::insertItem ( int  index,
QwuiLayoutItem item 
int QwuiStackedLayout::insertWebget ( int  index,
QwuiWebget w 
QwuiLayoutItem * QwuiStackedLayout::itemAt ( int  index  )  const [virtual]

Implements QwuiLayout.

void QwuiStackedLayout::itemRemoved ( int  index  )  [signal]
void QwuiStackedLayout::removeItem ( QwuiLayoutItem item  )  [virtual]

Implements QwuiLayout.

void QwuiStackedLayout::render (  )  [virtual]

Implements QwuiLayout.

void QwuiStackedLayout::setCurrentIndex ( int  index  )  [slot]
void QwuiStackedLayout::setCurrentItem ( QwuiLayoutItem item  )  [slot]
QwuiLayoutItem * QwuiStackedLayout::takeAt ( int  index  )  [virtual]

Implements QwuiLayout.

QwuiLayout::LayoutType QwuiStackedLayout::type (  )  const [virtual]

Implements QwuiLayout.

void QwuiStackedLayout::updateParentWebget (  )  [private, slot]

Member Data Documentation

The documentation for this class was generated from the following files:
Generated on Fri Jun 4 01:18:58 2010 for QtWui : Web User Interfaces for Qt by  doxygen 1.6.3