mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#6941 Add Grid Statistics plot using QtCharts.
The feature is only enabled if QtCharts is installed.
This commit is contained in:
1 parent
193b1e4826
commit
e9d734f660
14 files changed
+818
-14
No files matched your search
@@ -148,6 +148,10 @@
|
||||
#include "RimWellPltPlot.h"
|
||||
#include "RimWellRftPlot.h"
|
||||
|
||||
#ifdef USE_QTCHARTS
|
||||
#include "RimGridStatisticsPlotCollection.h"
|
||||
#endif
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
|
||||
#include "OctaveScriptCommands/RicExecuteScriptForCasesFeature.h"
|
||||
@@ -623,6 +627,12 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
{
|
||||
menuBuilder << "RicCreateSaturationPressurePlotsFeature";
|
||||
}
|
||||
#ifdef USE_QTCHARTS
|
||||
else if ( dynamic_cast<RimGridStatisticsPlotCollection*>( firstUiItem ) )
|
||||
{
|
||||
menuBuilder << "RicCreateGridStatisticsPlotFeature";
|
||||
}
|
||||
#endif
|
||||
else if ( dynamic_cast<RimGridCrossPlot*>( firstUiItem ) )
|
||||
{
|
||||
menuBuilder << "RicPasteGridCrossPlotDataSetFeature";
|
||||
|
||||
Reference in new issue
Block a user