#6878 Export Completion: Add settings from command file commands

This commit is contained in:
Magne Sjaastad
2021-05-02 13:51:00 +02:00
parent d002ee1d6e
commit 69a03df9da
4 changed files with 56 additions and 1 deletions

View File

@@ -213,6 +213,14 @@ bool RicExportCompletionDataSettingsUi::exportDataSourceAsComment() const
return m_exportDataSourceAsComment;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RicExportCompletionDataSettingsUi::setExportWelspec( bool enable )
{
m_exportWelspec = enable;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -221,6 +229,14 @@ bool RicExportCompletionDataSettingsUi::exportWelspec() const
return m_exportWelspec;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RicExportCompletionDataSettingsUi::setExportCompletionWelspecAfterMainBore( bool enable )
{
m_completionWelspecAfterMainBore = enable;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -229,6 +245,15 @@ bool RicExportCompletionDataSettingsUi::exportCompletionWelspecAfterMainBore() c
return m_completionWelspecAfterMainBore();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RicExportCompletionDataSettingsUi::setCustomFileName( const QString& fileName )
{
m_useCustomFileName = !fileName.isEmpty();
m_customFileName = fileName;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------