]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/src/bbwtCheckBox.h~
36f3ad0abc10c95bb4324d406a337f2d02a80fdb
[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_OUTPUT(Out,bool);
24   BBTK_PROCESS(Process);
25   void Process();
26   BBTK_CREATE_WIDGET(CreateWidget);
27   void CreateWidget(Wt::WContainerWidget*);
28 //===== 
29 // 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)
30 //===== 
31 };
32
33 BBTK_BEGIN_DESCRIBE_BLACK_BOX(CheckBox,bbtk::WtBlackBox);
34 BBTK_NAME("CheckBox");
35 BBTK_AUTHOR("JohannGONZALEZ");
36 BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - Checkbox web widget implemented in wt");
37 BBTK_CATEGORY("__CategoryBlackBox__");
38 BBTK_INPUT(CheckBox, Title,"Title shown above the CheckBox (default '') ", std::string,"");
39 BBTK_INPUT(CheckBox,In,"Initial Value",bool,"");
40 BBTK_OUTPUT(CheckBox,Out,"Current Value",bool,"");
41 BBTK_END_DESCRIBE_BLACK_BOX(CheckBox);
42 //===== 
43 // 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)
44 //===== 
45 }
46 // EO namespace bbwt
47
48 #endif // __bbwtwtCheckBox_h_INCLUDED__
49 #endif // _USE_WXWIDGETS_
50