Refactoring

Hi, I modify import library statement, can be clearly the QT classes provide API for other maintainers,
and replace tabs with space.