Public Types | Public Slots | Signals | Public Member Functions | Properties

QStackedLayout Class Reference

Search for all occurrences

Detailed Description

Definition at line 55 of file qstackedlayout.h.

#include <qstackedlayout.h>

Inheritance diagram for QStackedLayout:
Inheritance graph
[legend]

List of all members.

Public Types

enum   StackingMode { StackOne, StackAll }

Public Slots

void  setCurrentIndex (int index)
void  setCurrentWidget (QWidget *w)

Signals

void  widgetRemoved (int index)
void  currentChanged (int index)

Public Member Functions

  QStackedLayout ()
  QStackedLayout (QWidget *parent)
  QStackedLayout (QLayout *parentLayout)
  ~QStackedLayout ()
int  addWidget (QWidget *w)
int  insertWidget (int index, QWidget *w)
QWidget currentWidget () const
int  currentIndex () const
QWidget widget (int) const
int  count () const
StackingMode  stackingMode () const
void  setStackingMode (StackingMode stackingMode)
void  addItem (QLayoutItem *item)
QSize  sizeHint () const
QSize  minimumSize () const
QLayoutItem itemAt (int) const
QLayoutItem takeAt (int)
void  setGeometry (const QRect &rect)

Properties

int  currentIndex
StackingMode  stackingMode

Member Enumeration Documentation


Constructor & Destructor Documentation

QStackedLayout ( QWidget parent ) [explicit]
QStackedLayout ( QLayout parentLayout ) [explicit]

Member Function Documentation

int addWidget ( QWidget w )

Reimplemented from QLayout.

int insertWidget ( int  index,
QWidget w 
)
QWidget* currentWidget ( ) const
int currentIndex ( ) const
QWidget* widget ( int  ) const
int count ( ) const [virtual]
StackingMode stackingMode ( ) const
void setStackingMode ( StackingMode  stackingMode )
void addItem ( QLayoutItem item ) [virtual]
QSize sizeHint ( ) const [virtual]
QSize minimumSize ( ) const [virtual]

Reimplemented from QLayout.

QLayoutItem* itemAt ( int  ) const [virtual]
QLayoutItem* takeAt ( int  ) [virtual]
void setGeometry ( const QRect rect ) [virtual]

Reimplemented from QLayout.

void widgetRemoved ( int  index ) [signal]
void currentChanged ( int  index ) [signal]
void setCurrentIndex ( int  index ) [slot]
void setCurrentWidget ( QWidget w ) [slot]

Property Documentation

int currentIndex [read, write]

Definition at line 60 of file qstackedlayout.h.

StackingMode stackingMode [read, write]

Definition at line 61 of file qstackedlayout.h.


The documentation for this class was generated from the following file:

QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout
QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout QStackedLayout