Refactor qt TE list rendering