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 QPushButton

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

Public Functions

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)
boolisMenuButton() const
voidopenPopup()
QMenu *popup() const
voidsetPopup(QMenu * popup)

Member Function Documentation

QPushButton::QPushButton(QWidget * parent, constchar * name)

Use one of the constructors that doesn't take thename argument and then usesetObjectName() instead.

QPushButton::QPushButton(constQString & text,QWidget * parent, constchar * name)

Use one of the constructors that doesn't take thename argument and then usesetObjectName() instead.

QPushButton::QPushButton(constQIcon & icon, constQString & text,QWidget * parent, constchar * name)

Use one of the constructors that doesn't take thename argument and then usesetObjectName() instead.

bool QPushButton::isMenuButton() const

Usemenu() != 0 instead.

void QPushButton::openPopup()

UseshowMenu() instead.

QMenu * QPushButton::popup() const

Usemenu() instead.

See alsosetPopup().

void QPushButton::setPopup(QMenu * popup)

UsesetMenu() instead.

See alsopopup().

© 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