X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkQtBlackBoxDialog.h;h=ba2fb29f2798b8d3b0a3bae34076dc06e4e6a2b0;hb=a280c10c9ba7730cd9105a91bf1a40e72503a6e3;hp=a9d6202f027413604e5f091e5981f658da8fc945;hpb=28479cf7460f053625842de2e8df98b2e3363ede;p=bbtk.git diff --git a/kernel/src/bbtkQtBlackBoxDialog.h b/kernel/src/bbtkQtBlackBoxDialog.h index a9d6202..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 bbDestroy(); - bool bbIsDialog() { return true; } + private: + QtBlackBox::WeakPointer mBox; }; //=========================================================================