Port ParmScren to Qt.