mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3418 Flow Diagnostics: Context sensitive naming
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "cafPdmObject.h"
|
||||
#include "cafPdmPointer.h"
|
||||
#include "cafPdmPtrField.h"
|
||||
#include "cafPdmUiItem.h"
|
||||
|
||||
class RigCaseCellResultsData;
|
||||
class RimEclipseCase;
|
||||
@@ -56,6 +57,13 @@ public:
|
||||
};
|
||||
typedef caf::AppEnum<RimEclipseResultDefinition::FlowTracerSelectionType> FlowTracerSelectionEnum;
|
||||
|
||||
enum FlowTracerSelectionNumbers
|
||||
{
|
||||
NONE_SELECTED,
|
||||
ONE_SELECTED,
|
||||
MULTIPLE_SELECTED
|
||||
};
|
||||
|
||||
public:
|
||||
RimEclipseResultDefinition();
|
||||
virtual ~RimEclipseResultDefinition();
|
||||
@@ -157,6 +165,8 @@ private:
|
||||
|
||||
QList<caf::PdmOptionItemInfo> calcOptionsForVariableUiFieldStandard();
|
||||
QList<caf::PdmOptionItemInfo> calcOptionsForSelectedTracerField(bool injector);
|
||||
caf::PdmOptionItemInfo calcOptionForTimeOfFlightField();
|
||||
caf::PdmOptionItemInfo calcOptionForMaxFractionTracerField();
|
||||
|
||||
void updateSelectedTracersFromFilter();
|
||||
void changedTracerSelectionField(bool injector);
|
||||
@@ -165,5 +175,8 @@ private:
|
||||
|
||||
std::vector<QString> tracerNamesMatchingFilter() const;
|
||||
void toggleAllTracersSelection(const caf::PdmField<bool>* changedField);
|
||||
|
||||
FlowTracerSelectionNumbers injectorTracersSelected() const;
|
||||
FlowTracerSelectionNumbers producerTracersSelected() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user