From 3b4966ef4dbabbbc0fcb62b7b1a52ad9f327de1d Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 10 Mar 2011 15:07:26 +0000 Subject: New lua functions: template(), macro(), user() and patientid(). New onInit lua callback attribute. --- client/widgets/widget.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/widgets/widget.h') diff --git a/client/widgets/widget.h b/client/widgets/widget.h index d964974..37a365f 100644 --- a/client/widgets/widget.h +++ b/client/widgets/widget.h @@ -85,10 +85,12 @@ signals: * LUA scripting events: */ void eventOnChange(bool deep = false); + void eventOnInit(bool deep = false); public slots: void childWasChanged(); void runEventOnChange(bool deep = false); + void runEventOnInit(bool deep = false); protected: QWidget *widget; @@ -118,6 +120,9 @@ private: bool hasOnChangeEvent; QString onChangeEventScript; + + bool hasOnInitEvent; + QString onInitEventScript; }; #endif/*__PRACRO_WIDGET_H__*/ -- cgit v1.2.3