2 #ifndef __bbqtQOutputText_h_INCLUDED__
3 #define __bbqtQOutputText_h_INCLUDED__
4 #include "bbqt_EXPORT.h"
5 #include "bbtkQtBlackBox.h"
10 class bbqt_EXPORT QOutputText
12 public bbtk::QtBlackBox
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);
27 BBTK_CREATE_WIDGET(CreateWidget);
28 void CreateWidget(QWidget*);
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");
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);
42 #endif // __bbqtQOutputText_h_INCLUDED__
43 #endif // _USE_WXWIDGETS_