jonjenssen
886f5e3295
Move duplicate button to the right of the multiplot toolbar
2022-05-20 16:47:44 +02:00
jonjenssen
7c25677d18
Add support for appending curves for summary case and ensemble by stepping
2022-05-20 16:29:26 +02:00
Kristian Bendiksen
954b697e6b
#8817 Summary Multiplot: Add filter to control plot visibility
2022-05-20 15:56:43 +02:00
Magne Sjaastad
119367783b
Fix memory leak for data source ensemble summary ( #8919 )
...
* Do not create summary case group twice
* Fix memory leak of objects contained in childArrayFields
Use deleteAllChildObjects to delete objects instead of clear()
Rename collection function clear() -> deleteAllChildObjects
* Early exit for empty path
* Reduce redundant calls to refreshMetaData
2022-05-19 11:51:22 +02:00
jonjenssen
3b927e1c09
Split summary plot into multiple plots ( #8910 )
...
* Support splitting a summary plot with multiple curves into a new multiplot with one plot per curve
* Make sure the correct plot is deleted if using the plot context menu.
2022-05-13 16:36:30 +02:00
jonjenssen
6f26f8e462
Speed up summary case close/delete for ensembles ( #8907 )
...
* Speed up summary case close/delete for ensembles
2022-05-12 22:51:15 +02:00
jonjenssen
65827f9c1c
Improve summary case import performance ( #8897 )
...
* Improve summary case import performance
2022-05-11 10:47:12 +02:00
Magne Sjaastad
f52acd9a64
#8893 Rename quantity name -> vector name
2022-05-10 08:17:41 +02:00
Magne Sjaastad
6f1819ba96
MultiPlot: Reorder top level UI
...
Set Auto Adjust Appearance to default value true
2022-05-10 08:17:41 +02:00
Kristian Bendiksen
4304bbbc48
Grid Calculator: refactor summary curve calculator and add grid calculator.
2022-05-09 15:36:27 +02:00
Magne Sjaastad
74ace7ea44
Summary Multi Plot : Improve default behaviour ( #8885 )
...
* Summary Multi Plot : Improve default behaviour
- Perform zoom when stepping to next item
- Set defaults for range aggregation and source stepping dimension based on content when creating a multi summary plot
* Plot Axis Appearance : Do not use bold for text configuration
* Improve how scale factor for legend values are computed
* Improve defaults for range aggregation and step dimension
* Reorder Capability : Get UI item before reordering is issued
Get UI item before reordering is issued, as this operation will invalidate the tree model
2022-05-06 12:09:55 +02:00
jonjenssen
296ddbde42
Merge pull request #8882 from OPM/append_curves
...
Summary Multiplot: Source Stepping append curves with performance fixes
2022-05-04 13:11:04 +02:00
Magne Sjaastad
bb6ca0848d
#8859 Add drop target for calculation variables
2022-05-04 09:10:32 +02:00
Jon Jenssen
2c1ef661b0
Avoid regenerating viewer pages when just stepping curves in plots
2022-05-03 16:31:30 +02:00
jonjenssen
d3ce7a2096
Add support for all summary data types in data sources tree ( #8873 )
...
* Add support for all summary data types in data sources tree
* Use item icons for folders.
2022-05-03 16:29:55 +02:00
jonjenssen
3de8010c2b
Source stepping and toolbar updates ( #8866 )
...
* Move layout options to separate toolbar
* Enable stepping on quantities, remove special history curve stepping for now
* Allow stepping ensembles and cases
* Add step next/prev and add new sub plot
2022-05-03 11:30:09 +02:00
Magne Sjaastad
46173af8c3
Merge pull request #8865 from OPM/8863-summary-issues
2022-05-03 08:51:26 +02:00
Magne Sjaastad
64bed1d611
Summary Multi Plot: Minor adjustments ( #8856 )
...
Remove obsolete single summary template code
Always use maximized state of the QMdiSubWindow when a plot or view is deleted.
Move time axis to top
Set correct text for unused axis
Avoid assert when layout is requested for non existing legend
2022-04-29 15:31:07 +02:00
Magne Sjaastad
f54399960d
Improve drag and drop features and right click commands ( #8854 )
2022-04-29 12:28:09 +02:00
Magne Sjaastad
b030e617c6
#8849 Data Sources : Add append curves to plot based on selection
2022-04-28 12:20:15 +02:00
jonjenssen
5d9f7b165c
More summary data types in data source tree ( #8840 )
...
* Add support for block data in data sources tree
* Add option to show summary data sub-tree for single realizations inside an ensemble
2022-04-27 01:51:55 +02:00
Magne Sjaastad
774538868a
#8844 Summary Multi Plot : Optional auto appearance settings
2022-04-26 15:05:00 +02:00
Magne Sjaastad
386ba1cbac
Use plot axis as key to compute range values from sub plots
2022-04-26 15:05:00 +02:00
Magne Sjaastad
cb8b18222e
#8827 Avoid UI updates during delete of a sub plot
2022-04-26 13:01:31 +02:00
jonjenssen
0f5d949af0
Merge pull request #8838 from OPM/datasource_steppingtoolbar
...
Add simplified data source stepping control in toolbar
2022-04-26 12:08:22 +02:00
Magne Sjaastad
853b4a26d5
#8822 Summary Axis: Add tick mark count to y-axis
2022-04-22 23:14:48 +02:00
Kristian Bendiksen
73f5c793e8
Merge pull request #8828 from OPM/summary-axis-cleanup
...
Combine Link axis range with axis range aggregation. Zoom All will now respect the different axis range aggregation method.
2022-04-22 22:16:36 +02:00
Magne Sjaastad
1840a95810
Preferences: Move colorCurvesByPhase and hide Qt Charts settings
2022-04-22 08:08:06 +02:00
Magne Sjaastad
caaca138c0
Curve Colors : Add support for color assignment based on summary phase (oil, gas or water)
2022-04-20 14:29:40 +02:00
Kristian Bendiksen
3a461473d0
#8767 Multi Plot: Add support for computing range for a summary curve across all realization, regions or wells.
2022-04-20 14:00:21 +02:00
jonjenssen
db3395da44
Fix Summary Multiplot subplot colspan issue ( #8805 )
...
Fix colspan bug for summary multiplots
2022-04-19 12:34:40 +02:00
Magne Sjaastad
a6eda226f4
#8813 Regression Test : Fix crash in regression tests
2022-04-19 09:52:34 +02:00
Magne Sjaastad
30aaadb58c
#8798 Summary Curve Selection : Always show ensemble realizations cases
2022-04-08 13:22:42 +02:00
Magne Sjaastad
8cdef0d861
#8782 Summary Plot: drag'n'drop data vector issue
...
Duplicate only matching vectors
More rename for Group
2022-04-08 13:22:29 +02:00
Magne Sjaastad
93614ef272
Merge pull request #8791 from OPM/8790-rename-to-group
...
Rename summary references to "Group"
2022-04-07 21:06:40 +02:00
Magne Sjaastad
f099a8c89f
#8779 Summary Multi Plot : Add flag to control visibility of axis number values
...
Useful for making plots anonymized
2022-04-07 17:49:07 +02:00
Magne Sjaastad
a0507c85f4
#8779 Summary Multi Plot : Sync time axis properties across sub plots
2022-04-07 17:49:07 +02:00
Magne Sjaastad
6ecb1a8ea0
#8779 Summary Multi Plot : Rearrange property editor
...
Compute common range for all sub plots when activating sync of sub plot axes
2022-04-07 17:49:07 +02:00
jonjenssen
d156160daf
Summary Multiplot: sync plot selection in tree with view ( #8788 )
...
* Make sure the subplot selected in the tree is shown in the multiplot viewer.
* Clean up multiplot toolbar handling a bit
* Remove old summary plot toolbar.
2022-04-07 16:24:27 +02:00
jonjenssen
3590c52cdc
Deprecate single summary plots and plot collections. ( #8777 )
...
* Deprecate single summary plots and plot collections. Replace functionality using summary multi plots. Clean up some code. Fix crash when trying to normalize an empty curve
2022-04-06 17:39:07 +02:00
Magne Sjaastad
9bbc709157
#8773 Source Stepping : Show data source stepping on summary multiplot
2022-04-06 10:05:43 +02:00
Magne Sjaastad
6417daf167
#8773 Source Stepping : Realization cases are missing in some cases
2022-04-06 10:05:43 +02:00
Magne Sjaastad
22673c1073
Summary Multiplot: Add icon and update text
...
minor adjustments
2022-04-06 10:05:43 +02:00
Kristian Bendiksen
45d28de6d3
#8768 Multi Plot: Add option to sync all sub plots axis properties.
2022-04-06 09:03:53 +02:00
Magne Sjaastad
ca61e9f9a8
Multi Axis: Make sure widget axis is created during assignment of plot axis
2022-04-04 14:44:29 +02:00
Kristian Bendiksen
11060078d8
RiuQwtPlotWidget: fix actions on selection of axis.
2022-04-04 12:10:20 +02:00
Kristian Bendiksen
288269fad7
Multiaxis: Use correct mapping from PlotAxis to QwtAxisId.
2022-04-04 12:10:20 +02:00
Kristian Bendiksen
395541ebe0
Summary Plot: Make the general plot options expanded by default.
2022-04-04 12:10:20 +02:00
Kristian Bendiksen
32ec472829
Multiaxis plot: fix moving axis from other side
2022-04-04 12:10:20 +02:00
Magne Sjaastad
dde0487024
Multiaxis: add support for Qwt multiaxis plot
2022-04-04 12:10:20 +02:00
jonjenssen
22d6e3f853
Merge pull request #8765 from OPM/summarymultiplot_performance2
...
Summary Multiplot performance improvements and fixes
2022-04-01 19:23:27 +02:00
Magne Sjaastad
46a8bd58b2
#8761 Multiplot template support
2022-04-01 12:04:46 +00:00
Magne Sjaastad
b822996fc3
FIx regression blocking drag and drop of well names into existing plots
2022-03-31 14:43:56 +02:00
Magne Sjaastad
15f17234c8
#8747 MultiPlot : Duplicate and append plots for selected objects
2022-03-31 14:04:33 +02:00
jonjenssen
28dcd47d73
Hide summary multiplot tree node if only one summary plot
2022-03-31 13:03:03 +02:00
jonjenssen
f41c772f03
Show plot curves at the first level below a summary plot.
2022-03-25 20:02:23 +01:00
jonjenssen
8d3f41ded8
Merge pull request #8732 from OPM/summarymultiplot_updates2
...
Summary Multiplot updates
2022-03-25 11:39:12 +01:00
Magne Sjaastad
696c6a15fa
#8676 QtChart : Create curve legend widget for multiplot
2022-03-23 14:28:56 +01:00
Magne Sjaastad
f45637b7f0
#8715 Fix multi summary title and legend updates
2022-03-23 13:35:47 +01:00
Kristian Bendiksen
c00aea75fb
#8662 QtCharts: Implement tooltip when hovering over curves
2022-03-21 14:56:23 +01:00
Jon Jenssen
560917a481
Rename NewSummaryPlot command to what it actually is - OpenSummaryPlotEditor command. Remove unused includes.
...
Move Single Summary Plots to bottom of tree and show them as Single Summary Plots.
2022-03-21 13:05:57 +01:00
jonjenssen
e20adcdb69
Further Summary Multiplot improvements ( #8707 )
...
* Create a specialized summary plot page for showing multi plots
* Make summary plots always show in grid of selected size.
* Allow dragging summary addresses into empty main window area
* Limit grid to 4x4 cells
2022-03-21 11:31:25 +01:00
Magne Sjaastad
8d3f381b4f
Janitor: Update qwt to 6.2.0
2022-03-18 13:16:07 +01:00
jonjenssen
ffc84457c6
Summary Multiplot: add button to create plot copy ( #8698 )
...
* Add button to create a duplicate of the active summary multiplot
* Block dropping other things than RimSummaryAddress objects in empty areas
2022-03-16 14:14:14 +01:00
jonjenssen
75a3d3d8f1
Summary Multiplot: drag/drop updates ( #8692 )
...
Drag'n'drop improvements - accept drops in empty multiplot areas to create new plots
2022-03-15 15:57:15 +01:00
Kristian Bendiksen
20ec6e20f2
Summary Plot: fix axis logic for left axis
2022-03-14 15:48:24 +01:00
Magne Sjaastad
0ca70249ae
Move defines to RiaDateTimeDefines
2022-03-14 09:18:48 +01:00
Magne Sjaastad
e435e28e7d
#8660 Axis range: If water cut is assigned, use 0..1 as axis value range
2022-03-14 08:24:49 +01:00
Magne Sjaastad
806a149809
Fix several deprecation warnings ( #8657 )
...
* Use constructor instead of nullptr for WindowFlags
* Use constructor instead of nullptr for Alignment
* Disable deprecation warning for QProcess
* Add string split method to RaTextStringTools
* Add caf.cpp used to manage Qt function deprecations
* Use position()
2022-03-11 13:24:01 +01:00
Magne Sjaastad
0bab8a9834
Fix update issues when switching from axis side ( #8664 )
...
* #8610 Ensemble import : Set default axis
* Summary Axis : Delete previous axis when switching side
* Janitor: Use auto and empty()
2022-03-11 13:11:24 +01:00
Magne Sjaastad
262aed3c8d
#8663 QtCharts: Update labels when date format changes
2022-03-11 11:39:51 +01:00
Magne Sjaastad
721ba508de
Axis sync: Reset zoom to make sure the complete range for min/max is available
2022-03-11 08:41:53 +01:00
jonjenssen
c9b762fb16
Merge pull request #8654 from OPM/filter_wheelevents
...
Summary Multiplot: page scroll and zoom fixes
2022-03-10 13:13:44 +01:00
Jon Jenssen
cdbeec7ff8
Remove unused include
2022-03-09 11:29:03 +01:00
Jon Jenssen
d7555cbf4c
Add support for giving all axes with the same label the same range.
2022-03-09 11:29:03 +01:00
Magne Sjaastad
728885a6c8
Janitor : Fix invalid rename introduce by horizontal/vertical depth log plots
...
Fix deprecated
2022-03-09 08:33:56 +01:00
Jon Jenssen
85d3f98f91
Allow drag'n'drop of realizations into summary plots
...
Improve "Create Summary Case Group" feature to not delete selected realizations from the source collection.
2022-03-08 07:55:39 +01:00
Kristian Bendiksen
7a954804ef
#8451 Qt Charts: show fewer curve symbols.
...
The "Symbol Skip Distance" is used to space the symbols.
Fixes #8451 .
2022-03-04 18:11:10 +01:00
Jon Jenssen
2e9c6e7a64
Allow dragging and dropping ensemble data vectors into summary plots
2022-03-04 17:06:28 +01:00
Magne Sjaastad
1563ae7b58
Merge pull request #8614 from OPM/minor-adjustments
2022-03-04 12:24:15 +01:00
jonjenssen
abff06d2d5
Summary multiplot improvements ( #8598 )
...
* Create multi summary plot from summary plot(s)
* Rearrange multi summary plot properties
* Enable source stepping toolbar for multi summary plot
* Automatically activate new summary plot when creating from data sources -> data vector tree
* Enable global key controls for switching data in summary and multi summary plots
* Update tooltip texts for summary plot toolbar
2022-03-04 10:52:17 +01:00
Kristian Bendiksen
423dde93fc
#8523 Summary Plot: Improve axis name.
...
Use same name as axis in plot now.
2022-03-02 13:49:17 +01:00
jonjenssen
0cd965dd5b
Summary plot crash fixes ( #8595 )
...
Disable assert for duplicated signal connections for now, just ignore everyone but the first one
Temp. workaround for crash when duplicating plot axis properties.
Update test
2022-03-01 17:27:46 +01:00
Magne Sjaastad
9826d94e9a
Make sure a signal is connected only once
2022-02-28 10:52:05 +01:00
Magne Sjaastad
4693dc44ef
Memory Management : Fixes related to plot objects and curves
2022-02-26 16:35:27 +01:00
Magne Sjaastad
47a44a79df
Axis assignment : Use axis with same unit by default
2022-02-26 16:35:27 +01:00
Kristian Bendiksen
f955d9e645
#8575 Summary Plot: Restore zoom of time axis on project load.
2022-02-23 21:54:40 +01:00
Kristian Bendiksen
10cb2d7d0b
#8522 Summary Plot: Prune unused axes after move or delete
2022-02-23 21:54:40 +01:00
Kristian Bendiksen
1a1acfa006
#8522 Summary Plot: handle plot axis deletion.
2022-02-23 21:54:40 +01:00
Kristian Bendiksen
bd22336ba8
#8522 Summary Plot: ensure plot axis are restore when creating plots.
2022-02-23 21:54:40 +01:00
Kristian Bendiksen
2e6795bd1d
Summary Plot: Refactor to use new RimSummaryPlot::addNewAxisProperties().
2022-02-23 21:54:40 +01:00
Kristian Bendiksen
3180b419d0
#8522 Summary Plot: Add menu item to add plot axis.
2022-02-23 21:54:40 +01:00
Magne Sjaastad
f154f8c500
Import RFT segment data as well log curve ( #8449 )
...
Add reader for RFT data using opm-common
Extend RFT curve with support for RFT segment data
Adjustments related to horizontal well log plots
8581 Well Log Plot : Update of curve appearance does not update plot
2022-02-23 13:57:02 +01:00
jonjenssen
4a3d9470b4
Summary Plots: Support dragging wells, groups and regions into plots ( #8550 )
...
Support dropping wells, wellgroups and regions into summary plots.
2022-02-16 16:36:50 +01:00
Magne Sjaastad
477ae02382
Logarithmic curve support and renaming ( #8546 )
...
* Add test for both positive and negative numbers
* Remove redundant sample count from parameter list
* Propagate useLogarithmicScale
* Renaming
2022-02-14 11:49:37 +01:00
Kristian Bendiksen
a8a3d3332b
#8536 Summary Plot: Fix axis position for legacy projects.
...
The axis property position has to be reassigned for all axis types.
2022-02-14 10:56:51 +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
43d890697d
Multiaxis: Avoid transformation of the right axis to a left axis
2022-02-09 12:26:42 +01: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