Added action exit. Now window render window change size according size of qtWindow if during changing qtWindow size