mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-02 09:00:14 -06:00
Move number formatting setting to CAF to enable use in UI editors
* Move RiaNumberFormat to cafPdmUiNumberFormat in caf framework * Add unit test
This commit is contained in:
1 parent
6cdcc4493a
commit
9aa5a3d222
26 files changed
+481
-197
No files matched your search
@@ -20,9 +20,10 @@
|
||||
|
||||
#include "RiaDefines.h"
|
||||
|
||||
#include "RiaNumberFormat.h"
|
||||
#include "RigHistogramData.h"
|
||||
|
||||
#include "cafPdmUiNumberFormat.h"
|
||||
|
||||
#include "cvfObject.h"
|
||||
|
||||
#include <functional>
|
||||
@@ -64,7 +65,7 @@ public:
|
||||
|
||||
static std::vector<RigEnsembleFractureStatisticsCalculator::PropertyType> propertyTypes();
|
||||
|
||||
static std::pair<RiaNumberFormat::NumberFormatType, int> numberFormatForProperty( PropertyType propertyType );
|
||||
static std::pair<caf::NumberFormatType, int> numberFormatForProperty( PropertyType propertyType );
|
||||
|
||||
private:
|
||||
static std::vector<double> calculateGridStatistics( const std::vector<cvf::ref<RigStimPlanFractureDefinition>>& fractureDefinitions,
|
||||
|
||||
Reference in new issue
Block a user