Files
ResInsight/ApplicationLibCode/Commands/WellLogCommands/RicCreateRftPlotsFeatureUi.h
Magne Sjaastad 4f25fb4463 Create multiple RFT plots based on the selected RFT plot
Show a dialog with all available RFT wells, and let the user select from this list. Create a copy of the RFT plot, and replace well name in the copy.
2023-11-06 10:10:22 +01:00

50 lines
1.6 KiB
C++

/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2023 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"
#include <QString>
#include <vector>
//==================================================================================================
///
//==================================================================================================
class RicCreateRftPlotsFeatureUi : public caf::PdmObject
{
CAF_PDM_HEADER_INIT;
public:
RicCreateRftPlotsFeatureUi();
void setAllWellNames( const std::vector<QString>& wellNames );
std::vector<QString> selectedWellNames() const;
protected:
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions ) override;
private:
caf::PdmField<std::vector<QString>> m_selectedWellNames;
std::vector<QString> m_allWellNames;
};