QtGui/qpushbutton.h Source File
Go to the documentation of this file.
53 class QPushButtonPrivate;
61 Q_PROPERTY(
bool autoDefault READ autoDefault WRITE setAutoDefault)
71 QSize sizeHint() const;
72 QSize minimumSizeHint() const;
74 bool autoDefault() const;
75 void setAutoDefault(
bool);
76 bool isDefault() const;
77 void setDefault(
bool);
80 void setMenu(QMenu* menu);
95 bool hitButton(
const QPoint &pos)
const;
101 void initStyleOption(QStyleOptionButton *option)
const;
109 inline QT3_SUPPORT
void openPopup() { showMenu(); }
110 inline QT3_SUPPORT
bool isMenuButton()
const {
return menu() != 0; }
111 inline QT3_SUPPORT
void setPopup(QMenu* popup) {setMenu(popup); }
112 inline QT3_SUPPORT QMenu* popup()
const {
return menu(); }
127 #endif // QPUSHBUTTON_H
#define Q_PRIVATE_SLOT(d, signature)
#define QT_BEGIN_NAMESPACE
GLuint const GLchar * name