Commit Graph
46 Commits
Author SHA1 Message Date
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
Gaute Lindkvist ddf8d8515a #4257 Rename Legend Definition to color legend 2019-03-29 12:47:35 +01:00
Gaute Lindkvist f3c188ef56 #3807 Rename RimContourMapView to RimEclipseContourMapView 2019-01-11 16:06:53 +01:00
Gaute Lindkvist 53fad80e89 2d Maps: Renames to make classes and variables more consistent.
* Everything is now named something related to ContourMap:
  - Rim2dEclipseView -> RimContourMapView
  - Rim2dGridProjection -> RimContourMapProjection
  ....
2018-11-09 09:11:29 +01:00
Magne Sjaastad 174998335f #3629 System : Use disableIO() instead of disableRead and disableWrite 2018-11-05 14:42:39 +01:00
Gaute Lindkvist f80472ffa6 #3540 Create seperate 2d view with parallel, look down and linked views 2018-10-24 15:21:53 +02:00
Magne Sjaastad dc9edccb54 System : Move name to private field 2018-09-24 22:15:34 +02:00
Magne Sjaastad 20facfd583 Whitespace 2018-09-12 13:46:03 +02:00
Magne Sjaastad 67b9561c04 #3343 HoloLens Export : Use factory to create option items for views 2018-09-12 11:51:52 +02:00
Magne Sjaastad a0e4f71138 #2715 Add direct access to RigFemPartCollection from a GeoMechView 2018-04-25 12:45:58 +02:00
Magne Sjaastad 1ae30ef11a (clang-tidy) : modernize-use-nullptr 2018-02-18 18:56:43 +01:00
Jacob Støren 29ac24f3dd #2426 Add working legends to 2D intersection Views. Refactor to make legend update code work from a separate view with separate legend configs. Make sure legend and results are updated as the main view is updated. Adjust legendconfig->setTitle to use QString 2018-02-02 07:48:27 +01:00
Jacob Støren b092565a61 #2331 Introduce new intermediate class RimGridView 2018-01-15 14:53:48 +01:00
Jacob Støren cb6d49a611 #2331 Renamed RimView to Rim3dView 2018-01-09 10:11:28 +01:00
Jacob Støren cde71ef07a #1344 AppFwk: Renamed methods in uiTreeOrdering to align with uiOrdering 2017-03-22 15:57:04 +01:00
Magne Sjaastad 647b4348eb Renamed to eclipseCaseData 2017-03-15 09:10:16 +01:00
Magne Sjaastad 48599f7a94 #1257 More null pointer guards based on CppCheck 2017-02-27 14:01:18 +01:00
Magne Sjaastad 1991a3c32d #1255 Removed includes from RimCellRangeFilterCollection 2017-02-24 14:01:42 +01:00
Magne Sjaastad 50b9fe0ece #1068 Removed obsolete include of RigCaseData 2017-01-10 09:20:03 +01:00
Magne Sjaastad ccd4cb24c9 #1068 Avoid include of RigMainGrid.h in RigCaseData.h 2017-01-10 09:20:03 +01:00
Magne Sjaastad 9cacf0db6c #1068 Access mainGrid directly from RimEclipseView 2017-01-10 09:20:03 +01:00
Magne Sjaastad a61b3ad5f6 #1059 Rename 2017-01-05 07:57:37 +01:00
Magne Sjaastad a9984c4bd5 #1059 System : Use PdmOptionItemInfo constructor for PdmObjects 2017-01-05 07:53:14 +01:00
Magne Sjaastad a1e1443bf0 #552 Linked Views : Enable cursor in dependent views as default 2016-12-16 14:54:31 +01:00
Magne Sjaastad 2b17366310 #552 Linked Views : Added const for clarity 2016-12-15 18:34:42 +01:00
Magne Sjaastad 90a2d384d3 #552 Linked Views : Prototype - show label at cursor position in dependant views 2016-12-15 18:20:43 +01:00
Magne Sjaastad 2d202b1ced #559 : Linked Views: Linking legend definitions 2016-12-13 22:14:24 +01:00
Magne Sjaastad 40ebd04f60 #947 Linked views : Guard against null pointer access 2016-11-02 12:23:41 +01:00
Magne Sjaastad 649c11efcb #924 Cleaned up includes and use RimGeoMechResultDefinition instead of RimGeoMechCellColors 2016-10-18 07:31:02 +02:00
Magne Sjaastad 8ae75b5f27 AppFwk : Added concept of isUiTreeHidden and isUiTreeChildrenHidden 2016-10-12 10:08:08 +02:00
Magne Sjaastad 531aaaa445 AppFwk : Fixed typo of firstAncestorOrThisOfType 2016-09-21 13:59:41 +02:00
Magne Sjaastad cb16f3c322 Fixed issues when loading Odb-projects into ResInsight with no Odb support 2016-01-11 10:08:47 +01:00
Jacob Støren 7b65cb91ce (#625) Added access to the generalized propertyFilterCollection in the view 2015-11-12 10:48:13 +01:00
Magne Sjaastad 764f26c20c Improved text when unlinking range filters 2015-11-03 09:55:28 +01:00
Magne Sjaastad 7d83c5a06a Fixed missing update of icons during removeOverrides() 2015-11-02 14:07:05 +01:00
Magne Sjaastad c8ffce4491 Renamed UI to "Cell Color Result" 2015-11-02 11:34:03 +01:00
Jacob Støren 1fa3c58a2c (#620) Made rangefilter linking always possible. Using mapping when applicable.
If the mapping is not applicable, we just use the numbers as is.
If the ecl case is inside the geom case, we use the mapping.
Removed initAfterRead on ViewController
2015-10-29 11:21:08 +01:00
Jacob Støren 14dedf5d4a (591) Only possible to link property filter between same-case-views 2015-10-24 12:27:39 +02:00
Jacob Støren 658849eefc (#584) Linked Views: Use Range filter mapping only when ecl bbox is inside geom bbox
Set range and propfilter linking default off
2015-10-24 12:27:34 +02:00
Jacob Støren b15b23b856 (#540) Removed the Visible Cells Sync from Gui.
Moved UpateOverrides from init afterRead to OpenProject
2015-10-22 16:02:28 +02:00
Jacob Støren e094ca8e91 (#540) Guarding against crash when opening project with range filter override. 2015-10-22 15:34:41 +02:00
Magne Sjaastad 8de8100c3e (#539) When view is unlinked, ask user to keep either override or original range filter collection 2015-10-21 13:16:09 +02:00
Jacob Støren 58363dbcf9 (#540) Wip: Range filter mapping alive! Needs more adjustments.
Fem to Ecl is not perfect.
2015-10-20 17:41:36 +02:00
Jacob Støren 8b894d8515 (#540) Override range filter update system improved
Rename of forgotten viewLink ->viewController
Remember to update group of linked views before adding a new dependent view.
2015-10-20 11:15:30 +02:00
Magne Sjaastad ab0e3819a1 (#539) Added framework for update of range filter based on master
Propagate pointer to a range filter if only a single filter is modified
Moved lifetime management of range filter collection to RimView
2015-10-19 12:10:28 +02:00
Magne Sjaastad 67a62f4f02 Renamed RimViewLink to RimViewController 2015-10-13 10:24:39 +02:00