the design model MVC in Qt