Commit Graph

428 Commits

Author SHA1 Message Date
Magne Sjaastad
bbd79cca6a
#12168 Allow highlight of curves based on selection of realization object
Use the first available highlighted curve as basis for display of horizontal readout value. Fallback to single realization curves.
When selecting a realization in project tree, highlight all related curves
Make sure zoom rect works when readout annotations are active
2025-02-18 11:04:40 +01:00
Magne Sjaastad
860588d755
#12008 Improve display of curves from selected cells in 3D view
* Remove obsolete base class
* Add conversion between one/zero-based IJK
* Move code to RiaTextStringTools
* Add automatic update of grid cell curves when clicking in 3D view
* Fix missing conversion to QString
2025-02-14 09:35:28 +01:00
Magne Sjaastad
b165488828 Remove settings settings from plot editor
Remove appearance and name settings
2025-02-13 15:12:24 +01:00
Magne Sjaastad
04cd253fc6 Move files
Fix includes
2025-02-13 15:12:24 +01:00
Magne Sjaastad
865fbf0cba
Summary connections and completions (#12156)
* Add category WELL_CONNECTION
* Throw exception if category string is invalid
* Make it possible to step connections
* Add definition of completion vectors
* Use WELL_CONNECTION for CPRL
* Convert "WGPRL__2:MY-WELL1-A5" to "WGPRL:MY-WELL1-A5:2"
Use the syntax for well completions in opm-common
* More tests for different variants of summary texts
2025-02-13 08:31:53 +01:00
Magne Sjaastad
2021b286ab
Show time annotation in all sub plots (#11906)
* Prepare for more customization of annotation objects
* Move files
* Add configuration of readout lines in sub plots. The location along the time axis is based on the current mouse cursor position. The location is distributed to all sub plots. Optional support for readout of values at the current time.
2025-02-05 17:19:01 +01:00
Magne Sjaastad
28d3050433
#11871 Remove simulation well fractures and completion export 2025-02-03 18:19:03 +01:00
jonjenssen
10afd3a7cd Reorganize contourmap files in project 2025-02-03 15:06:29 +01:00
jonjenssen
cbab1b256f
Support filtering by formation/polygon when calculating statistics (#12086)
* Support loading formation names when importing an ensemble
* Enable support for formation filtering when calculating contour map
* Add option to limit calculation area to a selection of polygons
2025-01-29 01:36:29 +01:00
Magne Sjaastad
86f8da37bc
#11971 Add cell selection tool
Select cell in 3D by entering IJK
Select cell in 3D by entering coordinate E N Depth
2025-01-28 11:20:32 +01:00
Magne Sjaastad
41aed338ab #11799 Add support for user defined 3D View
From the View menu, add Store and Apply User Defined View
Show Apply User Defined View in the View toolbar

Rename Look Down -> Top View and Look Up -> Bottom View
Update keyboard shortcuts to new naming
2025-01-28 07:08:20 +01:00
Magne Sjaastad
ca0179d118
Remove obsolete CMake statements
When using modern CMake and Qt6 we can remove obsolete source_group() and QT_MOC_HEADERS
2025-01-28 07:01:42 +01:00
Magne Sjaastad
a184af264b Add features to create polygons from visible contour map geometry 2025-01-19 16:19:55 +01:00
Magne Sjaastad
533885239d #12075 When activating an item, also select the item 2025-01-19 16:18:45 +01:00
jonjenssen
c13ce39b5e
Enable polygons in contourmaps (#12073)
* Enable polygons in ensemble statistics views and allow adding polygons in contour maps
2025-01-16 16:53:05 +01:00
jonjenssen
b999faf293
Statistics Contourmap UI updates (#12060)
* Enable time step selections and controls in view
* Support loading just what we need for statistics contour maps by using custom reader settings
* Close case once done with it unless there are active views.
* Add selection of user interface case (for result selection, display of wells, faults...)
* Avoid int overflow for nested progresses by using double
* Improve auto naming
* Misc. UI improvements
2025-01-14 21:52:54 +01:00
jonjenssen
8423b17832 Rel perm plot legend adjustments 2024-12-14 13:15:43 +01:00
jonjenssen
711cb267fd
Polygon UI updates (#11975)
* Polygon UI updates
2024-12-06 14:26:30 +01:00
Magne Sjaastad
996a10f781 Fix curve highlight for non-ensemble curves 2024-12-05 08:18:43 +01:00
Magne Sjaastad
586aefe0b6 Mark SUMO features with BETA 2024-12-04 18:47:07 +01:00
Jon Jenssen
4975f260ca Support showing both scaled and unscaled curves in relperm plot 2024-11-27 16:31:57 +01:00
Magne Sjaastad
3cc2958384
Summary Table: Add user option to set time range on x-axis
* Make sure all evenly distributed labels are drawn
* Add start and end data
2024-11-21 14:38:59 +01:00
jonjenssen
dbea0e2593
OpenGL DPI scaling support (#11883)
Scale opengl width/height based on primary screen DPI scaling.
2024-11-15 12:12:59 +01:00
Jon Jenssen
8ff8264d11 Use window icons to show toggle state in windows menu 2024-11-05 15:34:07 +01:00
jonjenssen
da683bed9e Move Rig well related things to subfolder and update include statements 2024-10-31 15:08:59 +01:00
jonjenssen
88118ee4e1 Privatize grid cell array 2024-10-29 18:17:31 +01:00
Magne Sjaastad
2814b92055
Qt6: Adjustments (#11804)
* Qt6: Avoid insertWidget, use addWidget
In Qt6, the insertWidget function checks if the index parameter is valid based on current widgets present in the layout. This is error prone, and use addWidget to avoid manual counting of index.

* Disable use of Qt keyword foreach

* Replace use of QRegExp with QRegularExpression
Replace use of QRegExp with QRegularExpression
Remove dependency on qt5compat module
Simplify an expression based on review

* Remove Qt5 ifdefs

* Guard access out of bounds seen in debug build

* Avoid reuse of string variable

* Disconnect all signals from the QOpenGLContext
The call stack when this assert happens indicates that there are more signals to be disconnected from the object. Crash is fixed by disconnecting all signals.

Assert seen in debug build:

ASSERT failure in caf::Viewer: "Called object is not of the correct type (class destructor may have already run)", file C:\Qt\6.6.3\msvc2019_64\include\QtCore/qobjectdefs_impl.h, line 130

* Fix issue related to delete of a linked view
Guard null pointer use in view linker. Remove complicated cleanup in destructor in Rim3dVew.
2024-10-28 13:09:18 +01:00
Magne Sjaastad
df091336e0 Move summary tools into separate folder 2024-10-22 07:28:43 +02:00
Magne Sjaastad
95b2f2bbd1 Add icons 2024-10-21 14:11:22 +02:00
Magne Sjaastad
eee00ee508 Update default dock state for Quick Access 2024-10-21 14:11:22 +02:00
Magne Sjaastad
2e305bd762 Add quick access dock widget 2024-10-21 14:11:22 +02:00
Magne Sjaastad
2619f1a33a #11771 Highlight all curves for a realization when picking
When selecting a single curve in an ensemble, select and highlight all curves connected to this realization.
2024-10-16 14:32:36 +02:00
Magne Sjaastad
709ec7378e
#11768 Show current time step in result plot 2024-10-14 09:08:47 +02:00
Magne Sjaastad
4719090b5f Define long names for summary vectors in JSON files 2024-10-14 08:53:28 +02:00
Magne Sjaastad
ca4a7b9000
Remove obsolete code related to Qt5
* Remove bundling of openssl1.1
* Remove obsolete compile flags
* Remove use of obsolete RimCommandObject
* Use QColor::isValidColorName
QColor::isValidColor is deprecated in Qt 6.6, QColor::isValidColorName was introduced in 6.4

* Make sure debug DLLs are copied when required
* Remove Qt5 from AppFwk
* Remove obsolete copy of Qt  DLLs
2024-10-07 10:16:48 +02:00
Kristian Bendiksen
835cf4a53c Qt6: Fix QMouseEvent.x() and .y() deprecation. 2024-10-04 15:27:43 +02:00
Kristian Bendiksen
ba9b66d75e Qt6: update to changed name of QButtonGroup signal.
Changed names from buttonClicked to idClicked.
2024-10-02 11:00:33 +02:00
Magne Sjaastad
212f5bf5ae
Add support for Qt6 and disable Qt5
Required changes to use Qt6 and disable support for Qt5. There are still some adjustments related to Qt6 to be done, but these changes are not required to make Qt6 compile on relevant systems.

* Build system changes Qt6
* Override enterEvent
* Update QKeySequence
* QtChart changes
* Use QScreen to instepct dotsPerInch
* Add app->quit()
* Required updates for code related to QString
* Use RiaQDateTimeTools
* Required changes related to regular expressions
* Support compile on Qt  < 6.5
When version < 6.5 is found, qt_generate_deploy_app_script() is disabled. Compilation of ResInsight will work, but the install target will be incomplete.
* Octave: add missing header.
* Qt Advanced Docking: force Qt6 where both Qt5 and Qt6 is available.

---------

Co-authored-by: magnesj <1793152+magnesj@users.noreply.github.com>
Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2024-09-30 11:21:17 +02:00
Magne Sjaastad
864d20bf0d #11715 Replace assert with a warning message 2024-09-19 12:47:29 +02:00
Magne Sjaastad
89bd3a8c90 #11357 Reorganize menu in 3D view
Simplify menu text for range filter
Reorganize to improve readability
Simplify cell filter menu in Project Tree
2024-09-16 09:53:23 +02:00
Magne Sjaastad
9d66e6195e
Release adjustments
* Use appendMenuItems instead of ContextCommandBuilder
* Specify RimEclipseCaseCollection menu features once
* Add function to enable up/down arrows for combo box
* Guard crash when closing project
* Improve UI for grid case ensemble
- Create a view for the first case in the ensemble
- Show case name in view title
- Enable up/down buttons to Eclipse case
* Make sure 3D views in grid ensemble are created on project load
2024-09-16 09:49:22 +02:00
Magne Sjaastad
74cfc14143
#11696 Make sure PC axis is visible when required
Use QwtPlotCurve directly to make it possible to see the Y Axis
2024-09-14 17:05:53 +02:00
Magne Sjaastad
50185418c2 Rename to Data Source Property Editor 2024-09-14 15:08:15 +02:00
Magne Sjaastad
eb0b02ae46 #9935 Avoid storing dock layout if window never has been visible
Do not save the state if the window never has been visible. This will write out a state that is not valid.
2024-09-12 09:16:28 +02:00
Kristian Bendiksen
58c73debe0 Add project tree for cloud data. 2024-09-09 14:32:32 +02:00
magnesj
fc2106edb0 Fixes by clang-tidy 2024-09-02 15:26:44 +02:00
Kristian Bendiksen
d8eb34c00d Janitor: fix memory leaks. 2024-09-02 13:58:00 +02:00
Kristian Bendiksen
cbb7e101e2 #11649 Hide X axis in Result Plot before data has been set. 2024-08-30 10:21:49 +02:00
Kristian Bendiksen
e9c46c5cec Rename RimSummaryCaseCollection to RimSummaryEnsemble. 2024-07-30 08:55:12 +02:00
Kristian Bendiksen
4aadf6e801 Correct or remove ssihub references. 2024-07-29 12:24:58 +02:00