Simulation with Qt4 interface