+ {
+ if( this->m_ParametersDialog->exec( ) == 1 )
+ r = Self::DialogResult_NoModal;
+ else
+ r = Self::DialogResult_Cancel;
+
+ } // fi
+
+#endif // cpPlugins_Interface_QT4
+
+ return( r );
+}
+
+// -------------------------------------------------------------------------
+cpPlugins::Interface::ProcessObject::
+ProcessObject( )
+ : Superclass( ),
+ m_ITKObject( NULL ),
+ m_VTKObject( NULL ),
+ m_Plugins( NULL )
+{
+ this->m_Parameters = TParameters::New( );
+ this->m_Parameters->SetProcessObject( this );
+
+ this->m_ParametersDialog = new ParametersQtDialog( );
+ this->m_ParametersDialog->setTitle(
+ this->GetClassName( ) + std::string( " basic configuration" )
+ );
+}
+
+// -------------------------------------------------------------------------
+cpPlugins::Interface::ProcessObject::
+~ProcessObject( )
+{
+ delete this->m_ParametersDialog;