Commit Graph

44 Commits

Author SHA1 Message Date
Gaute Lindkvist
2de49891fb #6652 Fix missing legend entries in summary editor 2020-10-01 03:46:28 -07:00
Magne Sjaastad
523cdc2b7d Janitor : Use class enum 2020-08-14 11:00:36 +02:00
Magne Sjaastad
d276d0eefe #6252 Category Colors : Name and corresponding color do not match
Set category data directly to the category mapper with no reverse ordering
When drawing the color legend, always draw categories with lower index first
2020-08-14 11:00:36 +02:00
Kristian Bendiksen
0b9577df71 #5874 Remove direct accessor to obsoleted RimRegularLegendConfig::colorRange field. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
c366e85682 Refactor delete operations for pdm objects. 2020-05-22 07:02:53 +02:00
Kristian Bendiksen
c016c02e40 Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
2020-05-12 12:01:44 +02:00
Magne Sjaastad
83914006fd Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
3f88fe197a Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
0cd0c7d80d #5612 Saturation Pressure Plots : Remove duplicated code 2020-02-28 12:39:24 +01:00
Magne Sjaastad
1187a2e551 #5612 Saturation Pressure Plots : Add support for user defined time step 2020-02-28 12:39:24 +01:00
Magne Sjaastad
6530d12e71 #5593 Saturation Pressure Plot: Use time step 0 as default 2020-02-28 12:39:24 +01:00
Magne Sjaastad
c82df63e10 #5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
2020-02-12 13:35:31 +01:00
Gaute Lindkvist
4829c5eba2 Move to pixel size instead of point size for fonts 2020-01-07 14:59:18 +01:00
Gaute Lindkvist
f279e85c2c Improved font handling 2020-01-07 14:26:46 +01:00
Magne Sjaastad
afc9ace33e #5279 Formations : Add const and simplify access 2020-01-03 09:59:38 +01:00
Gaute Lindkvist
47b93dc0d1
Implement pdf rendering (#5250)
* First PDF creation support

* Reimplement info box

* Set title and make overlay frame margins more unified

* Remove a style sheet that was never meant to be applied to Project Tree

* Update RiuDraggableOverlayFrame when changing content

* Default page layout in Preferences

* undo removal of elision

* Remove friend class assignment in cafCategoryMapper

* the required methods have been made public

* Fix up after review

* Remove spurious const on by-value return

* Fix compile errors on Linux

* Fix size adjustment of legends with plot resizing
2019-12-18 12:25:19 +01:00
Jacob Støren
15aa4d6e0b Merge dev and feature-#5019-separate-intersection-results branch 2019-11-25 15:50:29 +01:00
Gaute Lindkvist
cf7608e6bf Improve RimNameConfig API 2019-11-25 15:19:53 +01:00
Gaute Lindkvist
293290827b Fix crash when closing and reopening plots 2019-11-25 08:32:30 +01:00
Jacob Støren
b5e39519c5 #5019 Separate intersection legends in place in ordinary views
Needs some cleanup and not working in 2dintersection views
2019-11-22 12:36:39 +01:00
Magne Sjaastad
96a26662fc Janitor : Apply clang-format fixes on codebase in ApplicationCode 2019-11-04 11:34:34 +01:00
Gaute Lindkvist
c578a43b53 Introduce RimGridPlotWindow and RiuQwtPlotWidget 2019-10-24 14:59:16 +02:00
Gaute Lindkvist
d681b75d24 Rename RifEclipseOutputDataTable* to RifTextDataTable* 2019-10-15 17:05:46 +02:00
Gaute Lindkvist
de8a5a59f3 Clang-format changed files 2019-09-06 13:17:36 +02:00
Gaute Lindkvist
45103da354 Fix crashes related to name config and make name correct for old plots when loading 2019-09-06 10:59:47 +02:00
Magne Sjaastad
be40ca25af #4411 Grid Cross Plot : Ensure same ordering when updating data 2019-07-31 18:26:50 +02:00
Magne Sjaastad
74f234784b #4411 Grid Cross Plot : Add comments 2019-07-31 18:25:54 +02:00
Magne Sjaastad
fdc1f6b645 #4411 Grid Cross Plot : Fix inverted category legend in plot 2019-06-06 07:20:17 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless (#4392)
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert "#4379 Documentation : Update command line parser for import of summary files"

This reverts commit d0b5357ed4.

* Unfinished WIP

* Builds but crashes

* Refactored code now builds and runs

* ResInsight can now run the unittests headless

* Can run some command files successfully

* Build on Linux

* Extra headless hack header

* Moved PdmUiItem hack to cpp file

* Fix headless crash in RimWellAllocationPlot

* Handle error gracefully if ExportSnapshots command is executed from console

* Add caf::QIconProvider and remove some hacks

* Also made the greying out of disabled icons work for a couple of cases where it didn't.

* Linux build fix

* #4380 Reimplement fix df62a41397 by @magnesj on top of Headless code changes

* #4379 Reintroduce kode from d0b5357ed4 by @magnesj

* #4377 Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00
Magne Sjaastad
60153b20ec
Merge pull request #4350 from OPM/cpp-check-cleanup
Cpp check cleanup
2019-04-24 09:09:18 +02:00
Gaute Lindkvist
c8184065e3 #4326 Invert Grid Cross Plot Y-axis when displaying DEPTH 2019-04-23 08:35:18 +02:00
Magne Sjaastad
8d4142187e #4348 System , cppcheck : Remove unused functions 2019-04-21 09:11:20 +02:00
Gaute Lindkvist
a98b1d3494 #4339 Show actual parameter names instead of X and Y in Grid Cross Plot Show Data 2019-04-15 11:55:40 +02:00
Gaute Lindkvist
983fed11a3 #4323 Make sure time step legend doesn't show up unexpectedly
* Don't make it the default. The legend is handled well when changing to time step
2019-04-15 11:12:16 +02:00
Gaute Lindkvist
8846798ccf #4338 Add grouping result to Grid Cross Plot Data set property editor 2019-04-15 11:06:27 +02:00
Gaute Lindkvist
48c6139cb2 #4337 Group grid cross plots created from view by formations 2019-04-15 10:45:46 +02:00
Gaute Lindkvist
c2032fd948 Set grouping by formations and category colors as default for Grid Cross Plots if formations are available 2019-04-15 09:36:13 +02:00
Gaute Lindkvist
c1a5397a6f #4282 Make RimCrossPlotDataSet UI take up less space by using an invisible group around properties 2019-04-05 13:05:47 +02:00
Gaute Lindkvist
14bcfb8122 #4274 Reapply side-by-side x/y properties in Grid Cross Plot Data Set 2019-04-04 08:47:37 +02:00
Gaute Lindkvist
5e517e47dd Labels on top fixes 2019-04-04 08:47:36 +02:00
Gaute Lindkvist
69b01bcca7 Fix typo in GridCrossPlotDataSet 2019-04-03 08:39:25 +02:00
Gaute Lindkvist
935eaf7e59 #4272 Temporary fix by not having X and Y-property in Grid Cross Plot Data Set side-by-side 2019-04-03 08:37:56 +02:00
Gaute Lindkvist
c2eafebfc8 Add a few sensible asserts to RimGridCrossPlotDataSet 2019-04-03 08:37:56 +02:00
Gaute Lindkvist
59229b89b7 #4258 Rename Grid Cross Plot "Curve Sets" to "Data Sets". Also renamed code
* Kept XML-strings to avoid breaking compatibility
2019-04-02 08:20:10 +02:00