45 #include <QtGui/qabstractbutton.h> 74 bool autoDefault()
const;
75 void setAutoDefault(
bool);
76 bool isDefault()
const;
77 void setDefault(
bool);
80 void setMenu(
QMenu* menu);
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
The QKeyEvent class describes a key event.
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QPoint class defines a point in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QFocusEvent class contains event parameters for widget focus events.
The QIcon class provides scalable icons in different modes and states.