]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/src/bbwtCheckBox.h
2536 BBTK Feature New Normal wt-version Package
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtCheckBox.h
1 //===== 
2 // 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)
3 //===== 
4 #ifdef _USE_WT_
5 #ifndef __bbwtwtCheckBox_h_INCLUDED__
6 #define __bbwtwtCheckBox_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
9
10 namespace bbwt
11 {
12
13 class bbwt_EXPORT CheckBox
14  : 
15    public bbtk::WtBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(CheckBox,bbtk::WtBlackBox);
18 //===== 
19 // 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)
20 //===== 
21   BBTK_DECLARE_INPUT(In,bool);
22   BBTK_DECLARE_INPUT(Title,std::string);
23   BBTK_DECLARE_INPUT(ReactiveOnKeystroke,int);
24   BBTK_DECLARE_OUTPUT(Out,bool);
25   BBTK_PROCESS(Process);
26   void Process();
27   BBTK_CREATE_WIDGET(CreateWidget);
28   void CreateWidget(Wt::WContainerWidget*);
29 //===== 
30 // 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)
31 //===== 
32 };
33
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(CheckBox,bbtk::WtBlackBox);
35 BBTK_NAME("CheckBox");
36 BBTK_AUTHOR("JohannGONZALEZ");
37 BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - Checkbox web widget implemented in wt");
38 BBTK_CATEGORY("__CategoryBlackBox__");
39 BBTK_INPUT(CheckBox, Title,"Title shown above the CheckBox (default '') ", std::string,"");
40 BBTK_INPUT(CheckBox,ReactiveOnKeystroke,"0: no event generated when the checkbox is clicked on, 1: event generated when the checkbox is clicked on (default 1) ", int,"");
41 BBTK_INPUT(CheckBox,In,"Initial Value",bool,"");
42 BBTK_OUTPUT(CheckBox,Out,"Current Value",bool,"");
43 BBTK_END_DESCRIBE_BLACK_BOX(CheckBox);
44 //===== 
45 // 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)
46 //===== 
47 }
48 // EO namespace bbwt
49
50 #endif // __bbwtwtCheckBox_h_INCLUDED__
51 #endif // _USE_WXWIDGETS_
52