ResInsight/ApplicationLibCode/ProjectDataModel/RimMultipleEclipseResults.h
Magne Sjaastad e815a02758
Minor GUI adjustments
* Select view when MDI window is activated

* Update linked views when property filter is linked

* Do not ask for restore of cell filters if none are present

* Update tree view when linking of property filters is disabled

* Add check box for multiple results in Result Info box
2022-12-21 10:50:26 +01:00

50 lines
1.6 KiB
C++

/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2022 Equinor ASA
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "RimCheckableObject.h"
#include <QString>
class RigEclipseResultAddress;
class RimEclipseView;
//==================================================================================================
///
///
//==================================================================================================
class RimMultipleEclipseResults : public RimCheckableObject
{
CAF_PDM_HEADER_INIT;
public:
RimMultipleEclipseResults();
void setEclipseView( RimEclipseView* eclipseView );
std::vector<RigEclipseResultAddress> additionalResultAddresses() const;
private:
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions ) override;
private:
caf::PdmField<std::vector<QString>> m_selectedKeywords;
caf::PdmPointer<RimEclipseView> m_eclipseView;
};