Working model with Qt