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
Jacob Støren
0e14c63f07
Rename crossSection to intersection in general code
2019-11-26 12:45:08 +01:00
Gaute Lindkvist
cf7608e6bf
Improve RimNameConfig API
2019-11-25 15:19:53 +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
1774d123cc
#4892 Simplified Unlink View command. Works on pprimary view as well.
2019-10-29 12:48:38 +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
b729ce7228
#4892 Add (Primary) and (Controlled) labels to view window titles
2019-10-29 12:47:01 +01:00
Jacob Støren
3710b4ba58
#4892 Avoid comparison view accidentally added when linking views
2019-10-29 12:47:01 +01:00
Jacob Støren
6af4356f36
#4892 Add Comparison view drop-down to linked view master.
...
Works as shadow of the views comparison view setting.
Make it follow the dependent viewcontrollers managed view.
Comparison view dropdown moved to "Viewer" group in view panel.
Avoid infinite recursion loops when comparison views are set up in circle
2019-10-29 12:47:01 +01:00
Gaute Lindkvist
785f039a1d
#4925 Add guard on view missing after d8a8a615
to RImViewLinker::findNameAndIconFromView
2019-10-25 11:48:51 +02:00
Jacob Støren
d8a8a615a8
#4900 Align name and icon of linked views with ordinary views
2019-10-21 09:00:35 +02:00
Magne Sjaastad
fe9e567825
#4683 clang-format on all files in ApplicationCode
2019-09-06 10:57:22 +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
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