1 /*# ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
27 // 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)
29 #ifdef _USE_WXWIDGETS_
30 #ifndef __bbcreaMaracasVisuPanelButtonContainerSettings_h_INCLUDED__
31 #define __bbcreaMaracasVisuPanelButtonContainerSettings_h_INCLUDED__
32 #include "bbcreaMaracasVisu_EXPORT.h"
33 #include "bbtkWxBlackBox.h"
38 #include <structBCPSettings.h>
40 namespace bbcreaMaracasVisu
42 typedef creaPanelButtonContainer::BCPSettingsStruct BCPSettingsStruct;
43 typedef std::vector< BCPSettingsStruct* > BCStructVectorType;
44 class bbcreaMaracasVisu_EXPORT PanelButtonContainerSettings :
45 public bbtk::WxBlackBox
47 BBTK_BLACK_BOX_INTERFACE(PanelButtonContainerSettings,bbtk::WxBlackBox);
49 // 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)
51 BBTK_DECLARE_INPUT(Title,std::string);
52 BBTK_DECLARE_INPUT(In,BCStructVectorType);
53 BBTK_DECLARE_INPUT(GroupName,std::string);
54 BBTK_DECLARE_INPUT(ButtonName,std::string);
55 BBTK_DECLARE_INPUT(Iconpath,std::string);
56 BBTK_DECLARE_INPUT(ButtonDescription,std::string);
57 BBTK_DECLARE_INPUT(Widget,wxWindow*);
58 BBTK_DECLARE_OUTPUT(Out,BCStructVectorType);
59 BBTK_PROCESS(Process);
62 Process( );BBTK_CREATE_WIDGET(CreateWidget);
64 CreateWidget( wxWindow* );
67 BCPSettingsStruct* m_BSettings;
68 BCStructVectorType m_BCSettingsVector;
71 // 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)
75 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PanelButtonContainerSettings,bbtk::WxBlackBox);
76 BBTK_NAME("PanelButtonContainerSettings");
77 BBTK_AUTHOR("Info-Dev");
78 BBTK_DESCRIPTION("_description_");
79 BBTK_CATEGORY("__CategoryBlackBox__");
80 BBTK_INPUT(PanelButtonContainerSettings,Title,"Title prepended to the text",std::string,"");
81 BBTK_INPUT(PanelButtonContainerSettings,In,"ButtonContainerSettings List",BCStructVectorType,"");
82 BBTK_INPUT(PanelButtonContainerSettings,GroupName,"Group Name",std::string,"");
83 BBTK_INPUT(PanelButtonContainerSettings,ButtonName,"Button Name",std::string,"");
84 BBTK_INPUT(PanelButtonContainerSettings,Iconpath,"The path of the Icon",std::string,"");
85 BBTK_INPUT(PanelButtonContainerSettings,ButtonDescription,"Full description of the button",std::string,"");
86 BBTK_INPUT(PanelButtonContainerSettings,Widget,"Panel associated to the button",wxWindow*,"");
87 BBTK_OUTPUT(PanelButtonContainerSettings,Out,"ButtonContainerSettings List",BCStructVectorType,"");
88 BBTK_END_DESCRIBE_BLACK_BOX(PanelButtonContainerSettings);
90 // 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)
93 // EO namespace bbcreaMaracasVisu
95 #endif // __bbcreaMaracasVisuPanelButtonContainerSettings_h_INCLUDED__
96 #endif // _USE_WXWIDGETS_