X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=wt%2Fbbtk_wt_PKG%2Fsrc%2FbbwtLayoutTab.h;h=18ae410f808e4466ad2e9b5a819be724aacbdc9f;hb=e19fa7d7d6d8da78d560d0dbc06efb4bb85e41e5;hp=d6c2756466bd12d56af50f0512dc7aff23f5b1df;hpb=26116b2d4181a4ed3fffa07fbb75ef527d32d740;p=creaWT.git diff --git a/wt/bbtk_wt_PKG/src/bbwtLayoutTab.h b/wt/bbtk_wt_PKG/src/bbwtLayoutTab.h index d6c2756..18ae410 100644 --- a/wt/bbtk_wt_PKG/src/bbwtLayoutTab.h +++ b/wt/bbtk_wt_PKG/src/bbwtLayoutTab.h @@ -5,7 +5,8 @@ #ifndef __bbwtLayoutTab_h_INCLUDED__ #define __bbwtLayoutTab_h_INCLUDED__ #include "bbwt_EXPORT.h" -#include "bbtkWxBlackBox.h" +#include "bbtkWtBlackBox.h" + namespace bbwt { @@ -18,20 +19,30 @@ class bbwt_EXPORT LayoutTab //===== // 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(Widget1,wxWindow*); - BBTK_DECLARE_INPUT(Widget2,wxWindow*); - BBTK_DECLARE_INPUT(Widget3,wxWindow*); - BBTK_DECLARE_INPUT(Widget4,wxWindow*); - BBTK_DECLARE_INPUT(Widget5,wxWindow*); - BBTK_DECLARE_INPUT(Widget6,wxWindow*); - BBTK_DECLARE_INPUT(Widget7,wxWindow*); - BBTK_DECLARE_INPUT(Widget8,wxWindow*); - BBTK_DECLARE_INPUT(Widget9,wxWindow*); - BBTK_DECLARE_INPUT(Orientation,std::string); - BBTK_PROCESS(Process); - void Process(); - BBTK_CREATE_WIDGET(CreateWidget); - void CreateWidget(Wt::WContainerWidget*); + + BBTK_DECLARE_INPUT(Widget1,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Widget2,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Widget3,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Widget4,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Widget5,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Widget6,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Widget7,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Widget8,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Widget9,Wt::WContainerWidget*); + BBTK_DECLARE_INPUT(Label1,std::string); + BBTK_DECLARE_INPUT(Label2,std::string); + BBTK_DECLARE_INPUT(Label3,std::string); + BBTK_DECLARE_INPUT(Label4,std::string); + BBTK_DECLARE_INPUT(Label5,std::string); + BBTK_DECLARE_INPUT(Label6,std::string); + BBTK_DECLARE_INPUT(Label7,std::string); + BBTK_DECLARE_INPUT(Label8,std::string); + BBTK_DECLARE_INPUT(Label9,std::string); + // BBTK_DECLARE_INPUT(Orientation,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) //===== @@ -42,20 +53,29 @@ BBTK_NAME("LayoutTab"); BBTK_AUTHOR("JohannGONZALEZ"); BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - LayoutTab for wt web apps."); BBTK_CATEGORY("__CategoryBlackBox__"); - BBTK_DESCRIPTION("LayoutTab widget (wxNotebook) The label of each 'note book' will be the name of the object it contains"); + BBTK_DESCRIPTION("LayoutTab widget The label of each 'note book' will be the name of the object it contains"); - BBTK_INPUT(LayoutTab,Widget1,"widget 1",wxWindow*,""); - BBTK_INPUT(LayoutTab,Widget2,"widget 2",wxWindow*,""); - BBTK_INPUT(LayoutTab,Widget3,"widget 3",wxWindow*,""); - BBTK_INPUT(LayoutTab,Widget4,"widget 4",wxWindow*,""); - BBTK_INPUT(LayoutTab,Widget5,"widget 5",wxWindow*,""); - BBTK_INPUT(LayoutTab,Widget6,"widget 6",wxWindow*,""); - BBTK_INPUT(LayoutTab,Widget7,"widget 7",wxWindow*,""); - BBTK_INPUT(LayoutTab,Widget8,"widget 8",wxWindow*,""); - BBTK_INPUT(LayoutTab,Widget9,"widget 9",wxWindow*,""); - BBTK_INPUT(LayoutTab,Orientation, - "Orientation (default T), 0=T=TOP , 1=R=RIGHT , 2=B=BOTTON , 3=L=LEFT " - ,std::string,""); + BBTK_INPUT(LayoutTab,Widget1,"widget 1",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Widget2,"widget 2",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Widget3,"widget 3",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Widget4,"widget 4",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Widget5,"widget 5",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Widget6,"widget 6",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Widget7,"widget 7",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Widget8,"widget 8",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Widget9,"widget 9",Wt::WContainerWidget*,""); + BBTK_INPUT(LayoutTab,Label1,"label 1",std::string,""); + BBTK_INPUT(LayoutTab,Label2,"label 2",std::string,""); + BBTK_INPUT(LayoutTab,Label3,"label 3",std::string,""); + BBTK_INPUT(LayoutTab,Label4,"label 4",std::string,""); + BBTK_INPUT(LayoutTab,Label5,"label 5",std::string,""); + BBTK_INPUT(LayoutTab,Label6,"label 6",std::string,""); + BBTK_INPUT(LayoutTab,Label7,"label 7",std::string,""); + BBTK_INPUT(LayoutTab,Label8,"label 8",std::string,""); + BBTK_INPUT(LayoutTab,Label9,"label 9",std::string,""); +// BBTK_INPUT(LayoutTab,Orientation, +// "Orientation (default T), 0=T=TOP , 1=R=RIGHT , 2=B=BOTTON , 3=L=LEFT " +// ,std::string,""); BBTK_END_DESCRIBE_BLACK_BOX(LayoutTab); //===== // 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)