Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo / Redo #137

Open
toloudis opened this issue Aug 31, 2023 · 0 comments
Open

Undo / Redo #137

toloudis opened this issue Aug 31, 2023 · 0 comments

Comments

@toloudis
Copy link
Contributor

Use Case

The codebase needs to be ready to support Undo

Solution

Create Command stack.
Make most numeric updates happen via Commands (e.g. when slider has stopped sliding). Add Undo capability to Command class. Command can remember previous value. Need to be able to update UI after undo.
TBD: determine which operations can not be undone and cause the undo stack to be thrown out and started over.
TBD: when input is changed via spin box, how much of it is undo-able? (e.g. On lose focus?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant