#ifdef USE_QT #include "bbtkQtBlackBoxDialog.h" #include "bbtkQtBlackBox.h" namespace bbtk { //========================================================================= QtBlackBoxDialog::QtBlackBoxDialog(QtBlackBox::Pointer box, QWidget *parent, const std::string& title, int width, int height) : QtBlackBoxDialogParent(box,parent) // QDialog( parent ) { bbtkDebugMessage("qt",9,"QtBlackBoxDialog::QtBlackBoxDialog("<< bbGetBlackBox()->bbGetFullName()<<","<bbUserCreateWidget(widget); // Insert into the layout horizontalLayout->addWidget(box->bbGetOutputWidget()); // updateGeometry(); } //========================================================================= //========================================================================= void QtBlackBoxDialog::bbShow() { if (bbIsShown()) return; bbtkDebugMessage("qt",5,"QtBlackBoxDialog::bbShow() [" <bbGetFullName()<<"]"<