]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuPanelButtonContainerSettings.h
CreaPanelButtonContainer boxes
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuPanelButtonContainerSettings.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_WXWIDGETS_
5 #ifndef __bbcreaMaracasVisuPanelButtonContainerSettings_h_INCLUDED__
6 #define __bbcreaMaracasVisuPanelButtonContainerSettings_h_INCLUDED__
7 #include "bbcreaMaracasVisu_EXPORT.h"
8 #include "bbtkWxBlackBox.h"
9
10 #include <string>
11 #include <vector>
12
13 #include <structButtonContainerSettings.h>
14
15 namespace bbcreaMaracasVisu
16 {
17         typedef std::vector< BCSettingsStruct* > BCStructVectorType;
18         class bbcreaMaracasVisu_EXPORT PanelButtonContainerSettings :
19           public bbtk::WxBlackBox
20         {
21                 BBTK_BLACK_BOX_INTERFACE(PanelButtonContainerSettings,bbtk::WxBlackBox);
22                         //=====
23                         // 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)
24                         //=====
25                   BBTK_DECLARE_INPUT(Title,std::string);
26                   BBTK_DECLARE_INPUT(In,BCStructVectorType);
27                         BBTK_DECLARE_INPUT(GroupName,std::string);
28                         BBTK_DECLARE_INPUT(ButtonName,std::string);
29                         BBTK_DECLARE_INPUT(Iconpath,std::string);
30                         BBTK_DECLARE_INPUT(ButtonDescription,std::string);
31                         BBTK_DECLARE_INPUT(Widget,wxWindow*);
32                         BBTK_DECLARE_OUTPUT(Out,BCStructVectorType);
33                         BBTK_PROCESS(Process);
34
35                         void
36                         Process( );BBTK_CREATE_WIDGET(CreateWidget);
37                         void
38                         CreateWidget( wxWindow* );
39
40                 private:
41                         BCSettingsStruct* m_BSettings;
42                         BCStructVectorType m_BCSettingsVector;
43                         wxPanel* myPanel;
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
49         BBTK_BEGIN_DESCRIBE_BLACK_BOX(PanelButtonContainerSettings,bbtk::WxBlackBox);
50         BBTK_NAME("PanelButtonContainerSettings");
51         BBTK_AUTHOR("Info-Dev");
52         BBTK_DESCRIPTION("_description_");
53         BBTK_CATEGORY("__CategoryBlackBox__");
54         BBTK_INPUT(PanelButtonContainerSettings,Title,"Title prepended to the text",std::string,"");
55         BBTK_INPUT(PanelButtonContainerSettings,In,"ButtonContainerSettings List",BCStructVectorType,"");
56         BBTK_INPUT(PanelButtonContainerSettings,GroupName,"Group Name",std::string,"");
57         BBTK_INPUT(PanelButtonContainerSettings,ButtonName,"Button Name",std::string,"");
58         BBTK_INPUT(PanelButtonContainerSettings,Iconpath,"The path of the Icon",std::string,"");
59         BBTK_INPUT(PanelButtonContainerSettings,ButtonDescription,"Full description of the button",std::string,"");
60         BBTK_INPUT(PanelButtonContainerSettings,Widget,"Panel associated to the button",wxWindow*,"");
61         BBTK_OUTPUT(PanelButtonContainerSettings,Out,"ButtonContainerSettings List",BCStructVectorType,"");
62         BBTK_END_DESCRIBE_BLACK_BOX(PanelButtonContainerSettings);
63         //=====
64         // 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)
65         //=====
66 }
67 // EO namespace bbcreaMaracasVisu
68
69 #endif // __bbcreaMaracasVisuPanelButtonContainerSettings_h_INCLUDED__
70 #endif // _USE_WXWIDGETS_