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 () 代替。