use qt designer to generate UI