Eneboo - Documentación para desarrolladores
Tipos públicos | Señales | Métodos públicos | Métodos protegidos
Referencia de la Clase QDialogButtons

#include <qdialogbuttons_p.h>

Diagrama de herencias de QDialogButtons
QWidget QWidget QPaintDevice QObject QPaintDevice QObject QPaintDevice QObject QPaintDevice QObject

Lista de todos los miembros.

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 QWidgetcreateButton (Button)
void showEvent (QShowEvent *)
void resizeEvent (QResizeEvent *)
void styleChanged (QStyle &)
void layoutButtons ()
virtual QWidgetcreateButton (Button)
void showEvent (QShowEvent *)
void resizeEvent (QResizeEvent *)
void styleChanged (QStyle &)

Documentación de las enumeraciones miembro de la clase

Valores de enumeraciones:
None 
Accept 
Reject 
Help 
Apply 
All 
Abort 
Retry 
Ignore 
None 
Accept 
Reject 
Help 
Apply 
All 
Abort 
Retry 
Ignore 
Valores de enumeraciones:
None 
Accept 
Reject 
Help 
Apply 
All 
Abort 
Retry 
Ignore 
None 
Accept 
Reject 
Help 
Apply 
All 
Abort 
Retry 
Ignore 

Documentación del constructor y destructor

QDialogButtons::QDialogButtons ( QDialog parent,
bool  autoConnect = TRUE,
Q_UINT32  buttons = Accept | Reject,
Orientation  orient = Horizontal,
const char *  name = NULL 
)
QDialogButtons::QDialogButtons ( QWidget parent,
Q_UINT32  buttons = Accept | Reject,
Orientation  orient = Horizontal,
const char *  name = NULL 
)
QDialogButtons::~QDialogButtons ( )
QDialogButtons::QDialogButtons ( QDialog parent,
bool  autoConnect = TRUE,
Q_UINT32  buttons = Accept|Reject,
Orientation  orient = Horizontal,
const char *  name = NULL 
)
QDialogButtons::QDialogButtons ( QWidget parent,
Q_UINT32  buttons = Accept|Reject,
Orientation  orient = Horizontal,
const char *  name = NULL 
)
QDialogButtons::~QDialogButtons ( )

Documentación de las funciones miembro

void QDialogButtons::abortClicked ( ) [signal]
void QDialogButtons::abortClicked ( ) [signal]
void QDialogButtons::acceptClicked ( ) [signal]
void QDialogButtons::acceptClicked ( ) [signal]
void QDialogButtons::addWidget ( QWidget )
void QDialogButtons::addWidget ( QWidget w)
void QDialogButtons::allClicked ( ) [signal]
void QDialogButtons::allClicked ( ) [signal]
void QDialogButtons::applyClicked ( ) [signal]
void QDialogButtons::applyClicked ( ) [signal]
QString QDialogButtons::buttonText ( Button  ) const
QString QDialogButtons::buttonText ( Button  b) const
void QDialogButtons::clicked ( Button  t0) [signal]
void QDialogButtons::clicked ( Button  ) [signal]
QWidget * QDialogButtons::createButton ( Button  b) [protected, virtual]
virtual QWidget* QDialogButtons::createButton ( Button  ) [protected, virtual]
QDialogButtons::Button QDialogButtons::defaultButton ( ) const
Button QDialogButtons::defaultButton ( ) const
void QDialogButtons::helpClicked ( ) [signal]
void QDialogButtons::helpClicked ( ) [signal]
void QDialogButtons::hideButton ( Button  b) [inline]
void QDialogButtons::hideButton ( Button  b) [inline]
void QDialogButtons::ignoreClicked ( ) [signal]
void QDialogButtons::ignoreClicked ( ) [signal]
bool QDialogButtons::isButtonEnabled ( Button  ) const
bool QDialogButtons::isButtonEnabled ( Button  button) const
bool QDialogButtons::isButtonVisible ( Button  button) const
bool QDialogButtons::isButtonVisible ( Button  ) const
void QDialogButtons::layoutButtons ( ) [protected]
void QDialogButtons::layoutButtons ( ) [protected]
QSize QDialogButtons::minimumSizeHint ( ) const [virtual]

Reimplementado de QWidget.

QSize QDialogButtons::minimumSizeHint ( ) const [virtual]

Reimplementado de QWidget.

Orientation QDialogButtons::orientation ( ) const
Qt::Orientation QDialogButtons::orientation ( ) const
bool QDialogButtons::questionMode ( ) const
bool QDialogButtons::questionMode ( ) const
void QDialogButtons::rejectClicked ( ) [signal]
void QDialogButtons::rejectClicked ( ) [signal]
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.

void QDialogButtons::retryClicked ( ) [signal]
void QDialogButtons::retryClicked ( ) [signal]
void QDialogButtons::setButtonEnabled ( Button  button,
bool  enabled 
)
void QDialogButtons::setButtonEnabled ( Button  button,
bool  enabled 
)
virtual void QDialogButtons::setButtonText ( Button  ,
const QString  
) [virtual]
void QDialogButtons::setButtonText ( Button  button,
const QString str 
) [virtual]
virtual void QDialogButtons::setButtonVisible ( Button  ,
bool  visible 
) [virtual]
void QDialogButtons::setButtonVisible ( Button  button,
bool  visible 
) [virtual]
virtual void QDialogButtons::setDefaultButton ( Button  ) [virtual]
void QDialogButtons::setDefaultButton ( Button  button) [virtual]
void QDialogButtons::setOrientation ( Orientation  )
void QDialogButtons::setOrientation ( Orientation  orient)
void QDialogButtons::setQuestionMode ( bool  b)
void QDialogButtons::setQuestionMode ( bool  )
void QDialogButtons::showButton ( Button  b) [inline]
void QDialogButtons::showButton ( Button  b) [inline]
void QDialogButtons::showEvent ( QShowEvent ) [protected, virtual]

This event handler can be reimplemented in a subclass to receive widget show events.

Non-spontaneous show events are sent to widgets immediately before they are shown. The spontaneous show events of top-level widgets are delivered afterwards.

Ver también:
event(), QShowEvent

Reimplementado de QWidget.

void QDialogButtons::showEvent ( QShowEvent ) [protected, virtual]

This event handler can be reimplemented in a subclass to receive widget show events.

Non-spontaneous show events are sent to widgets immediately before they are shown. The spontaneous show events of top-level widgets are delivered afterwards.

Ver también:
event(), QShowEvent

Reimplementado de QWidget.

virtual QSize QDialogButtons::sizeHint ( Button  ) const [virtual]
QSize QDialogButtons::sizeHint ( ) const [virtual]

Reimplementado de QWidget.

QSize QDialogButtons::sizeHint ( QDialogButtons::Button  button) const [virtual]
QSize QDialogButtons::sizeHint ( ) const [virtual]

Reimplementado de QWidget.

void QDialogButtons::styleChanged ( QStyle old) [protected]
void QDialogButtons::styleChanged ( QStyle ) [protected]

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'