
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
The following members of classQAbstractButtonare part of the Qt compatibility layer. We advise against using them in new code.
| QAbstractButton(QWidget * parent, const char * name, Qt::WindowFlags f = 0) | |
| QKeySequence | accel() const |
| QIcon * | iconSet() const |
| bool | isOn() const |
| bool | isToggleButton() const |
| const QPixmap * | pixmap() const |
| void | setAccel(const QKeySequence & key) |
| void | setIconSet(const QIcon & icon) |
| void | setPixmap(const QPixmap & p) |
| void | setToggleButton(bool b) |
| void | setOn(bool b) |
UseQAbstractButton(QWidget *) instead.
CallsetObjectName() if you want to specify an object name, andsetParent() if you want to set the window flags.
Useshortcut() instead.
See alsosetAccel().
Useicon() instead.
See alsosetIconSet().
UseisChecked() instead.
UseisCheckable() instead.
This compatibility function always returns 0.
Useicon() instead.
See alsosetPixmap().
UsesetShortcut() instead.
See alsoaccel().
UsesetIcon() instead.
See alsoiconSet().
[slot]void QAbstractButton::setOn(bool b)UsesetChecked() instead.
See alsoisOn().
UsesetIcon() instead.
See alsopixmap().
UsesetCheckable() instead.
See alsoisToggleButton().
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.