Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget

I forgot to add files again... this time it's modelsubwindow.h

Removed unused code

Extracted the state of the program into a MainState structure, and extracted local functions of main() into static functions.

Move some recent file handling to MainWindow

`PartRenderer::renderVao` no longer throws if bad array class is given, this is now checked on compile time

(0) -300 -100 -30 -10 -6 +6 +10 tip

mercurial