60
62
* The view will have a canvas as a member which does all the actual painting, the view will
61
63
* be responsible for handling the actions. The View is technically speaking the controller
62
64
* class in the MVC design.
64
66
* @param document the document we show.
65
67
* @param parent a parent widget we show ourselves in.