Skip to content

MVC Pattern

bekaus edited this page Jul 6, 2011 · 4 revisions

There are several variants of the Model-View-Controler pattern. Especially suitable for the volumeeditor is the following: mvc-pattern

Views are implemented by QWidgets and messages either by QSignals or QEvents.

The volumeeditors architecture is based on variations and repetitions of this pattern:

  • not all edges and nodes have to be present all the time
  • updates are delivered via qt signals, but qt events may also be used
  • events/signals originate from QWidgets and are handled by controlers
  • some events may be handled by the widget itself
Clone this wiki locally