以下成員源於類 QPushButton are part of the Qt compatibility layer. We advise against using them in new code.
| QPushButton (QWidget * parent , const char * name ) | |
| QPushButton (const QString & text , QWidget * parent , const char * name ) | |
| QPushButton (const QIcon & icon , const QString & text , QWidget * parent , const char * name ) | |
| bool | isMenuButton () const |
| void | openPopup () |
| QMenu * | popup () const |
| void | setPopup (QMenu * popup ) |
Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。
Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。
Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。
使用 menu () != 0 instead.
使用 showMenu () 代替。
使用 menu () 代替。
另請參閱 setPopup ().
使用 setMenu () 代替。
另請參閱 popup ().