Commit Graph

4626 Commits

Author SHA1 Message Date
Gaute Lindkvist
63ed79e0e8 Update UI icon of RimCellEdgeColors 2019-05-06 13:49:23 +02:00
Gaute Lindkvist
30769d7f2a Rename caf::PdmUiItem::setUiIcon(QString) to setUiIconFromResourceString 2019-05-06 11:08:59 +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
950458455d #4360 Make sure we display cell colors for grids without dynamic variables even if the project has wells in it 2019-04-26 14:23:05 +02:00
Gaute Lindkvist
f567be6d96 #4371 Store Sector Model settings in Project Dialog Data 2019-04-26 13:42:35 +02:00
Magne Sjaastad
11e91f5d1c #4375 Robustness : Make sure we handle missing data gracefully 2019-04-26 12:50:36 +02:00
Magne Sjaastad
ba9b84850d #4368 RFT and PLT plots : Disable advanced grid line settings 2019-04-26 09:30:28 +02:00
Gaute Lindkvist
2452bc3a21 #4364 Make sure the correct flow coefficient is exported for ICDs/ICVs in WSEGVALV MSW export 2019-04-26 08:29:04 +02:00
Magne Sjaastad
b6c9e3b278 #4363 RFT plots: For Measured Depths PL is sometimes used for grid pressures 2019-04-25 16:02:47 +02:00
Magne Sjaastad
c2fb16a4d3 #4352 Fractures : Make sure appropriate value is always returned 2019-04-25 08:20:48 +02:00
Magne Sjaastad
3cdf19b19d #4357 Grid Case Group Statistics: Crash when creating contour map 2019-04-25 07:42:38 +02:00
Magne Sjaastad
319050b992 #4352 Fractures : Delegate isEnabled to leaf classes 2019-04-25 07:25:52 +02:00
Magne Sjaastad
521e170178 #4352 Hide Fracture CONDUCTIVTY legend if no visible fractures 2019-04-24 13:07:54 +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
Magne Sjaastad
5123d5d0c5 #4351 Regression test : Guard null pointer access 2019-04-24 07:46:51 +02:00
Gaute Lindkvist
195fc85a5a Improve Simulation Well Color UI 2019-04-23 08:38:49 +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
3d3e6064b1 #4348 System , cppcheck : Remove unused functions 2019-04-21 09:36:25 +02:00
Magne Sjaastad
843a791218 #4348 System , cppcheck : Remove unused functions 2019-04-21 09:28:23 +02:00
Magne Sjaastad
8d4142187e #4348 System , cppcheck : Remove unused functions 2019-04-21 09:11:20 +02:00
Magne Sjaastad
b786c2c5f3 #4348 System , cppcheck : Remove unused functions 2019-04-21 07:53:52 +02:00
Magne Sjaastad
8cefcbb562 #4348 System , cppcheck : Remove unused variables 2019-04-20 15:11:21 +02:00
Magne Sjaastad
ca72e6ab89 #4348 System , cppcheck : Remove unused variables 2019-04-20 14:34:23 +02:00
Magne Sjaastad
64fc5d71ef #4348 System , cppcheck : Use size_t when counting parameter instances 2019-04-20 13:53:51 +02:00
Magne Sjaastad
e4672aefa9 #4348 System , cppcheck : Remove duplicate test 2019-04-20 13:46:12 +02:00
Gaute Lindkvist
4439f7609b #4317 Add default ellipse fracture template 2019-04-16 13:30:03 +02:00
Gaute Lindkvist
a8bcfefca2 #4309 Offset text annotations label position slightly to make labels less likely to be obscured by grid 2019-04-16 13:02:31 +02:00
Gaute Lindkvist
e0bbda85d9 #4312 Move handleMdiWindowClosed call from widget destructors to MdiSubWindow closeEvent
* This way the mdi window still exists at the time of removal and we can handle the removal orderly
2019-04-16 12:14:54 +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
3a91412d6c #4336 make sure data colors are updated in Grid Cross plots when changing legend colors 2019-04-15 09:32:35 +02:00
Gaute Lindkvist
89a16103c9 Make sure picking of text and reach circle annotations isn't enabled after loading project 2019-04-12 14:47:36 +02:00
Gaute Lindkvist
9aa7ac2591 Make sure auto zoom isn't disabled at the end of zoomAll() for grid cross plot 2019-04-12 14:47:36 +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
Gaute Lindkvist
58735350a3 #4322 Ensure toggling of data sets don't cause zoom all 2019-04-12 13:15:51 +02:00
Gaute Lindkvist
34fd604bd8 #4316 Fix regression issue with export completion and import menus showing up everywhere 2019-04-12 13:15:51 +02:00
Gaute Lindkvist
c82a4a5537 #4316 Fix context menu with multiple selected well paths 2019-04-12 09:09:12 +02:00
Magne Sjaastad
c0859e3b65 #4301 Contour map : Add setter for RigEclipseResultAddress 2019-04-10 08:55:15 +02:00
Gaute Lindkvist
855eb0e099 #4307 Fix crash in contour map with static properties 2019-04-09 17:26:20 +02:00
Gaute Lindkvist
f36c38533b #4275 Hide UI for case-diff when flow diagnostics is enabled 2019-04-09 13:30:21 +02:00
Gaute Lindkvist
cd870f089b #4304 Add pre-defined templates for each valve type and fix icons and labels. 2019-04-09 13:30:20 +02:00
Gaute Lindkvist
c0f3258f19 Work in progress 2019-04-09 10:30:15 +02:00
Magne Sjaastad
b03e75065c Whitespace 2019-04-09 09:51:19 +02:00
Magne Sjaastad
af46490b9f #4303 Calculated curve : Always show scaling factor in axis legend text 2019-04-09 09:51:19 +02:00