]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/src/bbwtLayoutSplit.h~
858eaa8befb64303559e539cc8593ffaa4d07bd5
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtLayoutSplit.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 __bbwtLayoutSplit_h_INCLUDED__
6 #define __bbwtLayoutSplit_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
9
10 namespace bbwt
11 {
12
13 class bbwt_EXPORT LayoutSplit
14  : 
15    public bbtk::WtBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(LayoutSplit,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(Widget1,Wt::WContainerWidget*);
22     BBTK_DECLARE_INPUT(Widget2,Wt::WContainerWidget*);
23     BBTK_DECLARE_INPUT(Orientation,std::string);
24     BBTK_DECLARE_INPUT(Proportion,int);
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(LayoutSplit,bbtk::WtBlackBox);
35 BBTK_NAME("LayoutSplit");
36 BBTK_AUTHOR("JohannGONZALEZ");
37 BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - Split Layout for wt web apps");
38 BBTK_CATEGORY("__CategoryBlackBox__");
39   BBTK_INPUT(LayoutSplit,Widget1,"Upper or left widget",Wt::WContainerWidget*,"");
40   BBTK_INPUT(LayoutSplit,Widget2,"Lower or right widget",Wt::WContainerWidget*,"");
41   BBTK_INPUT(LayoutSplit,Orientation,"Orientation (default H), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string,"");
42   BBTK_INPUT(LayoutSplit,Proportion,"Proportion (in percent) of the first children in the window",int,"");
43 BBTK_END_DESCRIBE_BLACK_BOX(LayoutSplit);
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 // __bbwtLayoutSplit_h_INCLUDED__
51 #endif // _USE_WXWIDGETS_
52