qtui: Set window title in the same fashion as GTKUI.