X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FBaseWidget.cxx;h=7bcca5266366eb932c777aaae49cbd42d2726034;hb=34c0133b046bbde76d6c82458d6637072bd20052;hp=faebdcea696cd6850d0e6214afb929d0268eb7d7;hpb=f533290f40279617e54e19086dde7c0ba9b07f5b;p=cpPlugins.git diff --git a/lib/cpPlugins/BaseWidget.cxx b/lib/cpPlugins/BaseWidget.cxx index faebdce..7bcca52 100644 --- a/lib/cpPlugins/BaseWidget.cxx +++ b/lib/cpPlugins/BaseWidget.cxx @@ -1,5 +1,16 @@ #include +#ifdef cpPlugins_QT4 + +// ------------------------------------------------------------------------- +itk::ModifiedTimeType cpPlugins::BaseWidget:: +GetMTime( ) const +{ + // Let time only be managed by itk -> synch issues when data is + // represented by vtk + return( this->itk::Object::GetMTime( ) ); +} + // ------------------------------------------------------------------------- const cpPlugins::BaseWidget::TMPRWidget* cpPlugins::BaseWidget:: GetMPRViewer( ) const @@ -70,6 +81,8 @@ BaseWidget( ) m_MPRViewer( NULL ), m_SingleInteractor( NULL ) { + this->m_Parameters.ConfigureAsString( "Text" ); + this->m_Parameters.SetString( "Text", "" ); } // ------------------------------------------------------------------------- @@ -81,4 +94,6 @@ cpPlugins::BaseWidget:: this->m_SingleInteractor = NULL; } +#endif // cpPlugins_QT4 + // eof - $RCSfile$