Commit Graph

17456 Commits

Author SHA1 Message Date
Magne Sjaastad
90611208c9 Prototype use of uiOrdering 2024-10-15 15:52:43 +02:00
Magne Sjaastad
a93ecb3940 Derive from RimFieldQuickAccessInterface when quick access fields can be created 2024-10-15 14:04:06 +02:00
Magne Sjaastad
56836b5c58 Cleanup 2024-10-15 14:04:06 +02:00
Magne Sjaastad
f086f33402 Fix build 2024-10-15 14:04:06 +02:00
Magne Sjaastad
706eb31003 Make it possible to remove fields 2024-10-15 14:04:06 +02:00
Magne Sjaastad
d40b240830 Make sure update of Quick Access happens after active view is set 2024-10-15 14:04:06 +02:00
Magne Sjaastad
57e87d8c47 Use uiOrdering to get all child fields 2024-10-15 14:04:06 +02:00
Magne Sjaastad
5ced7e1d2f Add pin icon and rename to Pin Field to Quick Access 2024-10-15 14:04:06 +02:00
Magne Sjaastad
c56cd59080 Add RimFieldReference 2024-10-15 14:04:06 +02:00
Magne Sjaastad
5526ed1a82 rename 2024-10-15 14:04:06 +02:00
Magne Sjaastad
1769b24b58 Add feature 2024-10-15 14:04:06 +02:00
Magne Sjaastad
c0d99cafc1 Add Quick Access panel 2024-10-15 14:04:06 +02:00
Magne Sjaastad
a42ad2201e Guard null pointer use 2024-10-15 14:04:06 +02:00
Magne Sjaastad
7009e25afe Remove duplicated code 2024-10-15 14:04:06 +02:00
Magne Sjaastad
eeb5f297c2 Bump to 2024.09.2-dev.03 2024-10-14 09:37:41 +02:00
Magne Sjaastad
360024c4bc Make sure the insertWidget function inserts at the correct index
Insert the first widget at index 1 causes crash in Qt6
2024-10-14 09:19:21 +02:00
Magne Sjaastad
709ec7378e
#11768 Show current time step in result plot 2024-10-14 09:08:47 +02:00
Magne Sjaastad
8d42b321d3 Use copy_if_different to avoid build errors 2024-10-14 08:53:28 +02:00
Magne Sjaastad
4719090b5f Define long names for summary vectors in JSON files 2024-10-14 08:53:28 +02:00
Magne Sjaastad
0330c3cacd #11761 Add special parsing of SLAVES keyword as the default parsing fails 2024-10-10 11:41:40 +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
c75990551a #11746 Simplify layout to silence warning from Qt.
Fixes #11746
2024-10-04 16:47:06 +02:00
Magne Sjaastad
f67d736c05 Bump to dev.02 2024-10-04 15:44:12 +02:00
Magne Sjaastad
b9448c2430
Additional Openssl adjustments 2024-10-04 15:28:42 +02:00
Kristian Bendiksen
d01ef325fa GA: Remove Qt5 builds for AppFwkUnitTest jobs. 2024-10-04 15:27:43 +02:00
Kristian Bendiksen
3797aa8211 Qt6: Fix usage of deprecated QApplication::fontMetrics() 2024-10-04 15:27:43 +02:00
Kristian Bendiksen
bf1c7f4b04 Qt6: Fix deprecated QVariant::type() calls.
Use recommended QMetaData::type().id() instead.
2024-10-04 15:27:43 +02:00
Kristian Bendiksen
58656f900b Qt6: string-related deprecations. 2024-10-04 15:27:43 +02:00
Kristian Bendiksen
835cf4a53c Qt6: Fix QMouseEvent.x() and .y() deprecation. 2024-10-04 15:27:43 +02:00
Magne Sjaastad
a04d41b043 Use description as key in vcpkg.json 2024-10-04 13:32:53 +02:00
Magne Sjaastad
8d828fdc84 Disable Octave build temporarily 2024-10-04 13:25:20 +02:00
Magne Sjaastad
226ad98931 Add vcpkg.json used to build OpenSSL3 2024-10-04 13:25:20 +02:00
Jon Jenssen
4e97672e1d Fix incorrect opengl viewport size on Windows if scaling != 100%. To be replaced by proper fix later. 2024-10-03 19:30:53 +02:00
Magne Sjaastad
7362b6a357 Bump to 2024.09.2-dev.01 2024-10-02 15:20:27 +02:00
Magne Sjaastad
aabe7b064d #11735 Use static well path geometry if no simulation well data is available
Crash when creating intersection on a simulation well no well data is present at time step
2024-10-02 15:20:27 +02:00
Magne Sjaastad
eca17ab92e #11737 Set Unknown as the default type for CONFAC
RFT segment results are accessed using a category, either Annulus, Device, Tubing or Unknown. Set the category for CONFAC to Unknown.
2024-10-02 15:20:27 +02:00
Magne Sjaastad
e7a082ac29 Regression Test: Find relevant objects and show them in Property Editor 2024-10-02 15:20:27 +02:00
Magne Sjaastad
f43ecd5e92 #11731 Remove creation of same groups twice in RimWellLogExtractionCurve 2024-10-02 15:20:27 +02:00
Magne Sjaastad
f031a81803 #11731 Detect when a group box have the same name as an existing group box
Detect when a group box have the same name as an existing group box. This is not currently supported, and leads to dangling group boxes in the Property Editor.

Trigger assert and crash when the situation appears.
2024-10-02 15:20:27 +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
Kristian Bendiksen
b760fcebe2 #11689 Well Target Candidates: generate on well target clusters for single case. 2024-09-30 13:42:28 +02:00
Kristian Bendiksen
13cf450831 Add result calculator for PORV*SOIL, PORV*SGAS, and PORV*(SOIL+SGAS). 2024-09-30 13:42:28 +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
Kristian Bendiksen
596ab564c8 Fix "nonnull asserts" warnings on gcc 13.
The C++ standard guarantees that the this pointer is never nullptr
in valid programs.
2024-09-27 14:42:53 +02:00
Kristian Bendiksen
69d947309a Ubuntu 24.04 support: modernize pip install, and silence gcc 13 warnings. 2024-09-27 14:42:53 +02:00
Magne Sjaastad
300dbdebc7 Bump to 2024.09.1-dev.01 2024-09-27 12:47:15 +02:00
Magne Sjaastad
8d0883cd9c
Merge pull request #11728 from OPM/main
Merge from main
2024-09-27 11:32:39 +02:00
Magne Sjaastad
0a0c8fbbe3
Merge pull request #11727 from OPM/dev
2024.09
2024-09-27 11:31:46 +02:00
Magne Sjaastad
5c60fa7b88 Prepare for 2024.09
Add keywords and update license info
2024-09-27 10:39:53 +02:00
Magne Sjaastad
d7022fb5f7 Guard null pointer access 2024-09-27 10:39:53 +02:00