Files
ResInsight/ApplicationLibCode/ProjectDataModel/Tools/RimAutomationSettings.h
T
JJ 453562082d Summary case refresh update. (#13123)
Use improved opm-common reader with less throws.
Add reload selected cases button
Add timer for auto-reload of cases
Add include in auto update option for cases and ensembles
Do not enable auto reload option for cases in an ensemble
2025-11-03 18:41:55 +01:00

53 lines
1.7 KiB
C++

/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2025 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 "cafPdmField.h"
#include "cafPdmObject.h"
#include "cafPdmPtrField.h"
class RimPlotWindow;
class RimSummaryPlot;
//==================================================================================================
///
///
//==================================================================================================
class RimAutomationSettings : public caf::PdmObject
{
CAF_PDM_HEADER_INIT;
public:
RimAutomationSettings();
std::vector<RimSummaryPlot*> summaryPlots() const;
void setDestinationPlot( RimPlotWindow* plotWindow );
int caseReloadIntervalMs() const;
private:
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions ) override;
private:
caf::PdmPtrField<RimPlotWindow*> m_cellSelectionDestination;
caf::PdmField<int> m_caseReloadIntervalSeconds;
};