aPanel->setObjectName( anObjectName );
closePreview();
- QStringList aPolylineFaceNames;
- onCreatePreview( aPolylineFaceNames );
+ if ( myOperationId != CreateLandCoverMapId )
+ onCreatePreview();
aPanel->blockSignals( false );
HYDROGUI_LandCoverMapDlg* aPanel = new HYDROGUI_LandCoverMapDlg( module(), getName(), myOperationId );
connect( aPanel, SIGNAL( landCoverMapChanged( const QString& ) ),
this, SLOT( onLandCoverMapChanged( const QString& ) ) );
- connect( aPanel, SIGNAL( CreatePreview( const QStringList& ) ),
- this, SLOT( onCreatePreview( const QStringList& ) ) );
return aPanel;
}
{
// Show preview of the newly selected land cover map
closePreview();
- QStringList aPolylineFaceNames;
- onCreatePreview( aPolylineFaceNames );
+ onCreatePreview();
}
}
}
-void HYDROGUI_LandCoverMapOp::onCreatePreview( const QStringList& thePolylineFaceNames )
+void HYDROGUI_LandCoverMapOp::onCreatePreview()
{
HYDROGUI_LandCoverMapDlg* aPanel = ::qobject_cast<HYDROGUI_LandCoverMapDlg*>( inputPanel() );
if ( !aPanel )
protected slots:
void onLandCoverMapChanged( const QString& theName );
- void onCreatePreview( const QStringList& thePolylineFaceNames );
+ void onCreatePreview();
void onViewerSelectionChanged();
private: