mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2425 Export Completions : Whitespace
This commit is contained in:
@@ -20,53 +20,22 @@
|
|||||||
#include "RicWellPathExportCompletionDataFeatureImpl.h"
|
#include "RicWellPathExportCompletionDataFeatureImpl.h"
|
||||||
|
|
||||||
#include "RiaApplication.h"
|
#include "RiaApplication.h"
|
||||||
#include "RiaLogging.h"
|
|
||||||
#include "RiaPreferences.h"
|
|
||||||
|
|
||||||
#include "RicExportCompletionDataSettingsUi.h"
|
|
||||||
#include "RicExportFeatureImpl.h"
|
#include "RicExportFeatureImpl.h"
|
||||||
#include "RicFishbonesTransmissibilityCalculationFeatureImp.h"
|
|
||||||
#include "RicExportFractureCompletionsImpl.h"
|
|
||||||
|
|
||||||
#include "RigActiveCellInfo.h"
|
|
||||||
#include "RigCaseCellResultsData.h"
|
|
||||||
#include "RigEclipseCaseData.h"
|
|
||||||
#include "RigMainGrid.h"
|
|
||||||
#include "RigResultAccessorFactory.h"
|
|
||||||
|
|
||||||
#include "RigTransmissibilityEquations.h"
|
|
||||||
|
|
||||||
#include "RigWellLogExtractionTools.h"
|
|
||||||
#include "RigWellPath.h"
|
|
||||||
#include "RigWellPathIntersectionTools.h"
|
|
||||||
|
|
||||||
#include "RimDialogData.h"
|
#include "RimDialogData.h"
|
||||||
#include "RimSimWellInViewCollection.h"
|
|
||||||
#include "RimFishboneWellPath.h"
|
|
||||||
#include "RimFishboneWellPathCollection.h"
|
|
||||||
#include "RimFishbonesCollection.h"
|
|
||||||
#include "RimFishbonesMultipleSubs.h"
|
|
||||||
#include "RimPerforationCollection.h"
|
|
||||||
#include "RimPerforationInterval.h"
|
|
||||||
#include "RimProject.h"
|
#include "RimProject.h"
|
||||||
#include "RimSimWellInView.h"
|
#include "RimSimWellInView.h"
|
||||||
|
#include "RimSimWellInViewCollection.h"
|
||||||
#include "RimWellPath.h"
|
#include "RimWellPath.h"
|
||||||
#include "RimWellPathCollection.h"
|
#include "RimWellPathCollection.h"
|
||||||
#include "RimWellPathCompletions.h"
|
|
||||||
|
|
||||||
#include "RiuMainWindow.h"
|
#include "RiuMainWindow.h"
|
||||||
|
|
||||||
#include "cafPdmUiPropertyViewDialog.h"
|
#include "cafPdmUiPropertyViewDialog.h"
|
||||||
#include "cafProgressInfo.h"
|
|
||||||
#include "cafSelectionManager.h"
|
#include "cafSelectionManager.h"
|
||||||
|
|
||||||
#include "cvfPlane.h"
|
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QDir>
|
|
||||||
#include <QFileDialog>
|
|
||||||
#include <QMessageBox>
|
|
||||||
#include "RigWellLogExtractor.h"
|
|
||||||
|
|
||||||
CAF_CMD_SOURCE_INIT(RicWellPathExportCompletionDataFeature, "RicWellPathExportCompletionDataFeature");
|
CAF_CMD_SOURCE_INIT(RicWellPathExportCompletionDataFeature, "RicWellPathExportCompletionDataFeature");
|
||||||
|
|
||||||
@@ -120,7 +89,8 @@ void RicWellPathExportCompletionDataFeature::onActionTriggered(bool isChecked)
|
|||||||
QString defaultDir = RiaApplication::instance()->lastUsedDialogDirectoryWithFallback("COMPLETIONS", projectFolder);
|
QString defaultDir = RiaApplication::instance()->lastUsedDialogDirectoryWithFallback("COMPLETIONS", projectFolder);
|
||||||
|
|
||||||
bool onlyWellPathCollectionSelected = noWellPathsSelectedDirectly();
|
bool onlyWellPathCollectionSelected = noWellPathsSelectedDirectly();
|
||||||
RicExportCompletionDataSettingsUi* exportSettings = project->dialogData()->exportCompletionData(onlyWellPathCollectionSelected);
|
RicExportCompletionDataSettingsUi* exportSettings =
|
||||||
|
project->dialogData()->exportCompletionData(onlyWellPathCollectionSelected);
|
||||||
|
|
||||||
if (wellPaths.empty())
|
if (wellPaths.empty())
|
||||||
{
|
{
|
||||||
@@ -202,8 +172,10 @@ bool RicWellPathExportCompletionDataFeature::noWellPathsSelectedDirectly()
|
|||||||
std::vector<RimWellPath*> wellPaths;
|
std::vector<RimWellPath*> wellPaths;
|
||||||
caf::SelectionManager::instance()->objectsByType(&wellPaths);
|
caf::SelectionManager::instance()->objectsByType(&wellPaths);
|
||||||
|
|
||||||
if (wellPaths.empty()) return true;
|
if (wellPaths.empty())
|
||||||
else return false;
|
return true;
|
||||||
|
else
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -230,21 +202,3 @@ std::vector<RimSimWellInView*> RicWellPathExportCompletionDataFeature::selectedS
|
|||||||
|
|
||||||
return simWells;
|
return simWells;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,24 +18,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "RifEclipseDataTableFormatter.h"
|
|
||||||
|
|
||||||
#include "RigWellLogExtractionTools.h"
|
|
||||||
#include "RigWellPathIntersectionTools.h"
|
|
||||||
#include "RigCompletionData.h"
|
|
||||||
|
|
||||||
#include "RicExportCompletionDataSettingsUi.h"
|
|
||||||
|
|
||||||
#include "cafCmdFeature.h"
|
#include "cafCmdFeature.h"
|
||||||
|
|
||||||
#include "cvfBoundingBox.h"
|
|
||||||
|
|
||||||
|
|
||||||
class RigCell;
|
|
||||||
class RigEclipseCaseData;
|
|
||||||
class RigMainGrid;
|
|
||||||
class RimEclipseCase;
|
|
||||||
class RimFishbonesMultipleSubs;
|
|
||||||
class RimSimWellInView;
|
class RimSimWellInView;
|
||||||
class RimWellPath;
|
class RimWellPath;
|
||||||
|
|
||||||
@@ -57,5 +41,3 @@ private:
|
|||||||
|
|
||||||
bool noWellPathsSelectedDirectly();
|
bool noWellPathsSelectedDirectly();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user