X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=packages%2Fqt%2Fsrc%2FbbqtOutputText.cxx;h=170cdf7d7de36a8234f3f2c8b351af7f516795ca;hb=c24bcd6f879ecc6ff437ac25d288a6f682c47206;hp=aa8a14b295646d777bf840e18a6f3d7196519f8b;hpb=82339d1dea2db3b2c99f18bbb963853f1d692455;p=bbtk.git diff --git a/packages/qt/src/bbqtOutputText.cxx b/packages/qt/src/bbqtOutputText.cxx index aa8a14b..170cdf7 100644 --- a/packages/qt/src/bbqtOutputText.cxx +++ b/packages/qt/src/bbqtOutputText.cxx @@ -7,9 +7,9 @@ namespace bbqt BBTK_ADD_BLACK_BOX_TO_PACKAGE(qt,QOutputText) BBTK_BLACK_BOX_IMPLEMENTATION(QOutputText,bbtk::QtBlackBox); + void QOutputText::Process() { - std::string msg; if (bbGetInputTitle()!="") { @@ -21,36 +21,33 @@ void QOutputText::Process() } ((QLabel*)bbGetOutputWidget())->setText( msg.c_str() ); //SetLabel( bbtk::std2wx( msg ) ); - } + + void QOutputText::CreateWidget(QWidget* parent) { - bbSetOutputWidget( new QLabel( parent ) ); //wxStaticText ( bbGetWxParent() , -1 , _T("") ) ); Process(); - -} -void QOutputText::bbUserConstructor() -{ - - bbSetInputIn(""); - bbSetInputTitle(""); - } -void QOutputText::bbUserCopyConstructor(bbtk::BlackBox::Pointer) -{ - + + + void QOutputText::bbUserSetDefaultValues() + { + bbSetInputIn(""); + bbSetInputTitle(""); + } + + void QOutputText::bbUserInitializeProcessing() + { + } + + void QOutputText::bbUserFinalizeProcessing() + { + } + - -} -void QOutputText::bbUserDestructor() -{ - - - -} } // EO namespace bbqt