Fri, 04 Mar 2022 11:37:50 +0200
Major refactoring
- Model now just stores objects
- Document contains business logic
- Model::EditContext is now ModelEditor, no longer a nested class
96 | 1 | #include "basetool.h" |
152 | 2 | #include "document.h" |
96 | 3 | |
152 | 4 | BaseTool::BaseTool(Document *document) : |
5 | QObject{document}, | |
6 | parentWidget{document}, | |
7 | document{document} | |
8 | { | |
9 | } |