Commit Graph
1211 Commits
Author SHA1 Message Date
jonjenssen ed392e6300 Keep source step dimension when saving/loading multiplots, including templates 2022-06-03 18:05:26 +02:00
Magne Sjaastad 2472f4697c Improve summary category detection for opm-common reader (#9018)
* Move code to quantitynameinforprovider
* Use some region-to-region helper function from opm-common
* Add more fallbacks
2022-06-03 13:54:15 +02:00
Magne Sjaastad 95e9ef8bf1 Rename to RiaFieldHandleTools 2022-06-03 08:00:55 +02:00
Magne Sjaastad 2b8bab3bd8 #9011 Disable input controls controlled by automation
Disable fields controlled by automation and append label text with (overridden)
2022-06-03 08:00:55 +02:00
Magne Sjaastad 4146e8bbd1 #9011 Rename axis range aggregation to None 2022-06-03 08:00:55 +02:00
Magne Sjaastad a28cecd19b #8961 Auto scale factor : Do not use scale factor for some value ranges 2022-06-03 08:00:55 +02:00
Magne Sjaastad 5e53f5687d Improve auto name for curves and plots
- use vector name as plot title if a vector and the associated history vector is present
- use short vector name as fallback for curve name
- use Plot N as fallback name for sub plot
2022-06-03 08:00:55 +02:00
Magne Sjaastad 36dab01cf5 #9009 Data Source Object : Do not allow rename by double-click on item 2022-06-03 08:00:55 +02:00
Jon Jenssen 89773da26e Fix intersection crash by making sure we do nothing when top limit is below bottom limit 2022-06-02 06:54:45 +02:00
jonjenssen fd7821a10b Add preferences setting for maximum search depth in script folders. Clean up context menu a bit. (#9012) 2022-06-02 06:53:05 +02:00
jonjenssen 41904df681 New feature: delete unchecked subitems (#9010)
* New feature: delete unchecked subitems
2022-06-02 06:50:14 +02:00
Kristian Bendiksen cbe731d187 #8994 Plot axis range : Fix incorrect reset of user-defined min max value 2022-06-01 15:10:38 +02:00
Jon Jenssen cf9f69b620 Fix plot layout after plot visibility filter has been applied 2022-06-01 14:07:27 +02:00
Magne Sjaastad bf8ca66132 #8983 Improve default dock window layout 2022-06-01 12:25:36 +02:00
Magne Sjaastad 33f0831de5 #8982 Allow mouse wheel zoom for a single sub plot 2022-06-01 12:25:36 +02:00
Magne Sjaastad c7cf6d19f8 #8995 Drag drop summary vector : Optionally include history vector 2022-06-01 12:25:36 +02:00
Magne Sjaastad 6a7e2f6033 #8993 Default Ensemble Curve : Do not show statistics for history vectors 2022-06-01 12:25:36 +02:00
jonjenssen 9f4d242a5d Plot Template updates (#9002)
* Ensemble plot templates now have .erpt extension and new icon
* Default plot templates are given a checkmark overlay on the icon
* Context menu has been cleaned up a bit
* Old default template is really just the last used template. Rename it.
* Add max. recursive depth setting in preferences for plot template searches
* Only create plots based on correct template type when importing ensembles or single cases
* Support creating new plot from template explorer
* Update last used template when creating a new plot from a template
2022-06-01 10:45:44 +02:00
Kristian Bendiksen 92afb11a76 #8899 Try exact matches for eclipse summary category search.
Fixes incorrect classification for vectors with 8 characters starting with
'N' (e.g NLINSMAX). They were classified as "network", but lookup table have
them correctly classified as "misc".
2022-05-31 22:16:24 +02:00
Kristian Bendiksen 34a5d3e756 Summary Quantity Name Provider: special handling for MISC vectors 2022-05-31 22:16:24 +02:00
Magne Sjaastad 6a5b9f7300 Use deleteChildren() when required to avoid memory leak 2022-05-31 15:05:07 +02:00
Magne Sjaastad c74701b687 Rename several child() and children() functions 2022-05-31 15:05:07 +02:00
Magne Sjaastad c199f960e3 #8949 Plot Update: Improve visual stability when clicking on curves
adjustSize() causes the plot to resize twice which is annoying. Cache the last child count to avoid calls to adjustSize().
2022-05-31 14:20:38 +02:00
Magne Sjaastad fe1acc93a6 #8938 Sub Plot : Fix visibility of legend
Make sure legends are set visible if any items are present in the legend
2022-05-31 14:20:38 +02:00
Magne Sjaastad 787d3ae379 #8868 Well Log Plot: Appearance update not working 2022-05-31 07:29:59 +02:00
Jon Jenssen 534e74dd31 Make sure drag'n'drop works when explorer window is undocked, too. 2022-05-30 18:47:42 +02:00
jonjenssen db589c7e32 Show progress bar when appending plots to multiplot (#8976)
* Show progress bar when appending plots to multiplot
* Stop plot manager from going crazy creating plots when filter text is blank
* Speed up plot manager create plot
2022-05-30 11:39:05 +02:00
Magne Sjaastad 17f169e513 RegressionTests: Add missing show() to mainwindow 2022-05-29 13:25:53 +02:00
Magne Sjaastad f0ce04597d Merge pull request #8985 from OPM/8926-remove-useoptionsonly
AppFwk : Remove obsolete useOptionsOnly
2022-05-29 13:01:27 +02:00
jonjenssen 2a57adf222 Make sure we create multiple plots if we import multiple summary cases at once. 2022-05-27 12:30:51 +02:00
Kristian Bendiksen c9aa9285d2 #8900 Summary Data: fix error in h5-data for time scale above 250 years
The usual implementation of chrono::system_clock::to_time_t() uses nanoseconds
which will overflow on data with long time spans. Fixed by lowering resolution
to seconds, and adding custom conversion method.

Fixes #8900.
2022-05-27 12:11:19 +02:00
Magne Sjaastad 5c224241e1 #8892 Allan Diagram: Show formation data for all time steps 2022-05-27 12:10:58 +02:00
Magne Sjaastad a48ad22d0a Preferences: Avoid calling update on top level RimProject on close 2022-05-27 07:53:51 +02:00
Magne Sjaastad ab2a7254f8 #8964 Avoid message box for PVT and Rel Perm issues
Log warning message to log window instead of a dialog
Improve text
2022-05-26 20:47:23 +02:00
Magne Sjaastad a511bfd722 #8952 Only include fields to be modified for sub items on/off
Only one fieldChanged is issued, and make sure that all fields in the selection will change state. If state is not changed for the last field, no notification will happen.
2022-05-26 20:47:23 +02:00
Magne Sjaastad b17e3813df #8966 Improve performance when changing multiple field values 2022-05-26 20:43:25 +02:00
Magne Sjaastad 3545d16fbb Use set to get unique plots for update 2022-05-26 20:43:25 +02:00
Magne Sjaastad 4a1a2fe2be #8634 Improve performance when deleting multiple wells
Disable general framework delete function, and use special well path delete function
2022-05-26 20:43:25 +02:00
jonjenssen ff57252812 Add support for dropping folders in summary plots and multi summary plots 2022-05-26 02:29:59 +02:00
Kristian Bendiksen 53af120f39 #2434 Eclipse input property: fix import for keywords without data
Keywords without data does not have a trailing '/'.
2022-05-25 21:32:51 +02:00
Kristian Bendiksen a47edd4fa6 #8195 Fracture: Show containment also when mesh is off. 2022-05-25 21:25:50 +02:00
Kristian Bendiksen 29fdc29eb0 #8696 Cell filter: fix for IJ Index polygon for non-intersecting filter points
Now the minimum K-layer directly below any of the filter points are used when
the filter points does not intersect with the cells.

Fixes #8696.
2022-05-25 15:07:08 +02:00
jonjenssen 8e3289a432 Default summaryplot improvements (#8950)
* Add summary default plot type selection in preferences
* Create plots as set in preferences when loading summary cases. Allow selecting default plot templates from templates explorer tree
* Do not create plot if data vector setting is empty
2022-05-25 11:01:45 +02:00
Magne Sjaastad f91fe41f1d Several minor issues (#8948)
* #8947 Plot Template : Split export dialog into file path and name
* #8946  Update multi plot title when curve is appended by copy/paste
* #8946 Separate axis object name and axis title text
* If multi plot auto name is empty, use plot title "Plot N"
* QwtPlotWidget: Double click activates Zoom All
* More testing on valid main window before use
* Return false if event is not handeled
* Improve fallback plot name
* Tree View Editor: Early exit if selected object is unchanged
Resetting selection causes flickering
* Summary Plot : Select curve object in project tree when clicking on curve
2022-05-24 15:24:38 +02:00
Kristian Bendiksen 1aa41968a5 #8787 Summary Multiplot: Fix inversion of axis with axis aggregation. 2022-05-24 07:26:49 +02:00
Magne Sjaastad 01e670a3d8 Add copy/paste of Summary Multi Plot (#8942)
* Guard use of back() on empty vector
* Add "Show Data Sources" to ensemble realizations
* Update summary plot as summary curve collection is not visible in tree view
* Set selection manager root in RiaApplication
* Always close both main windows if present
* Add copy/paste of summary multi plot
* Add test for RiuMainWindow::instance() before use
* Remove duplicated code
* Multiple Tree Views : Use getTreeViewWithItem() to find correct tree view
* Minor UI adjustments
2022-05-23 14:25:53 +02:00
Jon Jenssen 329e1e8b69 Fix crash in ensemble plot duplicate 2022-05-23 13:32:18 +02:00
Kristian Bendiksen 039ec05ab8 #8794 Multi Axes: Highlight relevant axes 2022-05-23 13:23:55 +02:00
Jon Jenssen 05ce13b533 Fix crash if 3d window is not there when importing summary data 2022-05-23 11:03:32 +02:00
Magne Sjaastad 26f1387bc6 Improve plot manager behavior
Create plots for vectors with no grouping identifier
Do not invalidate GUI on selection changed
Use same name as in project tree
2022-05-22 21:49:34 +02:00