+// -------------------------------------------------------------------------
+cpPlugins::Interface::ProcessObject::
+DialogResult cpPlugins::Interface::ProcessObject::
+ExecConfigurationDialog( QWidget* parent )
+{
+ DialogResult r = Self::DialogResult_Cancel;
+
+#ifdef cpPlugins_Interface_QT4
+
+ this->m_ParametersDialog->setParent( NULL );
+ this->m_ParametersDialog->setParameters( this->m_Parameters );
+
+ if( !( this->m_ParametersDialog->IsModal( ) ) )
+ {
+ this->m_ParametersDialog->show( );
+ r = Self::DialogResult_Modal;
+ }
+ else
+ {
+ if( this->m_ParametersDialog->exec( ) == 1 )
+ r = Self::DialogResult_NoModal;
+ else
+ r = Self::DialogResult_Cancel;
+
+ } // fi
+
+#endif // cpPlugins_Interface_QT4
+
+ return( r );