X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkQtBlackBoxDialog.h;h=ba2fb29f2798b8d3b0a3bae34076dc06e4e6a2b0;hb=ad891a93d0f7aedabfb477c42829a60e4d46cb9a;hp=34df2647b94440bc1e96312fefdfa048f4bc1f66;hpb=038dbbd7dd8b34107ec932a34170a4625368eb25;p=bbtk.git diff --git a/kernel/src/bbtkQtBlackBoxDialog.h b/kernel/src/bbtkQtBlackBoxDialog.h index 34df264..ba2fb29 100644 --- a/kernel/src/bbtkQtBlackBoxDialog.h +++ b/kernel/src/bbtkQtBlackBoxDialog.h @@ -5,9 +5,9 @@ #include "bbtkQtBlackBox.h" -#include "bbtkWidgetBlackBoxWindow.h" + +#include #include "ui_bbtkQtBlackBoxDialog.h" -#include "bbtkQtBlackBoxDialogParent.h" namespace bbtk { @@ -15,25 +15,18 @@ namespace bbtk //========================================================================= // QtBlackBoxDialog //========================================================================= - class QtBlackBoxDialog : public QtBlackBoxDialogParent, - // WidgetBlackBoxWindow, - // public QDialog, + class QtBlackBoxDialog : public QDialog, private Ui::bbtkQtBlackBoxDialog { Q_OBJECT public: - typedef QtBlackBoxDialogParent Parent; - // typedef WidgetBlackBoxWindow Parent; - //QtBlackBoxDialog() : Parent(QtBlackBox::Pointer()) {} QtBlackBoxDialog(QtBlackBox::Pointer box, QWidget *parent, const std::string& title, int width, int height); ~QtBlackBoxDialog(); - void bbShow(); - void bbHide(); - void bbClose(); - bool bbIsDialog() { return true; } + private: + QtBlackBox::WeakPointer mBox; }; //=========================================================================