mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-tidy
This commit is contained in:
parent
6421564b77
commit
a44378e2f5
@ -47,7 +47,7 @@ private slots:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
RiaPlotWindowRedrawScheduler() = default;
|
RiaPlotWindowRedrawScheduler() = default;
|
||||||
~RiaPlotWindowRedrawScheduler() = default;
|
~RiaPlotWindowRedrawScheduler() override = default;
|
||||||
|
|
||||||
void startTimer( int msecs );
|
void startTimer( int msecs );
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ class RicMswBranch : public RicMswItem
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RicMswBranch( const QString& label, const RimWellPath* wellPath, double initialMD = 0.0, double initialTVD = 0.0 );
|
RicMswBranch( const QString& label, const RimWellPath* wellPath, double initialMD = 0.0, double initialTVD = 0.0 );
|
||||||
virtual ~RicMswBranch() = default;
|
~RicMswBranch() override = default;
|
||||||
|
|
||||||
void addSegment( std::unique_ptr<RicMswSegment> segment );
|
void addSegment( std::unique_ptr<RicMswSegment> segment );
|
||||||
void insertAfterSegment( const RicMswSegment* insertAfter, std::unique_ptr<RicMswSegment> segment );
|
void insertAfterSegment( const RicMswSegment* insertAfter, std::unique_ptr<RicMswSegment> segment );
|
||||||
|
@ -109,7 +109,7 @@ public:
|
|||||||
double startTVD,
|
double startTVD,
|
||||||
const RimWellPathValve* wellPathValve );
|
const RimWellPathValve* wellPathValve );
|
||||||
|
|
||||||
virtual ~RicMswValve() {}
|
~RicMswValve() override {}
|
||||||
|
|
||||||
const RimWellPathValve* wellPathValve() const;
|
const RimWellPathValve* wellPathValve() const;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <cstdint>
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
@ -768,7 +768,7 @@ namespace farmhashte {
|
|||||||
|
|
||||||
uint64_t Hash64(const char *s, size_t len) {
|
uint64_t Hash64(const char *s, size_t len) {
|
||||||
FARMHASH_DIE_IF_MISCONFIGURED;
|
FARMHASH_DIE_IF_MISCONFIGURED;
|
||||||
return s == NULL ? 0 : len;
|
return s == nullptr ? 0 : len;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t Hash64WithSeed(const char *s, size_t len, uint64_t seed) {
|
uint64_t Hash64WithSeed(const char *s, size_t len, uint64_t seed) {
|
||||||
@ -1000,7 +1000,7 @@ namespace farmhashnt {
|
|||||||
|
|
||||||
uint32_t Hash32(const char *s, size_t len) {
|
uint32_t Hash32(const char *s, size_t len) {
|
||||||
FARMHASH_DIE_IF_MISCONFIGURED;
|
FARMHASH_DIE_IF_MISCONFIGURED;
|
||||||
return s == NULL ? 0 : len;
|
return s == nullptr ? 0 : len;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t Hash32WithSeed(const char *s, size_t len, uint32_t seed) {
|
uint32_t Hash32WithSeed(const char *s, size_t len, uint32_t seed) {
|
||||||
@ -1139,7 +1139,7 @@ namespace farmhashsu {
|
|||||||
|
|
||||||
uint32_t Hash32(const char *s, size_t len) {
|
uint32_t Hash32(const char *s, size_t len) {
|
||||||
FARMHASH_DIE_IF_MISCONFIGURED;
|
FARMHASH_DIE_IF_MISCONFIGURED;
|
||||||
return s == NULL ? 0 : len;
|
return s == nullptr ? 0 : len;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t Hash32WithSeed(const char *s, size_t len, uint32_t seed) {
|
uint32_t Hash32WithSeed(const char *s, size_t len, uint32_t seed) {
|
||||||
@ -1359,7 +1359,7 @@ namespace farmhashsa {
|
|||||||
|
|
||||||
uint32_t Hash32(const char *s, size_t len) {
|
uint32_t Hash32(const char *s, size_t len) {
|
||||||
FARMHASH_DIE_IF_MISCONFIGURED;
|
FARMHASH_DIE_IF_MISCONFIGURED;
|
||||||
return s == NULL ? 0 : len;
|
return s == nullptr ? 0 : len;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t Hash32WithSeed(const char *s, size_t len, uint32_t seed) {
|
uint32_t Hash32WithSeed(const char *s, size_t len, uint32_t seed) {
|
||||||
|
@ -43,10 +43,10 @@
|
|||||||
#ifndef FARM_HASH_H_
|
#ifndef FARM_HASH_H_
|
||||||
#define FARM_HASH_H_
|
#define FARM_HASH_H_
|
||||||
|
|
||||||
#include <assert.h>
|
#include <cassert>
|
||||||
#include <stdint.h>
|
#include <cstdint>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <string.h> // for memcpy and memset
|
#include <cstring> // for memcpy and memset
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#ifndef NAMESPACE_FOR_HASH_FUNCTIONS
|
#ifndef NAMESPACE_FOR_HASH_FUNCTIONS
|
||||||
|
@ -37,7 +37,7 @@ class RicNewMultiPlotFeature : public caf::CmdFeature, public RicfCommandObject
|
|||||||
public:
|
public:
|
||||||
RicNewMultiPlotFeature();
|
RicNewMultiPlotFeature();
|
||||||
|
|
||||||
virtual caf::PdmScriptResponse execute() override;
|
caf::PdmScriptResponse execute() override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Overrides
|
// Overrides
|
||||||
|
@ -61,7 +61,7 @@ class RifOpmCommonEclipseSummary : public RifSummaryReaderInterface
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RifOpmCommonEclipseSummary();
|
RifOpmCommonEclipseSummary();
|
||||||
~RifOpmCommonEclipseSummary();
|
~RifOpmCommonEclipseSummary() override;
|
||||||
|
|
||||||
void useLodsmaryFiles( bool enable );
|
void useLodsmaryFiles( bool enable );
|
||||||
void createLodsmaryFiles( bool enable );
|
void createLodsmaryFiles( bool enable );
|
||||||
|
@ -63,7 +63,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RifReaderFmuRft( const QString& filePath );
|
RifReaderFmuRft( const QString& filePath );
|
||||||
~RifReaderFmuRft() = default;
|
~RifReaderFmuRft() override = default;
|
||||||
|
|
||||||
static QStringList findSubDirectoriesWithFmuRftData( const QString& filePath );
|
static QStringList findSubDirectoriesWithFmuRftData( const QString& filePath );
|
||||||
static bool directoryContainsFmuRftData( const QString& filePath );
|
static bool directoryContainsFmuRftData( const QString& filePath );
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
|
|
||||||
#include "RigFemResultPosEnum.h"
|
#include "RigFemResultPosEnum.h"
|
||||||
#include "RigFemTypes.h"
|
#include "RigFemTypes.h"
|
||||||
|
@ -35,7 +35,7 @@ public:
|
|||||||
RigFemPartResultCalculatorBarConverted( RigFemPartResultsCollection& collection,
|
RigFemPartResultCalculatorBarConverted( RigFemPartResultsCollection& collection,
|
||||||
const std::string& fieldName,
|
const std::string& fieldName,
|
||||||
const std::string& fieldNameToConvert );
|
const std::string& fieldNameToConvert );
|
||||||
virtual ~RigFemPartResultCalculatorBarConverted();
|
~RigFemPartResultCalculatorBarConverted() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorCompaction : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorCompaction( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorCompaction( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorCompaction();
|
~RigFemPartResultCalculatorCompaction() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorDSM : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorDSM( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorDSM( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorDSM();
|
~RigFemPartResultCalculatorDSM() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorED : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorED( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorED( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorED();
|
~RigFemPartResultCalculatorED() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorEV : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorEV( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorEV( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorEV();
|
~RigFemPartResultCalculatorEV() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorEnIpPorBar : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorEnIpPorBar( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorEnIpPorBar( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorEnIpPorBar();
|
~RigFemPartResultCalculatorEnIpPorBar() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorFOS : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorFOS( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorFOS( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorFOS();
|
~RigFemPartResultCalculatorFOS() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorFormationIndices : public RigFemPartResultCalcul
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorFormationIndices( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorFormationIndices( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorFormationIndices();
|
~RigFemPartResultCalculatorFormationIndices() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -37,7 +37,7 @@ class RigFemPartResultCalculatorGamma : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorGamma( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorGamma( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorGamma();
|
~RigFemPartResultCalculatorGamma() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorInitialPorosity : public RigFemPartResultCalcula
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorInitialPorosity( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorInitialPorosity( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorInitialPorosity();
|
~RigFemPartResultCalculatorInitialPorosity() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -37,7 +37,7 @@ class RigFemPartResultCalculatorMudWeightWindow : public RigFemPartResultCalcula
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorMudWeightWindow( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorMudWeightWindow( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorMudWeightWindow();
|
~RigFemPartResultCalculatorMudWeightWindow() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorNE : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorNE( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorNE( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorNE();
|
~RigFemPartResultCalculatorNE() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorNodalGradients : public RigFemPartResultCalculat
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorNodalGradients( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorNodalGradients( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorNodalGradients();
|
~RigFemPartResultCalculatorNodalGradients() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorNormalSE : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorNormalSE( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorNormalSE( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorNormalSE();
|
~RigFemPartResultCalculatorNormalSE() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorNormalST : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorNormalST( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorNormalST( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorNormalST();
|
~RigFemPartResultCalculatorNormalST() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorNormalized : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorNormalized( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorNormalized( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorNormalized();
|
~RigFemPartResultCalculatorNormalized() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorPoreCompressibility : public RigFemPartResultCal
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorPoreCompressibility( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorPoreCompressibility( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorPoreCompressibility();
|
~RigFemPartResultCalculatorPoreCompressibility() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorPorosityPermeability : public RigFemPartResultCa
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorPorosityPermeability( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorPorosityPermeability( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorPorosityPermeability();
|
~RigFemPartResultCalculatorPorosityPermeability() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorPrincipalStrain : public RigFemPartResultCalcula
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorPrincipalStrain( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorPrincipalStrain( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorPrincipalStrain();
|
~RigFemPartResultCalculatorPrincipalStrain() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorPrincipalStress : public RigFemPartResultCalcula
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorPrincipalStress( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorPrincipalStress( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorPrincipalStress();
|
~RigFemPartResultCalculatorPrincipalStress() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorQ : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorQ( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorQ( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorQ();
|
~RigFemPartResultCalculatorQ() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorSFI : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorSFI( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorSFI( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorSFI();
|
~RigFemPartResultCalculatorSFI() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorSM : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorSM( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorSM( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorSM();
|
~RigFemPartResultCalculatorSM() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorShearSE : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorShearSE( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorShearSE( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorShearSE();
|
~RigFemPartResultCalculatorShearSE() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorShearST : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorShearST( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorShearST( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorShearST();
|
~RigFemPartResultCalculatorShearST() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorShearSlipIndicator : public RigFemPartResultCalc
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorShearSlipIndicator( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorShearSlipIndicator( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorShearSlipIndicator();
|
~RigFemPartResultCalculatorShearSlipIndicator() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorStressAnisotropy : public RigFemPartResultCalcul
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorStressAnisotropy( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorStressAnisotropy( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorStressAnisotropy();
|
~RigFemPartResultCalculatorStressAnisotropy() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
RigFemScalarResultFrames* calculateTimeLapse( int partIndex, const RigFemResultAddress& resVarAddr );
|
RigFemScalarResultFrames* calculateTimeLapse( int partIndex, const RigFemResultAddress& resVarAddr );
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorStressGradients : public RigFemPartResultCalcula
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorStressGradients( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorStressGradients( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorStressGradients();
|
~RigFemPartResultCalculatorStressGradients() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorSurfaceAlignedStress : public RigFemPartResultCa
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorSurfaceAlignedStress( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorSurfaceAlignedStress( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorSurfaceAlignedStress();
|
~RigFemPartResultCalculatorSurfaceAlignedStress() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorSurfaceAngles : public RigFemPartResultCalculato
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorSurfaceAngles( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorSurfaceAngles( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorSurfaceAngles();
|
~RigFemPartResultCalculatorSurfaceAngles() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
};
|
};
|
||||||
|
@ -31,7 +31,7 @@ class RigFemPartResultCalculatorTimeLapse : public RigFemPartResultCalculator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit RigFemPartResultCalculatorTimeLapse( RigFemPartResultsCollection& collection );
|
explicit RigFemPartResultCalculatorTimeLapse( RigFemPartResultsCollection& collection );
|
||||||
virtual ~RigFemPartResultCalculatorTimeLapse();
|
~RigFemPartResultCalculatorTimeLapse() override;
|
||||||
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
bool isMatching( const RigFemResultAddress& resVarAddr ) const override;
|
||||||
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
RigFemScalarResultFrames* calculate( int partIndex, const RigFemResultAddress& resVarAddr ) override;
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ protected:
|
|||||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||||
caf::PdmFieldHandle* userDescriptionField() override;
|
caf::PdmFieldHandle* userDescriptionField() override;
|
||||||
caf::PdmFieldHandle* objectToggleField() override;
|
caf::PdmFieldHandle* objectToggleField() override;
|
||||||
virtual void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
||||||
QString uiConfigName,
|
QString uiConfigName,
|
||||||
caf::PdmUiEditorAttribute* attribute ) override;
|
caf::PdmUiEditorAttribute* attribute ) override;
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ protected:
|
|||||||
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
||||||
QString uiConfigName,
|
QString uiConfigName,
|
||||||
caf::PdmUiEditorAttribute* attribute ) override;
|
caf::PdmUiEditorAttribute* attribute ) override;
|
||||||
void initAfterRead();
|
void initAfterRead() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
cvf::Vec3d fracturePositionForUi() const;
|
cvf::Vec3d fracturePositionForUi() const;
|
||||||
|
@ -59,7 +59,7 @@ class RimGridCrossPlot : public RimPlot, public RimNameConfigHolderInterface
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RimGridCrossPlot();
|
RimGridCrossPlot();
|
||||||
~RimGridCrossPlot();
|
~RimGridCrossPlot() override;
|
||||||
|
|
||||||
QString description() const override;
|
QString description() const override;
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RimGridCrossPlotDataSet();
|
RimGridCrossPlotDataSet();
|
||||||
~RimGridCrossPlotDataSet();
|
~RimGridCrossPlotDataSet() override;
|
||||||
|
|
||||||
void setCellFilterView( RimGridView* cellFilterView );
|
void setCellFilterView( RimGridView* cellFilterView );
|
||||||
void loadDataAndUpdate( bool updateParentPlot );
|
void loadDataAndUpdate( bool updateParentPlot );
|
||||||
|
@ -99,7 +99,7 @@ protected:
|
|||||||
|
|
||||||
bool hasResults();
|
bool hasResults();
|
||||||
|
|
||||||
virtual size_t onTimeStepCountRequested() override;
|
size_t onTimeStepCountRequested() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString createAutoName() const override;
|
QString createAutoName() const override;
|
||||||
|
@ -79,7 +79,7 @@ public:
|
|||||||
void setToDefaultSizeSlice( SinglePlaneState plane, const cvf::Vec3d& position );
|
void setToDefaultSizeSlice( SinglePlaneState plane, const cvf::Vec3d& position );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
caf::PdmFieldHandle* userDescriptionField() override final;
|
caf::PdmFieldHandle* userDescriptionField() final;
|
||||||
|
|
||||||
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
||||||
QString uiConfigName,
|
QString uiConfigName,
|
||||||
|
@ -109,7 +109,7 @@ public:
|
|||||||
void rebuildGeometryAndScheduleCreateDisplayModel();
|
void rebuildGeometryAndScheduleCreateDisplayModel();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
caf::PdmFieldHandle* userDescriptionField() override final;
|
caf::PdmFieldHandle* userDescriptionField() final;
|
||||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||||
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
||||||
|
@ -51,7 +51,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||||
|
|
||||||
virtual void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "" ) override;
|
void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "" ) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void updateUiTreeName();
|
void updateUiTreeName();
|
||||||
|
@ -48,7 +48,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
virtual RimIntersectionResultsDefinitionCollection* findSeparateResultsCollection();
|
virtual RimIntersectionResultsDefinitionCollection* findSeparateResultsCollection();
|
||||||
|
|
||||||
caf::PdmFieldHandle* objectToggleField() override final;
|
caf::PdmFieldHandle* objectToggleField() final;
|
||||||
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
||||||
bool* useOptionsOnly ) override;
|
bool* useOptionsOnly ) override;
|
||||||
|
|
||||||
|
@ -61,18 +61,18 @@ public:
|
|||||||
void update2dIntersectionViews();
|
void update2dIntersectionViews();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual caf::PdmFieldHandle* userDescriptionField() override;
|
caf::PdmFieldHandle* userDescriptionField() override;
|
||||||
virtual caf::PdmFieldHandle* objectToggleField() override;
|
caf::PdmFieldHandle* objectToggleField() override;
|
||||||
|
|
||||||
virtual void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||||
const QVariant& oldValue,
|
const QVariant& oldValue,
|
||||||
const QVariant& newValue ) override;
|
const QVariant& newValue ) override;
|
||||||
|
|
||||||
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
||||||
bool* useOptionsOnly ) override;
|
bool* useOptionsOnly ) override;
|
||||||
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||||
virtual void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "" ) override;
|
void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "" ) override;
|
||||||
virtual void initAfterRead() override;
|
void initAfterRead() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void assignCaseIfMissing() const;
|
void assignCaseIfMissing() const;
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
caf::PdmFieldHandle* objectToggleField() override;
|
caf::PdmFieldHandle* objectToggleField() override;
|
||||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||||
virtual void initAfterRead() override;
|
void initAfterRead() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
caf::PdmField<bool> m_isActive;
|
caf::PdmField<bool> m_isActive;
|
||||||
|
@ -51,7 +51,7 @@ public:
|
|||||||
virtual const caf::TitledOverlayFrame* titledOverlayFrame() const = 0;
|
virtual const caf::TitledOverlayFrame* titledOverlayFrame() const = 0;
|
||||||
virtual caf::TitledOverlayFrame* titledOverlayFrame() = 0;
|
virtual caf::TitledOverlayFrame* titledOverlayFrame() = 0;
|
||||||
|
|
||||||
virtual int fontSize() const override;
|
int fontSize() const override;
|
||||||
|
|
||||||
void recreateLegend();
|
void recreateLegend();
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RimPlot();
|
RimPlot();
|
||||||
virtual ~RimPlot();
|
~RimPlot() override;
|
||||||
|
|
||||||
QWidget* createPlotWidget( QWidget* parent = nullptr );
|
QWidget* createPlotWidget( QWidget* parent = nullptr );
|
||||||
RowOrColSpan rowSpan() const;
|
RowOrColSpan rowSpan() const;
|
||||||
@ -110,7 +110,7 @@ protected:
|
|||||||
void updateFonts() override;
|
void updateFonts() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual void doRenderWindowContent( QPaintDevice* paintDevice ) override;
|
void doRenderWindowContent( QPaintDevice* paintDevice ) override;
|
||||||
virtual void handleKeyPressEvent( QKeyEvent* event ) {}
|
virtual void handleKeyPressEvent( QKeyEvent* event ) {}
|
||||||
virtual void handleWheelEvent( QWheelEvent* event ) {}
|
virtual void handleWheelEvent( QWheelEvent* event ) {}
|
||||||
virtual RiuQwtPlotWidget* doCreatePlotViewWidget( QWidget* parent ) = 0;
|
virtual RiuQwtPlotWidget* doCreatePlotViewWidget( QWidget* parent ) = 0;
|
||||||
|
@ -56,7 +56,7 @@ public:
|
|||||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
caf::PdmField<bool> m_isActive;
|
caf::PdmField<bool> m_isActive;
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
~RimVfpPlotCollection() override;
|
~RimVfpPlotCollection() override;
|
||||||
|
|
||||||
void addPlot( RimVfpPlot* newPlot );
|
void addPlot( RimVfpPlot* newPlot );
|
||||||
std::vector<RimVfpPlot*> plots() const;
|
std::vector<RimVfpPlot*> plots() const override;
|
||||||
void deleteAllChildObjects();
|
void deleteAllChildObjects();
|
||||||
|
|
||||||
size_t plotCount() const final;
|
size_t plotCount() const final;
|
||||||
|
@ -103,7 +103,7 @@ protected:
|
|||||||
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
||||||
bool* useOptionsOnly ) override;
|
bool* useOptionsOnly ) override;
|
||||||
|
|
||||||
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static QString displayNameForView( RimGridView* view );
|
static QString displayNameForView( RimGridView* view );
|
||||||
|
@ -58,7 +58,7 @@ public:
|
|||||||
|
|
||||||
caf::PdmField<ParameterSourceEnum>* sourceField( const RigWbsParameter& parameter ) const;
|
caf::PdmField<ParameterSourceEnum>* sourceField( const RigWbsParameter& parameter ) const;
|
||||||
|
|
||||||
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
||||||
bool* useOptionsOnly ) override;
|
bool* useOptionsOnly ) override;
|
||||||
|
|
||||||
void loadDataAndUpdate();
|
void loadDataAndUpdate();
|
||||||
|
@ -95,7 +95,7 @@ protected:
|
|||||||
QString uiConfigName,
|
QString uiConfigName,
|
||||||
caf::PdmUiEditorAttribute* attribute ) override;
|
caf::PdmUiEditorAttribute* attribute ) override;
|
||||||
|
|
||||||
virtual void defineObjectEditorAttribute( QString uiConfigName, caf::PdmUiEditorAttribute* attribute ) override;
|
void defineObjectEditorAttribute( QString uiConfigName, caf::PdmUiEditorAttribute* attribute ) override;
|
||||||
|
|
||||||
void onTargetMoved( const caf::SignalEmitter* emitter, bool fullUpdate );
|
void onTargetMoved( const caf::SignalEmitter* emitter, bool fullUpdate );
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ protected:
|
|||||||
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
||||||
QString uiConfigName,
|
QString uiConfigName,
|
||||||
caf::PdmUiEditorAttribute* attribute ) override;
|
caf::PdmUiEditorAttribute* attribute ) override;
|
||||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering );
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||||
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
||||||
bool* useOptionsOnly ) override;
|
bool* useOptionsOnly ) override;
|
||||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||||
|
@ -31,5 +31,5 @@ class RimSummaryCrossPlot : public RimSummaryPlot
|
|||||||
public:
|
public:
|
||||||
RimSummaryCrossPlot();
|
RimSummaryCrossPlot();
|
||||||
|
|
||||||
virtual RimSummaryPlotSourceStepping* sourceSteppingObjectForKeyEventHandling() const override;
|
RimSummaryPlotSourceStepping* sourceSteppingObjectForKeyEventHandling() const override;
|
||||||
};
|
};
|
||||||
|
@ -59,14 +59,14 @@ public:
|
|||||||
void updateLegendRangesTextAndVisibility( RiuViewer* nativeOrOverrideViewer, bool isUsingOverrideViewer );
|
void updateLegendRangesTextAndVisibility( RiuViewer* nativeOrOverrideViewer, bool isUsingOverrideViewer );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void initAfterRead() override;
|
void initAfterRead() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual RimIntersectionResultsDefinitionCollection* findSeparateResultsCollection() override;
|
RimIntersectionResultsDefinitionCollection* findSeparateResultsCollection() override;
|
||||||
|
|
||||||
caf::PdmFieldHandle* userDescriptionField() override;
|
caf::PdmFieldHandle* userDescriptionField() override;
|
||||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||||
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||||
|
|
||||||
caf::PdmProxyValueField<QString> m_name;
|
caf::PdmProxyValueField<QString> m_name;
|
||||||
caf::PdmPtrField<RimSurface*> m_surface;
|
caf::PdmPtrField<RimSurface*> m_surface;
|
||||||
|
@ -65,7 +65,7 @@ public:
|
|||||||
std::vector<RimRegularLegendConfig*> legendConfigs();
|
std::vector<RimRegularLegendConfig*> legendConfigs();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void initAfterRead() override;
|
void initAfterRead() override;
|
||||||
caf::PdmFieldHandle* userDescriptionField() override;
|
caf::PdmFieldHandle* userDescriptionField() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -51,8 +51,8 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||||
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||||
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions,
|
||||||
bool* useOptionsOnly ) override;
|
bool* useOptionsOnly ) override;
|
||||||
|
|
||||||
RigSurface* surfaceData();
|
RigSurface* surfaceData();
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
RigWellPath( const std::vector<cvf::Vec3d>& wellPathPoints, const std::vector<double>& measuredDepths );
|
RigWellPath( const std::vector<cvf::Vec3d>& wellPathPoints, const std::vector<double>& measuredDepths );
|
||||||
RigWellPath( const RigWellPath& rhs );
|
RigWellPath( const RigWellPath& rhs );
|
||||||
RigWellPath& operator=( const RigWellPath& rhs );
|
RigWellPath& operator=( const RigWellPath& rhs );
|
||||||
~RigWellPath();
|
~RigWellPath() override;
|
||||||
|
|
||||||
const std::vector<cvf::Vec3d>& wellPathPoints() const;
|
const std::vector<cvf::Vec3d>& wellPathPoints() const;
|
||||||
const std::vector<double>& measuredDepths() const;
|
const std::vector<double>& measuredDepths() const;
|
||||||
|
@ -28,7 +28,7 @@ class RiuAbstractOverlayContentFrame : public QFrame
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
RiuAbstractOverlayContentFrame( QWidget* parent = nullptr );
|
RiuAbstractOverlayContentFrame( QWidget* parent = nullptr );
|
||||||
~RiuAbstractOverlayContentFrame();
|
~RiuAbstractOverlayContentFrame() override;
|
||||||
|
|
||||||
virtual void renderTo( QPainter* painter, const QRect& targetRect ) = 0;
|
virtual void renderTo( QPainter* painter, const QRect& targetRect ) = 0;
|
||||||
};
|
};
|
||||||
|
@ -37,7 +37,7 @@ class RiuCategoryLegendFrame : public RiuAbstractLegendFrame
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RiuCategoryLegendFrame( QWidget* parent, const QString& title, caf::CategoryMapper* categoryMapper );
|
RiuCategoryLegendFrame( QWidget* parent, const QString& title, caf::CategoryMapper* categoryMapper );
|
||||||
~RiuCategoryLegendFrame();
|
~RiuCategoryLegendFrame() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void layoutInfo( LayoutInfo* layout ) const override;
|
void layoutInfo( LayoutInfo* layout ) const override;
|
||||||
|
@ -52,7 +52,7 @@ class RiuGridCrossQwtPlot : public RiuQwtPlotWidget
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RiuGridCrossQwtPlot( RimGridCrossPlot* crossPlot, QWidget* parent = nullptr );
|
RiuGridCrossQwtPlot( RimGridCrossPlot* crossPlot, QWidget* parent = nullptr );
|
||||||
~RiuGridCrossQwtPlot();
|
~RiuGridCrossQwtPlot() override;
|
||||||
|
|
||||||
RiuGridCrossQwtPlot( const RiuGridCrossQwtPlot& ) = delete;
|
RiuGridCrossQwtPlot( const RiuGridCrossQwtPlot& ) = delete;
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ class RiuMainWindow : public RiuMainWindowBase
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RiuMainWindow();
|
RiuMainWindow();
|
||||||
~RiuMainWindow();
|
~RiuMainWindow() override;
|
||||||
|
|
||||||
static RiuMainWindow* instance();
|
static RiuMainWindow* instance();
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ protected:
|
|||||||
|
|
||||||
std::pair<int, int> rowAndColumnCount( int plotWidgetCount ) const;
|
std::pair<int, int> rowAndColumnCount( int plotWidgetCount ) const;
|
||||||
|
|
||||||
virtual void onSelectionManagerSelectionChanged( const std::set<int>& changedSelectionLevels ) override;
|
void onSelectionManagerSelectionChanged( const std::set<int>& changedSelectionLevels ) override;
|
||||||
|
|
||||||
virtual bool showYAxis( int row, int column ) const;
|
virtual bool showYAxis( int row, int column ) const;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class RiuPlotMainWindow : public RiuMainWindowBase
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RiuPlotMainWindow();
|
RiuPlotMainWindow();
|
||||||
~RiuPlotMainWindow();
|
~RiuPlotMainWindow() override;
|
||||||
|
|
||||||
QString mainWindowName() override;
|
QString mainWindowName() override;
|
||||||
|
|
||||||
|
@ -27,5 +27,5 @@ public:
|
|||||||
QssSyntaxHighligter( QTextDocument* parent );
|
QssSyntaxHighligter( QTextDocument* parent );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void highlightBlock( const QString& text );
|
void highlightBlock( const QString& text ) override;
|
||||||
};
|
};
|
||||||
|
@ -33,7 +33,7 @@ class RiuQtChartView : public QtCharts::QChartView, public RiuInterfaceToViewWin
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RiuQtChartView( RimPlotWindow* plotWindow, QWidget* parent = nullptr );
|
RiuQtChartView( RimPlotWindow* plotWindow, QWidget* parent = nullptr );
|
||||||
virtual ~RiuQtChartView();
|
~RiuQtChartView() override;
|
||||||
|
|
||||||
RimViewWindow* ownerViewWindow() const override;
|
RimViewWindow* ownerViewWindow() const override;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RiuScalarMapperLegendFrame( QWidget* parent, const QString& title, cvf::ScalarMapper* scalarMapper );
|
RiuScalarMapperLegendFrame( QWidget* parent, const QString& title, cvf::ScalarMapper* scalarMapper );
|
||||||
~RiuScalarMapperLegendFrame();
|
~RiuScalarMapperLegendFrame() override;
|
||||||
|
|
||||||
void setTickPrecision( int precision );
|
void setTickPrecision( int precision );
|
||||||
void setTickFormat( NumberFormat format );
|
void setTickFormat( NumberFormat format );
|
||||||
|
@ -26,7 +26,7 @@ class TextEditWithCompletion : public QTextEdit
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
TextEditWithCompletion( QWidget* parent = nullptr );
|
TextEditWithCompletion( QWidget* parent = nullptr );
|
||||||
~TextEditWithCompletion();
|
~TextEditWithCompletion() override;
|
||||||
|
|
||||||
void setCompleter( QCompleter* completer );
|
void setCompleter( QCompleter* completer );
|
||||||
QCompleter* completer();
|
QCompleter* completer();
|
||||||
|
Loading…
Reference in New Issue
Block a user