Commit Graph
988 Commits
Author SHA1 Message Date
Kristian Bendiksen 85cd07c373 Grid Calculator: Improvements after review. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen 8ea4e933aa Grid Calculator: compute results for all time steps 2022-05-09 15:36:27 +02:00
Kristian Bendiksen 144138904d Avoid index-based iterator. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen b761bb42af Grid Calculator: Fix view updates when calculation is changed or removed. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen fdefb214d8 Grid Calculator: Minor tweaks to UI. 2022-05-09 15:36:27 +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
Magne Sjaastad 74075cc9ab Merge pull request #8888 from OPM/8887-fix-reorder-capability
Fix reorder capability
2022-05-06 10:52:08 +02:00
magnesj 64c4adf5f0 Fixes by clang-tidy 2022-05-06 06:39:08 +02:00
Magne Sjaastad cc397efe3e Performance : Simplify use of update schedulers
Extract code to RiaScheduler
Add PlotCollectionScheduler
2022-05-05 14:15:45 +02:00
Magne Sjaastad 8daf25ffb3 Performance : Cache result of some string manipulation functions
These functions get called quite often, and popped up based on profiling.
2022-05-05 14:15:45 +02:00
Magne Sjaastad e426364fd5 Toggle Action Performance : Send fieldChanged() only once
fieldChanged() can potentially do much work. When toggling objects in the project tree, make sure that fieldChanged is called only once for a toggle operation. This will make sure that we have the best possible performance in all use cases.
2022-05-05 14:15:45 +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 4ef1f73a58 Add delete plot comand to subplot context menu 2022-05-03 18:01:01 +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 ca9b209e9b #8864 Fix no data issue for Analysis Plot
When RifMultipleSummaryReaders was introduced, no summary data was available to Analysis plots. Fix this by always return true in RifSummaryReaderInterface::hasAddress for a default address object
2022-05-03 09:16:54 +02:00
Magne Sjaastad 46173af8c3 Merge pull request #8865 from OPM/8863-summary-issues 2022-05-03 08:51:26 +02:00
magnesj 19f2ddaaab Fixes by clang-tidy 2022-05-02 07:12:34 +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 172f891be9 Remove obsolete template commands (#8851)
* Remove obsolete template commands

Use first object in object list when creating plots for templates and a case is selected. (use first well in well list, first group in group list, ...)

* Always create the reference string
2022-04-28 18:28:24 +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 73d598ee7e Fix crash during delete of multiplot 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 8c76921bed Summary Curve: Do not show legend if empty 2022-04-26 13:01:31 +02:00
Magne Sjaastad 79fdc825ca #8843 Summary Curve : Set nullptr as curve symbol for None 2022-04-26 13:01:31 +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 571011c2bd #8833 Import Of Observed FMU Data: Improve parsing of text files 2022-04-26 07:59:11 +02:00
Magne Sjaastad 853b4a26d5 #8822 Summary Axis: Add tick mark count to y-axis 2022-04-22 23:14:48 +02:00
Magne Sjaastad b6f7dd931e Add option to export to pdf without asking user 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 ed6cbce71e #8818 PDF Export : Avoid manipulation of resolution
The exported pdf is dependent on the width of the plot window. Remove code related to change of resolution when exporting to PDF. This makes the PDF export consistent and independent to width of view.
2022-04-22 09:22:11 +02:00
Magne Sjaastad 1840a95810 Preferences: Move colorCurvesByPhase and hide Qt Charts settings 2022-04-22 08:08:06 +02:00
Jon Jenssen 5457c96a63 Remove obsolete open editor command 2022-04-21 17:28:50 +02:00
Magne Sjaastad c95d79adc2 #8789 Summary Curve : Improve Append to Plot 2022-04-21 12:57:50 +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 ed87c9028c #8792 Summary Multiple Axes : Remove axis after delete in project tree 2022-04-20 14:26:53 +02:00
Magne Sjaastad 87b822a80f Curve Style : Add support for curve fitting for non-solid line styles 2022-04-20 14:25:47 +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 c41ab07c1a #8809 MultiPlot Snapshot: Use current page for snapshots 2022-04-19 12:00:15 +02:00
Magne Sjaastad a6eda226f4 #8813 Regression Test : Fix crash in regression tests 2022-04-19 09:52:34 +02:00
Magne Sjaastad 82367e698f #8560 Fix gray background for default theme 2022-04-13 21:16:51 +02:00
Magne Sjaastad 30aaadb58c #8798 Summary Curve Selection : Always show ensemble realizations cases 2022-04-08 13:22:42 +02:00