Sections

Undo/Redo Framework

The Qt Undo/Redo Framework component is an undo/redo framework based on the Command design pattern.

This framework allows developers to easily implement multiplatform undo/redo functionality in their applications.

This Qt Solutions component is for Qt 3. For Qt 4 Solutions, please visit the Qt 4 Solutions Catalog.

Documentation:

Overview

ClassesExamples

Tested on:

  • Qt 3.3.6 / Windows XP / MSVC.NET 2003
  • Qt 3.3.6 / Linux / gcc
  • Qt 3.3.6 / SunOS 5.9 / SunC++
  • Qt 3.3.6 / MacOS X 10.4 / gcc

Unsupported platforms:

Only the tested platforms are supported, however the classes should be platform independent and are likely to work on the platforms supported by Qt.

Download Commercial Edition:

Only available for Qt Solutions license holder with a valid Support and Maintenance agreement (authentication required).
> <br>

Changes:

  • 1.5: Size limitation of undo stack now works.
  • 1.5: Fix possible crash after clear().
  • 1.5: Proper update of QtUndoListBox.
  • 1.4: Bugfixes.
  • 1.3: QtUndoStack now has undo/redo QActions associated with it.
  • 1.1: Added signal QtUndoStack::commandExecuted() which is emitted whenever a QtCommand is undone or redone.
  • 1.1: Added signals to QtUndoManager: canUndoChanged(), canRedoChanged(), undoDescriptionChanged(), redoDescriptionChanged().
  • 1.1: Added QtUndoStack::setClean() and signal QtUndoStack::cleanChanged() to signal when the edited object returns to the clean (saved) state.
Document Actions

Patron of KDECustomers

Customers