kexi

KexiFormEventHandler Class Reference

#include <kexiformeventhandler.h>

Inheritance diagram for KexiFormEventHandler:

KexiFormScrollView

List of all members.


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.


Public Member Functions

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 150 of file kexiformeventhandler.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys