Definition at line 57 of file qpushbutton.h.
#include <qpushbutton.h>

Public Slots |
|
| void | showMenu () |
Public Member Functions |
|
| QPushButton (QWidget *parent=0) | |
| QPushButton (const QString &text, QWidget *parent=0) | |
| QPushButton (const QIcon &icon, const QString &text, QWidget *parent=0) | |
| ~QPushButton () | |
| QSize | sizeHint () const |
| QSize | minimumSizeHint () const |
| bool | autoDefault () const |
| void | setAutoDefault (bool) |
| bool | isDefault () const |
| void | setDefault (bool) |
| void | setMenu (QMenu *menu) |
| QMenu * | menu () const |
| void | setFlat (bool) |
| bool | isFlat () const |
Protected Member Functions |
|
| bool | event (QEvent *e) |
| void | paintEvent (QPaintEvent *) |
| void | keyPressEvent (QKeyEvent *) |
| void | focusInEvent (QFocusEvent *) |
| void | focusOutEvent (QFocusEvent *) |
| void | initStyleOption (QStyleOptionButton *option) const |
| QPushButton (QPushButtonPrivate &dd, QWidget *parent=0) | |
Properties |
|
| bool | autoDefault |
| bool | default |
| bool | flat |
| QPushButton | ( | QWidget * | parent = 0 |
) | [explicit] |
| QPushButton | ( | const QString & | text, |
| QWidget * | parent = 0 |
||
| ) | [explicit] |
| QPushButton | ( | const QIcon & | icon, |
| const QString & | text, | ||
| QWidget * | parent = 0 |
||
| ) |
| ~QPushButton | ( | ) |
| QPushButton | ( | QPushButtonPrivate & | dd, |
| QWidget * | parent = 0 |
||
| ) | [protected] |
| QSize sizeHint | ( | ) | const [virtual] |
| QSize minimumSizeHint | ( | ) | const [virtual] |
| bool autoDefault | ( | ) | const |
| void setAutoDefault | ( | bool | ) |
| bool isDefault | ( | ) | const |
| void setDefault | ( | bool | ) |
| void setMenu | ( | QMenu * | menu | ) |
| QMenu* menu | ( | ) | const |
| void setFlat | ( | bool | ) |
| bool isFlat | ( | ) | const |
| void showMenu | ( | ) | [slot] |
| bool event | ( | QEvent * | e | ) | [protected, virtual] |
| void paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
| void keyPressEvent | ( | QKeyEvent * | ) | [protected, virtual] |
Reimplemented from QAbstractButton.
| void focusInEvent | ( | QFocusEvent * | ) | [protected, virtual] |
Reimplemented from QAbstractButton.
| void focusOutEvent | ( | QFocusEvent * | ) | [protected, virtual] |
Reimplemented from QAbstractButton.
| void initStyleOption | ( | QStyleOptionButton * | option | ) | const [protected] |
bool autoDefault [read,
write] |
Definition at line 61 of file qpushbutton.h.
bool default [read, write] |
Definition at line 62 of file qpushbutton.h.
bool flat [read, write] |
Reimplemented in QCommandLinkButton.
Definition at line 63 of file qpushbutton.h.