PyQt5最全5 为控件添加提示信息 import sys from PyQt5.QtWidgets import QApplication, QWidget, QToolTip, QMainWindow, QPushButton, QHBoxLayout from PyQt5.QtGui import QFont class TooltipForm(QMainWindow): def __init__