]> Creatis software - bbtk.git/blob - packages/qt/src/bbqtQOutputText.h~
*** empty log message ***
[bbtk.git] / packages / qt / src / bbqtQOutputText.h~
1 #ifdef _USE_WXWIDGETS_
2 #ifndef __bbqtQOutputText_h_INCLUDED__
3 #define __bbqtQOutputText_h_INCLUDED__
4 #include "bbqt_EXPORT.h"
5 #include "bbtkQtBlackBox.h"
6
7 namespace bbqt
8 {
9
10 class bbqt_EXPORT QOutputText
11  : 
12    public bbtk::QtBlackBox
13 {
14   BBTK_BLACK_BOX_INTERFACE(QOutputText,bbtk::QtBlackBox);
15 //==================================================================
16 /// User callback called in the box contructor
17 virtual void bbUserConstructor();
18 /// User callback called in the box copy constructor
19 virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer);
20 /// User callback called in the box destructor
21 virtual void bbUserDestructor();
22 //==================================================================
23   BBTK_DECLARE_INPUT(Title,std::string);
24   BBTK_DECLARE_INPUT(In,std::string);
25   BBTK_PROCESS(Process);
26   void Process();
27   BBTK_CREATE_WIDGET(CreateWidget);
28   void CreateWidget(QWidget*);
29 };
30
31 BBTK_BEGIN_DESCRIBE_BLACK_BOX(QOutputText,bbtk::QtBlackBox);
32 BBTK_NAME("QOutputText");
33 BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
34 BBTK_DESCRIPTION("OutputText");
35 BBTK_CATEGORY("");
36 BBTK_INPUT(QOutputText,Title,"Title prepended to the text",std::string,"");
37 BBTK_INPUT(QOutputText,In,"Text",std::string,"");
38 BBTK_END_DESCRIBE_BLACK_BOX(QOutputText);
39 }
40 // EO namespace bbqt
41
42 #endif // __bbqtQOutputText_h_INCLUDED__
43 #endif // _USE_WXWIDGETS_
44