migrated from gtk to qt