Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

Compatibility Members for QAbstractButton

The following members of classQAbstractButtonare part of the Qt compatibility layer. We advise against using them in new code.

Public Functions

QAbstractButton(QWidget * parent, const char * name, Qt::WindowFlags f = 0)
QKeySequenceaccel() const
QIcon *iconSet() const
boolisOn() const
boolisToggleButton() const
const QPixmap *pixmap() const
voidsetAccel(const QKeySequence & key)
voidsetIconSet(const QIcon & icon)
voidsetPixmap(const QPixmap & p)
voidsetToggleButton(bool b)

Public Slots

voidsetOn(bool b)
  • 1 public slot inherited fromQWidget

Member Function Documentation

QAbstractButton::QAbstractButton(QWidget * parent, constchar * name,Qt::WindowFlags f = 0)

UseQAbstractButton(QWidget *) instead.

CallsetObjectName() if you want to specify an object name, andsetParent() if you want to set the window flags.

QKeySequence QAbstractButton::accel() const

Useshortcut() instead.

See alsosetAccel().

QIcon * QAbstractButton::iconSet() const

Useicon() instead.

See alsosetIconSet().

bool QAbstractButton::isOn() const

UseisChecked() instead.

bool QAbstractButton::isToggleButton() const

UseisCheckable() instead.

constQPixmap * QAbstractButton::pixmap() const

This compatibility function always returns 0.

Useicon() instead.

See alsosetPixmap().

void QAbstractButton::setAccel(constQKeySequence & key)

UsesetShortcut() instead.

See alsoaccel().

void QAbstractButton::setIconSet(constQIcon & icon)

UsesetIcon() instead.

See alsoiconSet().

[slot]void QAbstractButton::setOn(bool b)

UsesetChecked() instead.

See alsoisOn().

void QAbstractButton::setPixmap(constQPixmap & p)

UsesetIcon() instead.

See alsopixmap().

void QAbstractButton::setToggleButton(bool b)

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.


[8]ページ先頭

©2009-2025 Movatter.jp