jonjenssen
4f31f5c76e
Add support for deleting plot templates ( #8908 )
2022-05-12 21:46:35 +02:00
Kristian Bendiksen
b27f59cecb
#8274 Python: assign default values
...
Fixes #8274 .
2022-05-11 20:53:01 +02:00
jonjenssen
828e8ec440
Show templates as separate project explorer tab. ( #8902 )
...
Add templates as separate project explorer tab.
Add support for renaming and editing templates
2022-05-11 19:46:17 +02:00
Kristian Bendiksen
daf02571c2
Mainwindow datasources ( #8883 )
...
* Main Window: add three dock widgets for splitting project tree
* Main Window: move scripts to separate tree widget
* Add eclipse result addresses to data source project tree.
* Grid Calculator: drag-and-drop for calculation variables.
* Grid Calculator: rename to 'Grid Property Calculator'.
2022-05-11 19:17:46 +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
7d440a9c2f
Performance: Avoid calling allSummaryCases
...
allSummaryCases() is potentially a heavy CPU call for large ensembles. Always show the curve calculator button.
2022-05-10 10:24:52 +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
Magne Sjaastad
df1bb06f09
Support delete of multiple sub plots in one operation
2022-05-10 08:17:41 +02:00
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
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
1407c6f96f
RimPlotAxisProperties: reset "always required" bool on reload.
2022-04-06 09:03:53 +02:00
Kristian Bendiksen
449b4e4781
RimPlotAxisProperties: only allow plot axis positions left and right.
2022-04-06 09:03:53 +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
391d13565e
RiuPlotWidget: highlight relevant curves when clicking on an axis.
2022-04-04 12:10:20 +02:00
Kristian Bendiksen
11060078d8
RiuQwtPlotWidget: fix actions on selection of axis.
2022-04-04 12:10:20 +02:00
Kristian Bendiksen
7cb72688ea
Multiaxis: Fix mouse tracking for Qwt plot with multiple 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
ebba37a623
Merge pull request #8754 from OPM/multiplot_improvements
...
Summary Multiplot: add new plot from a single curve in an ensemble plot and improve general plot performance
2022-03-31 12:34:07 +02:00
Jon Jenssen
2eb1713866
Fix mouse wheel not working in 3D view if a plot window is created.
...
Fix issue with multiplot sometimes being shown incorrectly when switching between fullscreen plots
2022-03-30 16:19:16 +02:00
Magne Sjaastad
9c987855f2
Merge remote-tracking branch 'origin/patch_2021.10.3' into dev
2022-03-28 09:06:38 +02:00
Magne Sjaastad
7c4e81f59f
Adaption of #8356 Summary Data : Add support for use of summary summary data from Python
2022-03-28 08:46:10 +02:00
Magne Sjaastad
ef842e7f27
#8416 VFP Plot : Support import of all units (Field, PVT, ..)
2022-03-28 08:46:10 +02:00
Magne Sjaastad
2b45892098
#8513 Use cell face when leaving cell when well path starts inside cell
2022-03-28 08:46:10 +02:00
Magne Sjaastad
cbaaabf67e
#8558 Use both conditions to disable use of start of simulation
...
GeoMech cases require this test condition
2022-03-28 08:46:10 +02:00
Magne Sjaastad
ee888237f3
#8558 Fix reading of simulation dates for restart case
...
The date import was wrong for some restart cases.
2022-03-28 08:46:10 +02:00
Magne Sjaastad
c48451a532
Summary Import : Support cases with one file per time step ( #8493 )
2022-03-28 08:46:10 +02:00
Magne Sjaastad
cf4d2c9ad2
Janitor : Support import of stand alone ESMRY files
...
All import of summary data was previously started from a SMSPEC file. As the ESMRY file is completely independent, it is useful to import these files directly.
2022-03-28 08:46:10 +02:00
Magne Sjaastad
2800f1f189
#8354 RFT file open : Inconsistent data might lead to crash
...
Use try/catch to avoid crash from RFT file reader. Avoid reading data when considering if menu items should be visible.
2022-03-28 08:46:10 +02:00
Magne Sjaastad
f028491bb9
#8409 NNC : Make sure user defined legend ranges work
2022-03-28 08:46:10 +02:00
Magne Sjaastad
f99bfb04b9
Janitor: Make sure NNC connections are computed before visibility is evaluated
2022-03-28 08:46:10 +02:00
Magne Sjaastad
87780b2b8a
#8403 Ensure the NNC connection polygon is created before computing area
2022-03-28 08:46:10 +02:00
Magne Sjaastad
e09a839228
Merge pull request #8402 from OPM/8401-flow-vector-result
...
Use OpenMP for vector calculations
Janitor: Use field of double instead of float to avoid rounding errors. If float is used in field, the current editor is has rounding effects that makes the text representation of 0.1 turn into 0.09999999....
2022-03-28 08:46:10 +02:00
Magne Sjaastad
8fea45c267
#8375 NNC : Create NNC generators when NNC data is available
...
This approach fixes an NNC visibility issue related to use of m_rimFault->faultGeometry()->connectionIndices() before any was assigned in RigMainGrid::distributeNNCsToFaults()
2022-03-28 08:46:10 +02:00
Magne Sjaastad
869921d300
#8375 Flow Vectors : Avoid recomputing NNCs when accessing flow data
...
Avoid include of RigNNCData.h in header files.
2022-03-28 08:46:10 +02:00
Magne Sjaastad
4cf0efad61
Janitor : Show warning when generated NNCs count is larger than 5M
2022-03-28 08:46:10 +02:00
jonjenssen
3bb6642900
Stop ResInsight from crashing when calculating cell volume ( #8374 )
...
* Stop ResInsight from crashing when calculating cell volume
2022-03-28 08:46:10 +02:00
Magne Sjaastad
985a2c8f30
Merge pull request #8376 from OPM/fault_visibilityupdates
...
Faults: Add Visibiliy mode for overlapping area
2022-03-28 08:46:10 +02:00
Magne Sjaastad
8ad2ffa471
#8371 Make sure all NNC faces are created and assigned
...
Make sure that the first cell in RigConnection is assigned the lowest cell index. Assign the opposite face if the cell indexes are swapped.
In RigCellFaceGeometryTools, test both combinations of (cellA, cellB) and (cellB, cellA)
2022-03-28 08:46:10 +02:00
jonjenssen
19dc7493a8
Change ouput model name
2022-03-28 08:46:10 +02:00
jonjenssen
abd4e80b48
Add well angles in degrees, not radians.
2022-03-28 08:46:10 +02:00
jonjenssen
8c27a0f656
Support pausing before running abaqus script to allow input file modifications.
...
Add option in preferences to enable/disable pause.
2022-03-28 08:46:10 +02:00
Magne Sjaastad
7cd917e0d8
#8307 Input Eclipse Case: Handle trailing line comment
2022-03-28 08:46:10 +02:00
jonjenssen
f41c772f03
Show plot curves at the first level below a summary plot.
2022-03-25 20:02:23 +01:00
Kristian Bendiksen
be7783776c
#8362 Simulations wells: Fix crash on show spheres.
2022-03-25 17:45:13 +01:00
Kristian Bendiksen
fda4d1d608
#8651 Surface Intersection Curve: Fix crash when non-overlapping surface and intersection ( #8737 )
2022-03-25 15:06:11 +01:00
Kristian Bendiksen
86ea679871
#8652 Import Surface: Fix ts-file import with properties on Linux ( #8730 )
...
The file had DOS line endings (\t\n) which where not properly trimmed on linux.
Fixes #8652 .
2022-03-25 14:16:25 +01:00
Magne Sjaastad
4366e53733
#8728 Help Menu : Add search issues and create new issue
2022-03-25 12:14:19 +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
8feb0c363b
#8307 Input Eclipse Case: Handle trailing line comment
2022-03-24 15:22:07 +01:00
Kristian Bendiksen
80234ca105
#8644 : Avoid overwriting preferences for date and time axis format ( #8725 )
...
Co-authored-by: kriben <kriben@users.noreply.github.com>
2022-03-24 11:57:05 +01:00
Magne Sjaastad
696c6a15fa
#8676 QtChart : Create curve legend widget for multiplot
2022-03-23 14:28:56 +01:00
Kristian Bendiksen
d4d79d3dec
#8623 Contour Map: exclude surfaces from appearing
...
Fixes #8623 .
2022-03-23 13:37:38 +01:00
Magne Sjaastad
f45637b7f0
#8715 Fix multi summary title and legend updates
2022-03-23 13:35:47 +01:00
Magne Sjaastad
c03252a581
#8662 QtCharts: Snap tooltip to closest curve point.
2022-03-21 14:56:23 +01:00
Kristian Bendiksen
c00aea75fb
#8662 QtCharts: Implement tooltip when hovering over curves
2022-03-21 14:56:23 +01:00
Kristian Bendiksen
c87d68899e
#8635 Improve well head position on extreme grids.
...
Fixed by introducing max characteristic cell size for extreme grids.
Fixes #8635 .
2022-03-21 14:29:45 +01:00
kriben
f27a5b4e9e
Fixes by clang-format
2022-03-21 14:23:14 +01:00
Kristian Bendiksen
ca769a53d4
#8649 Contour Map: Show static data for all time steps.
2022-03-21 14:23:14 +01:00
Magne Sjaastad
ffc1769a5f
Pdf export : Remove theme change before export to PDF
...
Crash seen on Windows related to theme change as part of export to PDF. This is related to export of plots to PDF in dark mode. Investigate other solution.
2022-03-21 14:00:16 +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
Kristian Bendiksen
001e918238
#8637 3D-view legend: Make integer category for I-, J- and K-indexes
2022-03-17 08:19:16 +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
7238894bf6
Janitor: Set minimum Qt version to 5.12
2022-03-12 16:43:48 +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
Kristian Bendiksen
72fc47e003
#8452 QtCharts: Add fill color and pattern
2022-03-11 13:15:20 +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
ceecf2e54c
#8611 QtChart : Improve time axis grid intervals
...
Use QCatetoryAxis to display date labels
Use Qwt label formatting and scale dividing tools to produce text labels
2022-03-11 10:35:08 +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
Magne Sjaastad
6700c21086
Janitor : Use RimWellLogTrack in RimDepthTrackPlot
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
93f754102d
#8615 Qt Charts: fix use-after-free crash.
...
Fixes #8615 .
2022-03-04 18:11:10 +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
7494751bec
Pdf export : Remove theme change before export to PDF
...
Crash seen on Windows related to theme change as part of export to PDF. This is related to export of plots to PDF in dark mode. Investigate other solution.
2022-03-04 14:44:25 +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
magnesj
a32dda2e65
Fixes by clang-tidy
2022-03-04 08:00:33 +01:00
Magne Sjaastad
84694cdbc3
Memory Management : Fix memory leak in FaultRASettings
2022-03-03 14:39:41 +01:00
Magne Sjaastad
0e57cfe201
Memory Management : Adjustment and fixes
...
Add release of several static singleton objects
Fix several minor memory leaks
2022-03-03 14:39:41 +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
magnesj
e1990afbae
Fixes by clang-tidy
2022-02-27 07:58:00 +01:00
Magne Sjaastad
5c0082f20b
Avoid setting signal multiple times
2022-02-26 16:35:59 +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
Magne Sjaastad
d5b108d2ef
QtChart : Avoid zoom on right mouse button release
2022-02-26 16:35:27 +01:00
Magne Sjaastad
10a01972f3
#8583 RFT Plots : Add support for data source management to well log plots
2022-02-24 13:03:15 +01:00
Magne Sjaastad
7f41349b5c
#8582 Eclipse Case : Make it possible to access RFT data without grid data
2022-02-24 13:03:15 +01:00
Kristian Bendiksen
65e80ca03f
QtCharts: Improve name: RitQtChartsPlot::setAxis -> attachSeriesToAxis
2022-02-23 21:54:40 +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
Magne Sjaastad
bb7f61ea56
Janitor : Remove obsolete override comment
2022-02-23 08:01:28 +01:00
jonjenssen
208ae7692b
Merge pull request #8578 from OPM/summaryplot_fromdatavector
...
Summary Plot: create new plot from data vector tree nodes
2022-02-22 11:32:35 +01:00
Magne Sjaastad
4ed5250d3b
Support horizontally stacked curves ( #8553 )
...
* #8548 Horizontal track : Improve stacked curves
* Add horizontal track bar
* Show relevant scroll bar for horizontal and vertical plots
* Show max property value at top for horizontal plots
2022-02-21 07:15:56 +01:00
Magne Sjaastad
5c72d31cc9
Improve well path target configuration ( #8570 )
...
Improve the scripting possibilities for well targets
Added tests and examples
2022-02-19 13:18:49 +01:00
jonjenssen
0b5bc2ba68
Change ouput model name
2022-02-17 15:39:39 +01:00
Kristian Bendiksen
4913677955
8549 qtcharts fix time axis ( #8564 )
...
* #8549 QtCharts: Fix time axis range setting
* #8549 QtCharts: Fix 'zoom all' behavior
2022-02-17 10:47:54 +01:00
Magne Sjaastad
0879f3748b
#8558 Use both conditions to disable use of start of simulation
...
GeoMech cases require this test condition
2022-02-17 08:53:11 +01:00
Magne Sjaastad
79f427f64b
#8558 Fix reading of simulation dates for restart case
...
The date import was wrong for some restart cases.
2022-02-16 19:38:57 +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
Kristian Bendiksen
7fbff9d58b
Qt Charts: Add more major grid lines.
2022-02-16 08:56:15 +01:00
Kristian Bendiksen
2bea99eb5f
#8450 Qt Charts: generate nicer numbers when auto scaling.
2022-02-16 08:56:15 +01:00
Magne Sjaastad
79614e09e9
#8555 Well Log Extraction : Fix missing curve data for no console
2022-02-15 15:43:44 +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
magnesj
e85bba9014
Fixes by clang-format
2022-02-12 14:46:00 +01:00
Kristian Bendiksen
5973dde70c
Well Measurement: fix duplication in property editor.
2022-02-12 14:24:42 +01:00
Kristian Bendiksen
377df9ab3a
Well Log Plot: have multiple rows of plots for horizontal depth orientation.
2022-02-12 14:24:42 +01:00
Kristian Bendiksen
5c9bf502e7
Well Log Plot: Add option to plot depth horizontally.
2022-02-12 14:24:42 +01:00
Magne Sjaastad
1488eec855
Rename to isLogCurve
2022-02-12 14:23:06 +01:00
Kristian Bendiksen
8253cfae2d
#8531 QtCharts: Fix performance degradation on ensemble of curves.
...
The axes signals and slots were connected multiple time leading to a large
number of RiuQtChartsPlotWidget::plotZoomed() calls.
2022-02-11 21:06:03 +01:00
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
Magne Sjaastad
9023b01cfa
Janitor: Guard null pointer access
2022-01-06 15:49:20 +01:00
Magne Sjaastad
bca2fadc28
Janitor: Make sure NNC connections are computed before visibility is evaluated
2022-01-05 15:58:41 +01:00
jonjenssen
55ba4bc802
Intersection depthfilter ( #8408 )
...
* Implement a simple depth filter to cut all geometry below a certain level for intersections
* Add option to override all curve intersection cut depths from collection.
* Add support for showing intersection above or below threshold. Update label texts.
2022-01-05 15:52:04 +01:00
Magne Sjaastad
eeb51bd8f1
#8403 Ensure the NNC connection polygon is created before computing area
2022-01-04 12:24:21 +01:00