3 #ifndef __bbqtQOutputText_h_INCLUDED__
4 #define __bbqtQOutputText_h_INCLUDED__
5 #include "bbqt_EXPORT.h"
6 #include "bbtkQtBlackBox.h"
11 class bbqt_EXPORT QOutputText
13 public bbtk::QtBlackBox
15 BBTK_BLACK_BOX_INTERFACE(QOutputText,bbtk::QtBlackBox);
16 //==================================================================
17 /// User callback called in the box contructor
18 virtual void bbUserConstructor();
19 /// User callback called in the box copy constructor
20 virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer);
21 /// User callback called in the box destructor
22 virtual void bbUserDestructor();
23 //==================================================================
24 BBTK_DECLARE_INPUT(Title,std::string);
25 BBTK_DECLARE_INPUT(In,std::string);
26 BBTK_PROCESS(Process);
28 BBTK_CREATE_WIDGET(CreateWidget);
29 void CreateWidget(QWidget*);
32 BBTK_BEGIN_DESCRIBE_BLACK_BOX(QOutputText,bbtk::QtBlackBox);
33 BBTK_NAME("QOutputText");
34 BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
35 BBTK_DESCRIPTION("OutputText");
37 BBTK_INPUT(QOutputText,Title,"Title prepended to the text",std::string,"");
38 BBTK_INPUT(QOutputText,In,"Text",std::string,"");
39 BBTK_END_DESCRIBE_BLACK_BOX(QOutputText);
43 #endif // __bbqtQOutputText_h_INCLUDED__