Compatibility Members for QWhatsThis

以下成员源于类 QWhatsThis are part of the Qt compatibility layer. We advise against using them in new code.

静态公共成员

QToolButton * whatsThisButton (QWidget * parent )

成员函数文档编制

[static] QToolButton * QWhatsThis:: whatsThisButton ( QWidget * parent )

Returns a new "What's This?" QToolButton 采用给定 parent . To do this now, create your own QToolButton QWhatsThis object and call the QWhatsThis 对象的 showText () function when the QToolButton is invoked.

使用 createAction () 代替。