+++ /dev/null
-//=====
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//=====
-#ifdef _USE_WT_
-#ifndef __bbwtInputText_h_INCLUDED__
-#define __bbwtInputText_h_INCLUDED__
-#include "bbwt_EXPORT.h"
-#include "bbtkWtBlackBox.h"
-
-namespace bbwt
-{
-
-class bbwt_EXPORT InputText
- :
- public bbtk::WtBlackBox
-{
- BBTK_BLACK_BOX_INTERFACE(InputText,bbtk::WtBlackBox);
-//=====
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//=====
- BBTK_DECLARE_INPUT(Title,std::string);
- BBTK_DECLARE_INPUT(In,std::string);
- BBTK_DECLARE_INPUT(ReactiveOnKeystroke,int);
- BBTK_DECLARE_OUTPUT(Out,std::string);
- BBTK_PROCESS(Process);
- void Process();
- BBTK_CREATE_WIDGET(CreateWidget);
- void CreateWidget(Wt::WContainerWidget*);
-//=====
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//=====
- private:
- bool firsttime;
-};
-
-BBTK_BEGIN_DESCRIBE_BLACK_BOX(InputText,bbtk::WtBlackBox);
- BBTK_NAME("InputText");
- BBTK_AUTHOR("JohannGONZALEZ");
- BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - InputText widget implemented with wt.");
- BBTK_CATEGORY("__CategoryBlackBox__");
- BBTK_INPUT(InputText,Title,"Title prepended to the text",std::string,"");
-
- BBTK_INPUT(InputText,In,"Text",std::string,"");
- BBTK_INPUT(InputText,ReactiveOnKeystroke,"0 not event generated, 1 Enter event genereated, 2 All keys, (default '2') ", int,"");
-
- BBTK_OUTPUT(InputText,Out,"Current text",std::string,"");
-BBTK_END_DESCRIBE_BLACK_BOX(InputText);
-//=====
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//=====
-}
-// EO namespace bbwt
-
-#endif // __bbwtInputText_h_INCLUDED__
-#endif // _USE_WXWIDGETS_
-