Python editor example, make use of loadUi