10.5. The Command Pattern

[ fromfile: commandpattern.xml id: commandpattern ]

Providing reversal actions (undo) in your software reduces anxiety and encourages experimentation in your users. This can be a better choice than a confirmation dialog. Qt provides classes that make it easier to write your application with undo capability.

Implementing the Command Pattern is particularly easy with Qt.



[78] Section 17.2 discusses threads.

[79] Section 7.4.1 discusses the Serializer Pattern.