Home · All Classes · Modules

QUndoStack Class Reference
[QtGui module]

Inherits QObject.

Methods

Special Methods

Qt Signals


Detailed Description


Method Documentation

QUndoStack.__init__ (self, QObject parent = None)

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

QUndoStack.beginMacro (self, QString)

bool QUndoStack.canRedo (self)

bool QUndoStack.canUndo (self)

int QUndoStack.cleanIndex (self)

QUndoStack.clear (self)

QUndoCommand QUndoStack.command (self, int)

int QUndoStack.count (self)

QAction QUndoStack.createRedoAction (self, QObject, QString prefix = QString())

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

QAction QUndoStack.createUndoAction (self, QObject, QString prefix = QString())

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

QUndoStack.endMacro (self)

int QUndoStack.index (self)

bool QUndoStack.isActive (self)

bool QUndoStack.isClean (self)

QUndoStack.push (self, QUndoCommand)

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

QUndoStack.redo (self)

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

QString QUndoStack.redoText (self)

QUndoStack.setActive (self, bool active = True)

This method is also a Qt slot with the C++ signature void setActive(bool = 1).

QUndoStack.setClean (self)

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

QUndoStack.setIndex (self, int)

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

QUndoStack.setUndoLimit (self, int)

QString QUndoStack.text (self, int)

QUndoStack.undo (self)

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

int QUndoStack.undoLimit (self)

QString QUndoStack.undoText (self)

QUndoStack.__len__ (self)


Qt Signal Documentation

void canRedoChanged (bool)

This is the default overload of this signal.

void canUndoChanged (bool)

This is the default overload of this signal.

void cleanChanged (bool)

This is the default overload of this signal.

void indexChanged (int)

This is the default overload of this signal.

void redoTextChanged (const QString&)

This is the default overload of this signal.

void undoTextChanged (const QString&)

This is the default overload of this signal.


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