Commit Graph

22 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
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
Jørgen Herje
2e6268ff0a Improve Grid Statistics Plot UI (#9831)
- Set default frequency enum to relative frequency [%]
- Set current view selected in filter by 3D view visibility by default
- Add labels for statistics data
- Add UI to change number of bins in histogram
- Add control of font size of axis values and axis titles
2023-02-13 09:59:29 +01:00
Magne Sjaastad
3c35244809 #8420 Janitor: Remove empty parameters in initialization macros 2022-01-07 08:31:52 +01:00
Magne Sjaastad
2a65636ba3 #8250 Use variadic macros and remove obsolete parameters 2021-11-14 15:26:09 +01:00
Kristian Bendiksen
1e83254e9e Make P10/P90 calculation style more explicit 2021-09-16 10:38:27 +02:00
Kristian Bendiksen
6317489af8 #7666 Statistics Plot: Option to show histogram as curve 2021-07-02 09:39:18 +02:00
Kristian Bendiksen
0cbfd11dc3 #7751 Statistics Plot: add relative frequency percentage option 2021-07-02 09:39:18 +02:00
Kristian Bendiksen
84bf5d5454 #7752 Statistics Plot: Add titles for x and y axis 2021-07-02 09:39:18 +02:00
Magne Sjaastad
c6be89b61c Janitor : Adjust default font size 2021-06-10 11:06:36 +02:00
Kristian Bendiksen
ec239f9643 #7667 Statistics Plot: add number format settings. 2021-05-29 10:00:27 +02:00
Kristian Bendiksen
5d703b2a08 #7711 Statistics Plot: Remove border when gap width is zero. 2021-05-29 10:00:27 +02:00
Kristian Bendiksen
ae2af64c24 #7712 Statistics Plot: replace "Bar Width" with "Gap Width"
Also changed range from fraction to percentage, and inverted logic.
2021-05-29 10:00:27 +02:00
Kristian Bendiksen
5566db7b28 Use less generic names to work-around msvc compilation failure 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
31734d04cb Grid Statistics Plot: Add ui for histogram configuration. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
8d1bc7bfd9 #7664 Statistics Plot: add option for relative frequency in histogram 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
b00734265a #7682 Statistics Plot: Add user-defined histogram bar width. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
0dfe9e2383 #7665 Grid Statistics Plot: make histogram bar color configurable. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
647f7834f0 #7663 Ensemble Statistics Plot: Add user input for number of histogram bins. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
78e4379003 Guard against inf warning from QtCharts in StatisticsPlot. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
359df8360e Refactor: Make a copy of histogram data. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
b662a87267 #7609 Refactor to reuse plotting part of Statistics Plot. 2021-05-10 14:03:52 +02:00