Commit Graph

19 Commits

Author SHA1 Message Date
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
21843820e6 Update clang-tidy.yml
* Make sure clang-tidy action use .clang-tidy config file
Use add-paths to instruct create-pull-request to a sub folder to avoid diff from Qt and vcpkg

* Use empty() in macro to avoid clang-tidy warning
* Add NOLINT to CAF_ASSERT
* Add NOLINT to cvfAssert
2023-10-03 09:04:08 +02:00
Kristian Bendiksen
959c9d48fa #10649 ApplicationLibCode: Use collection.empty() instead of comparing with size 2023-09-27 10:16:37 +02:00
Kristian Bendiksen
5bf2c2a89d #10367 Janitor: Remove unneccessary 'this' pointers 2023-08-07 13:38:27 +02:00
Kristian Bendiksen
26f13012b4 #10128 Reveal Summary: add ensemble import. 2023-04-25 09:42:18 +02:00
Kristian Bendiksen
ff209ad7c2 Refactor ensemble import dialog
* #9773 Refactor ensemble import dialog.
* #9773 Add support for ensemble import of StimPlan/Reveal summary data.
* #9773 Add method for finding min and max time steps.
* #9773 Add option for resampling to hour intervals.
* #9773 Add option for resampling to minute intervals.
* #9773 Ensemble statistics: determine sub-sampling period dynamically.
* Use RiaWeightedMeanCalculator for curve resampling.
* Add HOUR and MINUTE to date time app enum.
* #9773 Generate better ensembles for StimPlan summaries.
* #9773 Fix parameters.txt lookup for StimPlan summaries
* Refactor: Improve interface of RicImportSummaryCasesFreature::createSummaryCasesFromFiles

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2023-04-20 10:16:43 +02:00
Magne Sjaastad
b7f8d0e0f1 Increase warning level
* Set warning level to /W3 for MSVC to catch more warnings
* remove several excluded checks for clang
* removed several unused variables
* Hide warnings qwt
* add missing parentheses in logical expressions
* Remove double check on same logical expression
2023-04-17 15:57:39 +02:00
Magne Sjaastad
f8c5cf389f clang-format: Set column width to 140
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-02-26 10:48:40 +01:00
Magne Sjaastad
2e64d77538 #8314 Ensemble import: Perform file search only on "Find" button
Automatic search when input changes can be time consuming and confusing.
2021-12-01 16:27:28 +01:00
Magne Sjaastad
9940b4ea50 Ensemble Dialog : Add missing signal blocker 2021-10-21 12:45:48 +02:00
Magne Sjaastad
c40efa8db0 Janitor : Use correct signal for QComboBox 2021-10-06 07:57:47 +02:00
Magne Sjaastad
0d4ab8b594 #8048 Everest Import: Group into separate ensembles 2021-09-30 09:08:09 +02:00
Magne Sjaastad
17c5f473be #8033 Ensemble Search Dialog : Allow edit of file extensions
Ensemble Search Dialog: Improve UI layout
2021-09-24 08:42:07 +02:00
Kristian Bendiksen
e11c564802 #8031 Ensemble import dialog: rename to 'Group by ensemble' 2021-09-22 13:50:20 +02:00
Kristian Bendiksen
c6f04a6ad6 #7965 Add check box for choosing grouping by iteration. 2021-09-22 08:56:32 +02:00
Magne Sjaastad
dc3a962cae File Search Dialog : Do not search on launch 2021-09-13 14:11:54 +02:00
Magne Sjaastad
c603e6fe90 Janitor : Improve Ensemble File Search dialog
- auto search on launch
- add recently used history to file filter
2021-09-09 15:35:28 +02:00
Magne Sjaastad
d754ef4705 Janitor : Several fixes by clang-tidy and use of clang compiler 2021-04-05 11:51:23 -07:00
Gaute Lindkvist
81699db187 Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00