+ DialogResult r = Self::DialogResult_Cancel;
+
+#ifdef cpPlugins_Interface_QT4
+
+ if( QApplication::instance( ) != NULL )
+ {
+ if( this->m_ParametersDialog == NULL )
+ this->m_ParametersDialog = new ParametersQtDialog( );
+ /* TODO
+ this->m_ParametersDialog->setTitle(
+ this->GetClassName( ) + std::string( " basic configuration" )
+ );
+ */
+
+ this->m_ParametersDialog->setParent( NULL );
+ this->m_ParametersDialog->setParameters( this->m_Parameters );
+
+ if( this->m_ParametersDialog->exec( ) == 1 )
+ r = Self::DialogResult_NoModal;
+ else
+ r = Self::DialogResult_Cancel;
+ }
+ else
+ r = Self::DialogResult_Cancel;
+
+#endif // cpPlugins_Interface_QT4
+
+ return( r );