added basic qt window code