X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fqt%2Fsrc%2FbbqtQOutputText.cxx~;fp=packages%2Fqt%2Fsrc%2FbbqtQOutputText.cxx~;h=0000000000000000000000000000000000000000;hb=82339d1dea2db3b2c99f18bbb963853f1d692455;hp=451bf3fc87f1594d856056d293ed65d00c698a03;hpb=038dbbd7dd8b34107ec932a34170a4625368eb25;p=bbtk.git diff --git a/packages/qt/src/bbqtQOutputText.cxx~ b/packages/qt/src/bbqtQOutputText.cxx~ deleted file mode 100644 index 451bf3f..0000000 --- a/packages/qt/src/bbqtQOutputText.cxx~ +++ /dev/null @@ -1,57 +0,0 @@ -#include "bbqtQOutputText.h" -#include "bbqtPackage.h" -#include - -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()!="") - { - msg = bbGetInputTitle()+": " + bbGetInputIn(); - } - else - { - msg = bbGetInputIn(); - } - ((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::bbUserDestructor() -{ - - - -} -} -// EO namespace bbqt - -