basic model/view Qt framework implementation