]> Creatis software - bbtk.git/blob - kernel/src/bbtkQtBlackBoxDialog.h
Qt black boxes updated
[bbtk.git] / kernel / src / bbtkQtBlackBoxDialog.h
1 #ifndef __bbtkQtBlackBoxDialog_h_INCLUDED__
2 #define __bbtkQtBlackBoxDialog_h_INCLUDED__
3
4 #ifdef USE_QT
5
6
7 #include "bbtkQtBlackBox.h"
8
9 #include <QDialog>
10 #include "ui_bbtkQtBlackBoxDialog.h"
11
12 namespace bbtk
13 {
14
15   //=========================================================================
16   // QtBlackBoxDialog
17   //=========================================================================
18   class QtBlackBoxDialog : public QDialog,
19                            private Ui::bbtkQtBlackBoxDialog
20   {
21     Q_OBJECT
22   public:
23     QtBlackBoxDialog(QtBlackBox::Pointer box,
24                      QWidget *parent,
25                      const std::string& title,
26                      int width, int height);
27     ~QtBlackBoxDialog();
28   private:
29     QtBlackBox::WeakPointer mBox;
30   };
31   //=========================================================================
32
33 }
34
35 #endif
36 #endif
37