Commit Graph

15532 Commits

Author SHA1 Message Date
Magne Sjaastad
947de3ffb1 Simplify access to RimMainPlotCollection
* Add current() to RimMainPlotCollection to avoid include of RimProject
* Remove "segment" prefix
* Reload data when RftCase changes
2022-09-15 08:19:41 +02:00
Magne Sjaastad
9f9e29ff8c Remove control flag in setCollapsedByDefault
* Remove control flag in setCollapsedByDefault
* Set regions/annotations collapsed by default
2022-09-15 08:19:41 +02:00
Magne Sjaastad
07f0362298 Add sample count to grid property statistics 2022-09-15 08:19:41 +02:00
Magne Sjaastad
0b74be6c5e Preferences : Set initial selection when selecting plot templates 2022-09-15 08:19:41 +02:00
jonjenssen
3315a369dd Make sure errorbars use the same axis as the data curve (#9212)
* Make sure errorbars use the same axis as the data curve
2022-09-15 08:19:41 +02:00
Magne Sjaastad
30921a158b Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended()
* Janitor: Simplify API
2022-09-15 08:19:41 +02:00
Jon Jenssen
ee116c8f3d Make sure errorbars are shown on project reload 2022-09-15 08:19:41 +02:00
Magne Sjaastad
a268e6ff3a #9210 New Ensemble Curve Set : Missing update in Plots panel 2022-09-15 08:19:41 +02:00
Magne Sjaastad
acaea8de81 Renaming of features 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
f9f49e9f58 #9202 Summary Multi Plot: add option for having the legend inside the plot 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
318f187635 #9202 Well Log Plot: add option for having the legend inside the plot 2022-09-15 08:19:41 +02:00
Magne Sjaastad
df16e1fe5c Add rename case to summary and grid cases (#9204)
* #9203 Summary Case : Add rename to right-click menu
* Janitor: Move ID and description to private fields
* Eclipse Case: Add rename to right-click menu
* Rename feature
2022-09-15 08:19:41 +02:00
Magne Sjaastad
a36c07dd64 Create features to append plots with RFT curves (#9200)
* Add create plot with RFT curve
* Add RFT segment plot with curve
* Create tracks for all three branch types

* Make sure the zero is displayed when adjusted minimum is changing sign
2022-09-15 08:19:41 +02:00
jonjenssen
6a745671d7 Selecting a well path in 3d view can now update selected well path in well log plots 2022-09-15 08:19:41 +02:00
jonjenssen
05e0817074 Make sure toolbar is refreshed when a new plot is added (#9199) 2022-09-15 08:19:41 +02:00
jonjenssen
0dded5a252 Tiny refactor 2022-09-15 08:19:41 +02:00
Magne Sjaastad
4cb26f69c5 RFT: Support device and annulus branches (#9168)
* Add unit test used to read data from WSEGLINK
* Add segment branch type
* Add detection of device branches
* Add data source stepping on branch type
* parse wseglink data
* add RFT case as child of RimFileSummaryCase
2022-09-15 08:19:41 +02:00
Magne Sjaastad
37d6a44b2a #9194 Area Fill : Area filled curves should use zero as base line 2022-09-15 08:19:41 +02:00
jonjenssen
d6ab69a154 Link selection in 3D view with plots (#9195)
* Allow well selections in 3D view to update well selection in summary plots and well log plots
2022-09-15 08:19:41 +02:00
Magne Sjaastad
4b1a6b48a5 Show well completion annotations in horizontal plots (#9193) 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
613ab6279d #9117 Summary/Well Log Plot: fix missing update on legend font size change. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
29cf555b59 Multiplot/WLP: fix missing update of title font size 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
34cdd1f0d7 Well Log Plot: avoid hard-coding depth/value axis 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
d9aa8bd6d2 #9092 WLP: show only axis for first and last track. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
e984e634e7 Well Log Plot: Avoid hard-coded axis (gave incorrect axis labeling). 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
e7ec4818fd #9131 Summary Plot: Show area fill also when line style is 'None'.
Fixes #9131.

Fixed by drawing the line with Qt::NoPen (invisible).
2022-09-15 08:19:41 +02:00
Magne Sjaastad
98df56280e #9183 Do not use undo/redo for GeoMech result definition 2022-09-15 08:19:41 +02:00
Jon Jenssen
806e7672e4 Add default dock window layouts and support hiding dock widgets before running tests. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
c10a5411b6 #9093 MultiPlot: improve axis alignment by resizing scales 2022-09-15 08:19:41 +02:00
Magne Sjaastad
d3330cff90 Avoid setting summaryCaseX, as this will cause issues for RimSummaryPlotNameHelper
In summary plots, we only use summary case for Y-axis
2022-09-15 08:19:41 +02:00
Magne Sjaastad
3fe6022c33 Plot Manager: Activate individual sub plots per data source 2022-09-15 08:19:41 +02:00
Magne Sjaastad
69f7c23ce4 Make sure curve names and plot titles are updated using Plot Editor 2022-09-15 08:19:41 +02:00
jonjenssen
99f17f1818 Get rid of "ghost" windows on startup. (#9171)
* Get rid of "ghost" windows on startup.
Removes hide all docking windows feature for now, to be replaced by a new implementation. Will probably break some tests due to this.
2022-09-15 08:19:41 +02:00
Magne Sjaastad
b5708424e2 Guard pointer before use 2022-09-15 08:19:41 +02:00
jonjenssen
0c7fe7da1a Summary context menu cleanup and fixes (#9165)
* Make summary plot ctx menu items show up for the plot you right-click on, not the one selected in the project tree.
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
97d1b7b36f #9161 QtCharts: Refactor to make QtCharts optional again. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
49bfc62ea7 #9102 Thermal Fracture: handle field units. 2022-09-15 08:19:41 +02:00
Magne Sjaastad
d2d6e61271 Improve annotations to work in both vertical and horizontal plots (#9154)
* Move enums to RiaPlotDefines.h
* Add support for formation names shading in horizontal plots
* Refactor line property code
* modernize code
2022-09-15 08:19:41 +02:00
Magne Sjaastad
0cfdaab720 #9156 Use PdmPointer to avoid dangling pointer in Plot Editor 2022-09-15 08:19:41 +02:00
jonjenssen
3a1fe7d04f Only create and show plot window if we import a summary file. (#9155)
* Only create and show plot window if we import a summary file. If window is already there, no change.
2022-09-15 08:19:41 +02:00
Jon Jenssen
040933b8a9 Make sure project tree is updated on ensemble curve copy/paste 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
d7346c077b janitor: Improve variable name. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
52a2d2d1fc Thermal Fracture Import: fix crash when import fails. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
a377449492 Thermal Fracture Import: Add test for loading non-existing file. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
803b8adc25 #9101 Thermal Fracture Import: detect and refuse inconsistent units.
All values in the file should be in either field or metric units, and mixing is
not allowed.
2022-09-15 08:19:41 +02:00
Jon Jenssen
97888f4f5e Update qtadvanced docking to latest version 2022-09-15 08:19:41 +02:00
Magne Sjaastad
dbc4aef384 Set minimum CMake version to 3.15 to avoid warnings on MSVC
Set CMake version on top level to avoid warnings on MSVC when warning level is set to something else than the default.

https://stackoverflow.com/questions/58708772/cmake-project-in-visual-studio-gives-flag-override-warnings-command-line-warnin
2022-09-15 08:19:41 +02:00
Jon Jenssen
530329aed6 Fix intersection depth filter limit calculations 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
3c835f7eb2 Thermal Fracture Import: handle csv with space between name and unit 2022-09-15 08:19:41 +02:00
Magne Sjaastad
f80fde85ca #9126 Improve plot and curve handling for ensembles
Add append plots and append curves to context menu of ensembles
Make sure we create an unique color when adding multiple ensembles
2022-09-15 08:19:41 +02:00