Home · All Classes · Modules

QStackedWidget Class Reference
[QtGui module]

Inherits QFrame.

Methods

Special Methods

Qt Signals


Detailed Description


Method Documentation

QStackedWidget.__init__ (self, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

int QStackedWidget.addWidget (self, QWidget)

The QWidget argument has it's ownership transferred to Qt.

int QStackedWidget.count (self)

int QStackedWidget.currentIndex (self)

QWidget QStackedWidget.currentWidget (self)

bool QStackedWidget.event (self, QEvent)

int QStackedWidget.indexOf (self, QWidget)

int QStackedWidget.insertWidget (self, int, QWidget)

The QWidget argument has it's ownership transferred to Qt.

QStackedWidget.removeWidget (self, QWidget)

QStackedWidget.setCurrentIndex (self, int)

This method is also a Qt slot with the C++ signature void setCurrentIndex(int).

QStackedWidget.setCurrentWidget (self, QWidget)

This method is also a Qt slot with the C++ signature void setCurrentWidget(QWidget *).

QWidget QStackedWidget.widget (self, int)

QStackedWidget.__len__ (self)


Qt Signal Documentation

void currentChanged (int)

This is the default overload of this signal.

void widgetRemoved (int)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0