pencil2d / pencil

Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations. Pencil2D is open source and cross-platform.
http://pencil2d.org
GNU General Public License v2.0
1.47k stars 273 forks source link

Replace the current undo/redo system with QUndoStack #864

Open MrStevns opened 6 years ago

MrStevns commented 6 years ago

To avoid too much discussion on this subject in the roadmap thread, i've made a new issue regarding this enhancement that chchwy mentions in #800

by chchwy:

I was thinking to introduce QUndoStack to have better undo/redo architecture, but haven't got chances to do that. This could also be a preparation step for the undo history window in the future.

QUndoStack:

It would also be a step towards a undo history, since Qt also provides QUndoView which displays content of a QUndoStack

J5lx commented 6 years ago

For reference, undo history was requested in #562.

MrStevns commented 2 weeks ago

The new undo/redo system was implemented recently, shouldn't we consider this PR done then or do we want to keep it open till we've fully migrated to the new system?