Carve must use a centralized Undo Stack

Registered by codedread

Carve should utilize the Undo framework in Qt (QUndoStack, QUndoCommand, etc) for all edits to the document. At the moment, Undo/Redo is provided through the QTextEdit in the Carve SVG child window, but this needs to be changed so that typing as well as other actions in the UI use a centralized Undo stack (this is critical to set up before we start adding the ability to edit the document outside the text editor).

Blueprint information

Status:
Complete
Approver:
codedread
Priority:
Essential
Drafter:
None
Direction:
Approved
Assignee:
codedread
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.03
Started by
codedread
Completed by
codedread

Related branches

Sprints

Whiteboard

Target this for Carve Lithium (0.03).

After investigating this, I realized that there is a rationale for keeping everything in terms of 'changes to text'. Thus, all commands that you can do to a SVG document through Carve will be reduced down to text changes and applied to the text editor (thus, automatically making use of the QTextEdit's built-in Undo/Redo capabilities).

This has been completed in Build 13.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.