Work at the setSlot and the renderWindow