qt gui: Move insn view setup to a method