Commit Graph
47 Commits
Author SHA1 Message Date
github-actions[bot] 674b764cb6 Fixes by misspell-fixer 2020-06-04 08:24:58 +02:00
Gaute Lindkvist 2fe4372dc2 First round of caf::FontTools 2020-06-03 14:00:04 +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
Gaute Lindkvist 2e79cf614f Refactor and rename QIconProvider -> IconProvider (#5893)
* Refactor and rename QIconProvider -> IconProvider
* Generate icons on demand as unique_ptrs
2020-05-09 11:25:11 +02:00
Magne Sjaastad f89dcf4e52 Convert to enum class 2020-04-24 11:40:22 +02: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
Jacob Støren 63eea9de10 #5317 Made RimSurfaceInView inherit RimIntersection
to get all the separate results stuff from there.
2020-01-17 13:24:24 +01:00
Jacob Støren cf74891952 #5317 Add separate results definition objects for Reservoir Surfaces 2020-01-17 13:24:24 +01:00
Jacob Støren e6d96316d4 #5285 Visualization and update of Surfaces 2020-01-08 12:11:10 +01:00
Jacob Støren 45a3225ec8 #5285 Surface Import command. SurfaceInView tree-items. Delete.
Ready to start on visualization code
2020-01-08 12:09:51 +01:00
Kristian Bendiksen 3583e2ee10 #5125 Update RimWellMeasurementInViewCollection when measurements are imported. 2019-12-03 21:19:02 +01:00
Jacob Støren ad25bb89c2 #5112 Add cell highlight on intersections with separate intersection result 2019-11-28 14:09:53 +01:00
Kristian Bendiksen 6bec758d15 #5001 Add RimWellMeasurementInViewCollection and legends. 2019-11-27 12:05:51 +01:00
Jacob Støren 191419b6b4 clang-format after intersection rename 2019-11-26 13:56:02 +01:00
Jacob Støren 0e14c63f07 Rename crossSection to intersection in general code 2019-11-26 12:45:08 +01:00
Jacob Støren 62ed71ed76 #5019 Intersections have first data source as ianctive default
Icon state update for IResDefCollection
2019-11-20 10:39:48 +01:00
Jacob Støren fec449dc43 #5019 Add separate intersection results collection and items 2019-11-20 10:39:47 +01:00
Magne Sjaastad 96a26662fc Janitor : Apply clang-format fixes on codebase in ApplicationCode 2019-11-04 11:34:34 +01:00
Jacob Støren e85cd1b456 #4880 Further renaming of methods in Rim3dView 2019-11-01 15:57:04 +01:00
Jacob Støren 7f3f6419ac Rename virtual methods in Rim3dView
To make it more clear that they are virtual methods to be distinguished from implementations in the base class. Also make their meaning somewhat more expressed.
2019-11-01 15:57:03 +01:00
Jacob Støren b2f8c56a0d Fixed crash on project close introduced by update of MDI window title with Primary/Controlled 2019-10-29 12:47:01 +01:00
Jacob Støren 86cb90515b #4894 Fix missing updates when changing zscale and using linked views.
Prepare for fix of scalez-problems with comparison view
2019-10-21 09:01:35 +02:00
Magne Sjaastad fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Magne Sjaastad 188e81d3d2 #4494 Grid Statistics : Update and compute data when visible cell changes from toggling LGR grids 2019-06-21 12:16:09 +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 df62a41397 #4380 Preferences : Changing scene font size when geo mech view is open causes crash
Guard access to annotationCollection, as this is nullptr for geo mech views.
2019-04-30 07:40:00 +02:00
Gaute Lindkvist 9834a421c8 Fix problem in font size application to annotations 2019-04-12 14:47:21 +02:00
Gaute Lindkvist 9d06b59357 #4255 Read default plot font sizes from preferences and apply 2019-04-12 14:47:21 +02:00
Gaute Lindkvist 798e3ff19e #4256 Update fonts in Project and views when changing preferences 2019-04-12 14:47:21 +02:00
Magne Sjaastad 6db80f40b9 #3856 Update copyright headers 2019-01-09 15:29:24 +01:00
Bjørn Erik Jensen 295da5658e #3793 View auto name. Move ViewNameConfig to 3dView and replace current name field. InitAfterRead update to be backward compatible 2018-12-14 13:43:25 +01:00
Bjørn Erik Jensen 35405ebafc #3706 Annotations. First commit. Not tested 2018-11-23 13:33:59 +01:00
Magne Sjaastad 174998335f #3629 System : Use disableIO() instead of disableRead and disableWrite 2018-11-05 14:42:39 +01:00
Magne Sjaastad a424546e7c Revert "#3558 Grid items in Project Tree : Use main grid to control fault visibility"
This reverts commit 6d55b5d242.
2018-10-29 11:23:19 +01:00
Magne Sjaastad 6d55b5d242 #3558 Grid items in Project Tree : Use main grid to control fault visibility 2018-10-29 09:18:00 +01:00
Magne Sjaastad 5906e68245 #3558 Grid items in Project Tree : Control grid visibility from checked state 2018-10-26 16:08:27 +02:00
Gaute Lindkvist f80472ffa6 #3540 Create seperate 2d view with parallel, look down and linked views 2018-10-24 15:21:53 +02:00
Bjørn Erik Jensen 608dae30a0 #3517 Temp LGR. Add nodes below Grids node. Command for deleting temp LGRs 2018-10-24 13:01:30 +02:00
Gaute Lindkvist 222ac5137f #3498 Implement 2d grid projection prototype with regular grid. 2018-10-16 10:44:25 +02:00
Magne Sjaastad 59f9d189e5 #3214 Use template function to get referencing objects of specified type 2018-08-15 13:01:11 +02:00
Jacob Støren 52047819d6 #2891 Convert 2018.01.01 drawstyle from fault to full if it was in none-grid mode
Makes the setup more consistent with what they had, and what the user will get when turning the grid back on.
2018-05-11 16:40:30 +02:00
Magne Sjaastad b6aa35bf11 #2793 RegTest, Fault visibility : Add translation code for older project files 2018-04-24 12:56:28 +02:00
Jacob Støren f7bfe8d003 #2436 Separated Hide grid cells mode as a separate value. Make sure that all the possible drawstyles works as expected, both for 2D intersection view and 3D views. 2018-04-05 07:41:29 +02:00
Jacob Støren b755ddc11d #2552 Embed pipe visualization of Simulation Wells in intersection views 2018-03-14 15:13:24 +01:00
Jacob Støren d74807d669 #2535 Use the MainWindowTools class instead of MainWindow directly (part 1) 2018-02-27 16:46:53 +01:00
Magne Sjaastad 1ae30ef11a (clang-tidy) : modernize-use-nullptr 2018-02-18 18:56:43 +01:00
Jacob Støren 0debeafd68 #2331 Move RimGridView to separate files 2018-01-16 09:37:08 +01:00