Commit Graph

801 Commits

Author SHA1 Message Date
Kristian Bendiksen
654116c573 QtChartView: fix missing rubber bands zoom.
Mouse release event was also not properly handled.
2022-02-11 21:06:03 +01:00
Magne Sjaastad
6c92206893
Make curve drawing more robust (#8537)
* Janitor : Improve robustness

* Guard nullptr access

* Limit the curve points to incoming from/to curve point index range

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2022-02-11 13:18:36 +01:00
Kristian Bendiksen
6591de716b #8521 Summary Plot: Allow moving axis to other side of plot. 2022-02-11 10:31:01 +01:00
Magne Sjaastad
3e9d2a0af0 Intersection Python API: Fix typo 2022-02-10 08:06:32 +01:00
Magne Sjaastad
43d890697d Multiaxis: Avoid transformation of the right axis to a left axis 2022-02-09 12:26:42 +01:00
Magne Sjaastad
64bed86f8f
Intersection : Add Python support for triangle and result values (#8505)
#8508 Python : Make sure an empty list will be received as empty list in Python

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2022-02-07 17:38:19 +00:00
Magne Sjaastad
f2b6291a6b Refactor RimSummaryCurvesData 2022-02-07 09:55:11 +01:00
Magne Sjaastad
4ea4479a34 Move code to RimSummaryCurvesData 2022-02-07 09:55:11 +01:00
Magne Sjaastad
ef4eb63bb9 Janitor: Clean up includes 2022-02-07 09:55:11 +01:00
Magne Sjaastad
2b39b95011 Add new axis object the side with least axes 2022-02-07 09:55:11 +01:00
Magne Sjaastad
15797bd739 Preferences : Add flag for default plot type QtCharts or Qwt 2022-02-07 09:55:11 +01:00
Kristian Bendiksen
e92e2e8764 Summary Plot: Add support for multiple plot axis. 2022-02-07 09:55:11 +01:00
jonjenssen
a3ad9d2c1e
Merge pull request #8524 from OPM/tree_filter
Add Project Tree filter support
2022-02-04 15:49:22 +01:00
Magne Sjaastad
358c11264a
Merge pull request #8519 from magnesj/simplify-windows-env
Simplify GitHub Action and support windows-2022
2022-02-04 08:45:38 +01:00
Magne Sjaastad
2c0ebfd14c Make face test robust 2022-02-03 16:30:21 +01:00
Magne Sjaastad
94a541f966 #8513 Use cell face when leaving cell when well path starts inside cell 2022-02-03 16:30:21 +01:00
jonjenssen
35adae926f Add well angles in degrees, not radians. 2022-01-31 15:10:19 +01:00
jonjenssen
66fd79175c
Project Tree updates (#8490)
Split project tree into multiple dockable tree views for plots, keeping one for 3d views.
2022-01-28 13:19:52 +01:00
Magne Sjaastad
ffc77516e8
Summary Import : Support cases with one file per time step (#8493) 2022-01-28 13:18:46 +01:00
Magne Sjaastad
2d2bf0bbc7
CMake : Improve handling of compiler flags (#8486)
#8478 Code cleanup to fix some warnings

Several adjustments to improve the specification and usage of compile flags.
2022-01-26 10:08:28 +01:00
Magne Sjaastad
d5b17976ed
Merge pull request #8459 from OPM/8458-summary-drop-target
Closes #8458
2022-01-21 14:32:51 +01:00
Magne Sjaastad
b0470d38ee #8463 Plotting : Add command line parameter to show 2D main window 2022-01-21 07:48:15 +01:00
Magne Sjaastad
40d59b7bdc Regression Test : Make it possible to override plot engine
Add GUI to override plot engine to either Qwt or QtCharts in regression test dialog
2022-01-20 14:34:34 +01:00
Magne Sjaastad
5ff9f36448
Merge pull request #8461 from OPM/8460-plot-curve-fixes
Guard access to QtCharts objects that might be null
Fix visibility of items in legend based on state in parent plot
2022-01-20 12:52:36 +01:00
Magne Sjaastad
8f75dcb29f #8456 Early reject if no plot is created 2022-01-18 09:20:23 +01:00
Kristian Bendiksen
f996b5383a #8453 Fix crash when changing plot type (QtCharts <-> Qwt). 2022-01-17 16:23:53 +01:00
Kristian Bendiksen
258fbddc10
Merge pull request #8387 from OPM/qtcharts-summary-plots
Closes #8228 

Major refactoring of summary plotting. Now possible to create plots both with Qwt and QtChart as plotting tool.
2022-01-17 13:14:21 +01:00
jonjenssen
d9bb82de91
Merge pull request #8447 from OPM/intersection_filterupdate
Intersection: depth filter updates
2022-01-16 23:56:00 +01:00
jonjenssen
376451da2e Update GUI text for faults 2022-01-14 16:52:41 +01:00
jonjenssen
9d4b7422e8
Show summary data as tree structure in explorer. (#8430)
* Show summary data vectors in project explorer for both summary cases and ensembles.
* Enable Drag to be able to drag'n'drop data vector into future summary plot
* Make sure tree is refreshed on reload/replace operations
* Provide case id and ensemble id in drag/drop object in addition to address
2022-01-13 09:02:07 +01:00
Magne Sjaastad
dc31a731ad Summary Data Source Stepping : Reintroduce stepping for summary plot
Data source stepping for multi plot is work in progress, and have disabled stepping for single summary plots. This commit will make it possible to do source stepping on single summary plots.
2022-01-11 15:15:56 +01:00
Magne Sjaastad
eb02908dc7 Intersection : Support creation of multiple intersections from sim wells 2022-01-10 22:19:22 +01:00
Magne Sjaastad
051bbe6467 Intersection Depth Filter : Add missing geometry update 2022-01-10 21:57:18 +01:00
Magne Sjaastad
457f9653a8 Janitor : Remove hard-coded height 2022-01-10 21:57:18 +01:00
Magne Sjaastad
e203c76099
#8425 Summary Multi Plots: Add grouping on wells, groups, ...
* #8425 Multi Graph : Support grouping on object name
* #8425 Multi Graph : Improve creation of new graphs
* #8425 Multi Graph : Improve default tick mark count
* Handle history and non history as identical headers
* #8425 Multi Graph : Increase space below a graph
2022-01-10 14:51:31 +01:00
Magne Sjaastad
aeb0bf0677 #8416 VFP Plot : Support import of all units (Field, PVT, ..) 2022-01-09 19:22:54 +01:00
Magne Sjaastad
fef0a2b70c Janitor : Remove obsolete includes in header files 2022-01-07 10:38:56 +01:00
Magne Sjaastad
dfd8b9986f Janitor: Make sure the default legend is configured for intersection results 2022-01-07 10:38:56 +01:00
Magne Sjaastad
0cb7a157c9 #8409 NNC : Make sure NNC flow vector directions are stable 2022-01-07 10:38:56 +01:00
Magne Sjaastad
d578771a40 #8411 Flow Cell Results : Set useful default legend 2022-01-07 10:38:56 +01:00
Magne Sjaastad
13425ce0e9 #8410 Color Legend : Add option to center legend around zero 2022-01-07 10:38:56 +01:00
Magne Sjaastad
1e17da2926 Janitor : Add SOIL SGAS SWAT to RiaResultNames
wip
2022-01-07 10:38:56 +01:00
Magne Sjaastad
3d5c3134b2 #8409 Flow Vector Result : Rename to Vector Result 2022-01-07 10:38:56 +01:00
Magne Sjaastad
67993d56e3 #8409 NNC : Make sure user defined legend ranges work 2022-01-07 10:38:56 +01:00
Magne Sjaastad
3c35244809
#8420 Janitor: Remove empty parameters in initialization macros 2022-01-07 08:31:52 +01:00
Magne Sjaastad
7db24e9353 #8405 Source Stepping on multiple graphs
- add copy paste of plots into multi summary plot
- improve data source stepping for multi plot
- improve auto generated plot name, graph name and curve name
Fixes by clang-format

Improve readability
2022-01-06 15:49:20 +01:00
Magne Sjaastad
0fbd668569 #8397 Summary Curve : Add long vector name to auto name for curves 2022-01-06 15:49:20 +01:00
Magne Sjaastad
60873e54f4 Janitor: Always report unit for summary vectors 2022-01-06 15:49:20 +01:00
Magne Sjaastad
442abfea05 Janitor : Guard empty string 2022-01-06 15:49:20 +01:00
Magne Sjaastad
db8209d23a Janitor : Trim unit text for summary vectors 2022-01-06 15:49:20 +01:00