#include <kexiformeventhandler.h>
Public Member Functions | |
| void | setMainWidgetForEventHandling (KexiMainWindow *mainWin, TQWidget *mainWidget) |
Protected Attributes | |
| TQWidget * | m_mainWidget |
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 39 of file kexiformeventhandler.h.
Constructor & Destructor Documentation
◆ KexiFormEventHandler()
| KexiFormEventHandler::KexiFormEventHandler | ( | ) |
Definition at line 141 of file kexiformeventhandler.cpp.
◆ ~KexiFormEventHandler()
|
virtual |
Definition at line 146 of file kexiformeventhandler.cpp.
Member Function Documentation
◆ setMainWidgetForEventHandling()
| void KexiFormEventHandler::setMainWidgetForEventHandling | ( | KexiMainWindow * | mainWin, |
| TQWidget * | 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 150 of file kexiformeventhandler.cpp.
Member Data Documentation
◆ m_mainWidget
|
protected |
Definition at line 53 of file kexiformeventhandler.h.
The documentation for this class was generated from the following files:
