]> Creatis software - bbtk.git/blob - packages/qt/src/bbqtOutputText.h
bef500b160adaa309349984cc9f7a50704f12900
[bbtk.git] / packages / qt / src / bbqtOutputText.h
1 #ifdef USE_QT
2
3 #ifndef __bbqtQOutputText_h_INCLUDED__
4 #define __bbqtQOutputText_h_INCLUDED__
5 #include "bbqt_EXPORT.h"
6 #include "bbtkQtBlackBox.h"
7
8 namespace bbqt
9 {
10
11 class bbqt_EXPORT QOutputText
12  : 
13    public bbtk::QtBlackBox
14 {
15   BBTK_BLACK_BOX_INTERFACE(QOutputText,bbtk::QtBlackBox);
16
17   BBTK_DECLARE_INPUT(Title,std::string);
18   BBTK_DECLARE_INPUT(In,std::string);
19   BBTK_PROCESS(Process);
20   void Process();
21   BBTK_CREATE_WIDGET(CreateWidget);
22   void CreateWidget(QWidget*);
23 };
24
25 BBTK_BEGIN_DESCRIBE_BLACK_BOX(QOutputText,bbtk::QtBlackBox);
26 BBTK_NAME("QOutputText");
27 BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
28 BBTK_DESCRIPTION("OutputText");
29 BBTK_CATEGORY("");
30 BBTK_INPUT(QOutputText,Title,"Title prepended to the text",std::string,"");
31 BBTK_INPUT(QOutputText,In,"Text",std::string,"");
32 BBTK_END_DESCRIBE_BLACK_BOX(QOutputText);
33 }
34 // EO namespace bbqt
35
36 #endif // __bbqtQOutputText_h_INCLUDED__
37 #endif // USE_QT
38