Qt is used in the study, record the learning materials of Qt.
The use of Qtimer in Qt:
Several ways to use Qt timer (QTimer) - Baidu Library
The use of hasattr in Qt:
PyQtGraph: check(sys.flags.interactive != 1) has hasattr(QtCore, 'PYQT_VERSION') - Stack Overflow