Tipos públicos |
enum | Button {
None = 0,
Accept = 0x01,
Reject = 0x02,
Help = 0x04,
Apply = 0x08,
All = 0x10,
Abort = 0x20,
Retry = 0x40,
Ignore = 0x80,
None = 0,
Accept = 0x01,
Reject = 0x02,
Help = 0x04,
Apply = 0x08,
All = 0x10,
Abort = 0x20,
Retry = 0x40,
Ignore = 0x80
} |
enum | Button {
None = 0,
Accept = 0x01,
Reject = 0x02,
Help = 0x04,
Apply = 0x08,
All = 0x10,
Abort = 0x20,
Retry = 0x40,
Ignore = 0x80,
None = 0,
Accept = 0x01,
Reject = 0x02,
Help = 0x04,
Apply = 0x08,
All = 0x10,
Abort = 0x20,
Retry = 0x40,
Ignore = 0x80
} |
Señales |
void | clicked (Button) |
void | acceptClicked () |
void | rejectClicked () |
void | helpClicked () |
void | applyClicked () |
void | allClicked () |
void | retryClicked () |
void | ignoreClicked () |
void | abortClicked () |
void | clicked (Button) |
void | acceptClicked () |
void | rejectClicked () |
void | helpClicked () |
void | applyClicked () |
void | allClicked () |
void | retryClicked () |
void | ignoreClicked () |
void | abortClicked () |
Métodos públicos |
| QDialogButtons (QDialog *parent, bool autoConnect=TRUE, Q_UINT32 buttons=Accept|Reject, Orientation orient=Horizontal, const char *name=NULL) |
| QDialogButtons (QWidget *parent, Q_UINT32 buttons=Accept|Reject, Orientation orient=Horizontal, const char *name=NULL) |
| ~QDialogButtons () |
void | setQuestionMode (bool) |
bool | questionMode () const |
void | setButtonEnabled (Button button, bool enabled) |
bool | isButtonEnabled (Button) const |
void | showButton (Button b) |
void | hideButton (Button b) |
virtual void | setButtonVisible (Button, bool visible) |
bool | isButtonVisible (Button) const |
void | addWidget (QWidget *) |
virtual void | setDefaultButton (Button) |
Button | defaultButton () const |
virtual void | setButtonText (Button, const QString &) |
QString | buttonText (Button) const |
void | setOrientation (Orientation) |
Orientation | orientation () const |
virtual QSize | sizeHint (Button) const |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
| QDialogButtons (QDialog *parent, bool autoConnect=TRUE, Q_UINT32 buttons=Accept|Reject, Orientation orient=Horizontal, const char *name=NULL) |
| QDialogButtons (QWidget *parent, Q_UINT32 buttons=Accept|Reject, Orientation orient=Horizontal, const char *name=NULL) |
| ~QDialogButtons () |
void | setQuestionMode (bool) |
bool | questionMode () const |
void | setButtonEnabled (Button button, bool enabled) |
bool | isButtonEnabled (Button) const |
void | showButton (Button b) |
void | hideButton (Button b) |
virtual void | setButtonVisible (Button, bool visible) |
bool | isButtonVisible (Button) const |
void | addWidget (QWidget *) |
virtual void | setDefaultButton (Button) |
Button | defaultButton () const |
virtual void | setButtonText (Button, const QString &) |
QString | buttonText (Button) const |
void | setOrientation (Orientation) |
Orientation | orientation () const |
virtual QSize | sizeHint (Button) const |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
Métodos protegidos |
void | layoutButtons () |
virtual QWidget * | createButton (Button) |
void | showEvent (QShowEvent *) |
void | resizeEvent (QResizeEvent *) |
void | styleChanged (QStyle &) |
void | layoutButtons () |
virtual QWidget * | createButton (Button) |
void | showEvent (QShowEvent *) |
void | resizeEvent (QResizeEvent *) |
void | styleChanged (QStyle &) |
void QDialogButtons::resizeEvent |
( |
QResizeEvent * |
| ) |
[protected, virtual] |
This event handler can be reimplemented in a subclass to receive widget resize events. When resizeEvent() is called, the widget already has its new geometry. The old size is accessible through QResizeEvent::oldSize().
The widget will be erased and receive a paint event immediately after processing the resize event. No drawing need be (or should be) done inside this handler.
Widgets that have been created with the WNoAutoErase
flag will not be erased. Nevertheless, they will receive a paint event for their entire area afterwards. Again, no drawing needs to be done inside this handler.
The default implementation calls updateMask() if the widget has automatic masking enabled.
- Ver también:
- moveEvent(), event(), resize(), QResizeEvent, paintEvent()
Reimplementado de QWidget.
void QDialogButtons::resizeEvent |
( |
QResizeEvent * |
| ) |
[protected, virtual] |
This event handler can be reimplemented in a subclass to receive widget resize events. When resizeEvent() is called, the widget already has its new geometry. The old size is accessible through QResizeEvent::oldSize().
The widget will be erased and receive a paint event immediately after processing the resize event. No drawing need be (or should be) done inside this handler.
Widgets that have been created with the WNoAutoErase
flag will not be erased. Nevertheless, they will receive a paint event for their entire area afterwards. Again, no drawing needs to be done inside this handler.
The default implementation calls updateMask() if the widget has automatic masking enabled.
- Ver también:
- moveEvent(), event(), resize(), QResizeEvent, paintEvent()
Reimplementado de QWidget.
La documentación para esta clase fue generada a partir de los siguientes ficheros: