Commit Graph

59 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
Magne Sjaastad
803e6cd2b4 #4068 System : Add forward declare 2019-02-12 14:49:37 +01:00
Gaute Lindkvist
b316e1ee83 #3552 and #453 Tile windows by master/managed view + position if they have different positions 2018-10-24 15:21:54 +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
Magne Sjaastad
4877e058ed Fix warnings 2018-09-27 20:17:56 +02:00
Magne Sjaastad
dc9edccb54 System : Move name to private field 2018-09-24 22:15:34 +02:00
Magne Sjaastad
63354c7fd0 Use range based for 2018-09-12 13:50:13 +02:00
Magne Sjaastad
20facfd583 Whitespace 2018-09-12 13:46:03 +02:00
Magne Sjaastad
3bc85ce794 #2727 Legends : Rename to RimRegularLegendConfig 2018-04-18 10:10:39 +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
Bjørnar Grip Fjær
f59f52c848 #800 Ensure data is loaded when linking cell result in views 2017-04-07 15:58:49 +02:00
Magne Sjaastad
ecfd61ce68 #1288 Moved copy of camera properties to RimViewManipulator 2017-03-10 13:13:31 +01:00
Magne Sjaastad
48599f7a94 #1257 More null pointer guards based on CppCheck 2017-02-27 14:01:18 +01:00
Magne Sjaastad
9cacf0db6c #1068 Access mainGrid directly from RimEclipseView 2017-01-10 09:20:03 +01:00
Jacob Støren
39ff269e5f Merge branch 'dev' of https://github.com/OPM/ResInsight.git 2016-12-20 14:43:28 +01:00
Jacob Støren
ed5e7b94ad #1046 Made property filters work for ordinary flow diag results 2016-12-20 14:33:35 +01:00
Magne Sjaastad
b934ae3f26 Merged branch maintenance-enhancements into dev 2016-12-19 15:12:26 +01:00
Magne Sjaastad
27df0a20cf #552 : Linked Views: Cleanup 2016-12-15 19:00:36 +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
0fc23c5610 System : Manipulation of time step is now only available from RiuViewer 2016-12-14 10:35:28 +01:00
Magne Sjaastad
2d202b1ced #559 : Linked Views: Linking legend definitions 2016-12-13 22:14:24 +01:00
Magne Sjaastad
3fabe5f8b5 #559 : Linked Views: Linking legend definitions 2016-12-09 21:17:06 +01:00
Magne Sjaastad
ec3e05e87f #973 Linked views : Update parallel projection settings in linked views 2016-11-24 14:01:47 +01:00
Magne Sjaastad
6adc7eab7c #973 Linked views : Propagate change of parallell/perspective flag 2016-11-24 12:19:05 +01: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
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
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
Jacob Støren
c370c7cb02 View Linker: Remove child array entry after deletion to have a valid datastructure through destruction. 2015-09-25 15:24:27 +02:00
Jacob Støren
03c788db6a Linked Views: isActive() as access method. doSync methots renamed to update
and changed the meaning accordingly.
2015-09-25 15:24:19 +02:00
Magne Sjaastad
4424c110be Transformed static functions from ViewLinker to dynamic functions in RimView 2015-09-25 11:17:51 +02:00
Jacob Støren
c79a01f3b9 Linked Views: created access methods for viewController settings
The access methods now respects the active settings on both the ViewController
and the Toplevel.
2015-09-25 09:39:42 +02:00
Jacob Støren
efe5951222 Linked Views: Refactoring ViewController
Consolidating update responsibilities.
Renaming
2015-09-24 17:43:14 +02:00
Jacob Støren
d83d9e967b Linked Views: Refactored and cleaned up more. Refactored some features. 2015-09-24 17:43:12 +02:00
Jacob Støren
5e0505dfe8 Renaming and cleanup in ViewLinker and friends 2015-09-24 17:43:09 +02:00
Magne Sjaastad
4ee8929d91 (#483) Gray out icon for overridden cell results 2015-09-23 13:48:25 +02:00
Magne Sjaastad
9a840b9243 (#509) Added missing create display model 2015-09-23 12:49:09 +02:00
Magne Sjaastad
942c0a20b7 Moved camera update from RimView to RimViewLinker 2015-09-23 12:23:21 +02:00
Magne Sjaastad
c8944d8801 Refactored funtions used to find viewLinker and viewLink 2015-09-23 11:01:46 +02:00
Jacob Støren
7cf61eb636 Added update of icon when changing master view 2015-09-21 18:54:39 +02:00
Jacob Støren
7abfd51b91 Fix: Schedule Property filter regen. and not Range filtered.
when asked to do Property filter.
2015-09-21 18:54:27 +02:00
Magne Sjaastad
4c781b12be (#446) Added feature "Delete all linked views" 2015-09-16 14:40:50 +02:00
Magne Sjaastad
08e266c2f3 (#449) Minor fixes related to isActive 2015-09-15 10:45:39 +02:00
Magne Sjaastad
9aeb949b06 (#449) Added toggle on dependent views and removed toggle from master 2015-09-15 09:47:59 +02:00