Eneboo - Documentación para desarrolladores
|
#include <database.h>
Métodos públicos | |
QDesignerDataBrowser (QWidget *parent, const char *name) | |
Métodos protegidos | |
bool | event (QEvent *e) |
QDesignerDataBrowser::QDesignerDataBrowser | ( | QWidget * | parent, |
const char * | name | ||
) |
This is the main event handler; it handles event e. You can reimplement this function in a subclass, but we recommend using one of the specialized event handlers instead.
The main event handler first passes an event through all event filters that have been installed. If none of the filters intercept the event, it calls one of the specialized event handlers.
Key press and release events are treated differently from other events. event() checks for Tab and Shift+Tab and tries to move the focus appropriately. If there is no widget to move the focus to (or the key press is not Tab or Shift+Tab), event() calls keyPressEvent().
This function returns TRUE if it is able to pass the event over to someone (i.e. someone wanted the event); otherwise returns FALSE.
Reimplementado de QWidget.