NAME

Qt::Gui::QUndoStack

PUBLIC METHODS

QUndoStack(QObject * parent)
QUndoStack(QObject * parent = 0)
~QUndoStack()
void beginMacro(const QString & text)
bool canRedo()
bool canUndo()
int cleanIndex()
void clear()
const QUndoCommand * command(int index)
int count()
QAction * createRedoAction(QObject * parent, const QString & prefix)
QAction * createRedoAction(QObject * parent, const QString & prefix = QString())
QAction * createUndoAction(QObject * parent, const QString & prefix)
QAction * createUndoAction(QObject * parent, const QString & prefix = QString())
void endMacro()
int index()
bool isActive()
bool isClean()
void push(QUndoCommand * cmd)
void redo()
QString redoText()
void setActive(bool active)
void setActive(bool active = true)
void setClean()
void setIndex(int idx)
void setUndoLimit(int limit)
QString text(int idx)
void undo()
int undoLimit()
QString undoText()

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html