Imitate YY Gui in Qt.