Added a UI class in QT.