kexi
KexiFormEventHandler Class Reference
#include <kexiformeventhandler.h>
Inheritance diagram for KexiFormEventHandler:

Detailed Description
The KexiFormEventHandler class handles events defined within Kexi Forms.For now only "onClickAction" property of Push Button widget is handled: It's possible to connect this event to predefined global action.
Note: This interface will be extended in the future!
- See also:
- KexiFormPart::slotAssignAction()
Definition at line 35 of file kexiformeventhandler.h.
Public Member Functions | |
KexiFormEventHandler () | |
virtual | ~KexiFormEventHandler () |
void | setMainWidgetForEventHandling (KexiMainWindow *mainWin, QWidget *mainWidget) |
Protected Attributes | |
QWidget * | m_mainWidget |
Member Function Documentation
void KexiFormEventHandler::setMainWidgetForEventHandling | ( | KexiMainWindow * | mainWin, | |
QWidget * | mainWidget | |||
) |
Sets mainWidget to be a main widget for this handler. Also find widgets having action assigned and connects them to appropriate actions. For now, all of them must be KexiPushButton). mainWin is used to get action list.
- Todo:
- look for other widgets too
Definition at line 64 of file kexiformeventhandler.cpp.
The documentation for this class was generated from the following files: