Commit Graph

10535 Commits

Author SHA1 Message Date
Magne Sjaastad
911b69b56f AppFwk : Make sure context menu policy is set correctly in all use cases 2019-05-06 11:58:06 +02:00
Magne Sjaastad
a852d1a50e AppFwk : Rename and rewrite of PdmUiFieldHandle::notifyFieldChanged 2019-05-06 11:58:06 +02:00
Magne Sjaastad
50ee79f6c3 AppFwk : Always mark field as used when editor is created 2019-05-06 11:58:06 +02:00
Magne Sjaastad
9e7467309d AppFwk : Set parent editor when field editor is created 2019-05-06 11:58:06 +02:00
Jacob Støren
01ac756314 AppFwk: Added a parent editor concept, and adjusted the update regime to make embedded editors trigger update of the containing editor. Removed the update of the fields owner object, which causes trouble for table editors and some derived object editors. 2019-05-06 11:58:06 +02:00
Jacob Støren
f1d4de2090 Remove calls to setUiField that are unneccessary because of changes in AppFwk 2019-05-06 11:58:06 +02:00
Magne Sjaastad
088b5513a7 AppFwk : Remove problematic setUiField() calls
setUiField() call used to keep track of which fields that is retained when updating an editor. Replace this workflow with a set of the ones that are used, and use this set to clean up unused editors afterwards.
2019-05-06 11:58:06 +02:00
Gaute Lindkvist
fe0624e304 Fix build problems in cafTestApp following headless changes 2019-05-06 11:48:23 +02:00
Gaute Lindkvist
30769d7f2a Rename caf::PdmUiItem::setUiIcon(QString) to setUiIconFromResourceString 2019-05-06 11:08:59 +02:00
Gaute Lindkvist
274dee70fa Rename RiaApplication::handleEvents -> invokeProcessEvents 2019-05-06 10:40:05 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless ()
* Revert " Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert " Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert " 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

*  Reimplement fix df62a41397 by @magnesj on top of Headless code changes

*  Reintroduce kode from d0b5357ed4 by @magnesj

*  Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00
Magne Sjaastad
4c46573fc9 Reintroduce " System : Add virtual function childFieldChangedByUi"
This reverts commit 91022a7535.
2019-05-03 12:13:11 +02:00
Magne Sjaastad
91022a7535 Revert " System : Add virtual function childFieldChangedByUi"
This reverts commit fbf9308e2b.
2019-05-03 11:16:09 +02:00
Magne Sjaastad
66e09e4688 System : Update references to clang files 2019-05-03 11:08:48 +02:00
Magne Sjaastad
9ae6b79271 System : Move clang-tidy and clang-format into ApplicationCode
Prepare for format-on-save
2019-05-03 09:15:18 +02:00
Magne Sjaastad
d0b5357ed4 Documentation : Update command line parser for import of summary files 2019-05-03 07:49:53 +02:00
Magne Sjaastad
1f5d4030b9 Preferences : Missing default font sizes 2019-04-30 12:36:53 +02:00
Magne Sjaastad
d20ee3b3f1 Add field and object keywords based on 2019.04 2019-04-30 10:45:41 +02:00
Magne Sjaastad
b0bf459b41 Set version to 2019.04-dev.01 2019-04-30 08:18:09 +02:00
Magne Sjaastad
ad8188a784
Merge pull request from OPM/master
Merge pull request  from OPM/dev
2019-04-30 08:15:16 +02:00
Magne Sjaastad
2320c8d44b
Merge pull request from OPM/dev
Merge dev into master for Release 2019.04
2019-04-30 08:08:59 +02:00
Magne Sjaastad
df62a41397 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
Magne Sjaastad
fccae4f1cc Set version to 2019.04 2019-04-29 19:18:03 +02:00
Magne Sjaastad
31bcc08546 Remove unused variables 2019-04-29 19:17:32 +02:00
Magne Sjaastad
987cb92f43 Automatic parsing of date-time format in CSV Observed Time History Data 2019-04-29 13:35:09 +02:00
Magne Sjaastad
77a12f13c1 Add function used to determine date format from text string 2019-04-29 12:55:39 +02:00
Magne Sjaastad
80718901d1 Octave : Remove obsolete developer setting in Preferences 2019-04-29 08:05:03 +02:00
Magne Sjaastad
f758a8edb2 Octave : Use RiaLogging for error messages instead of QErrorMessage 2019-04-29 08:02:15 +02:00
Gaute Lindkvist
950458455d 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
Magne Sjaastad
c3dfbf791d Add missing constructor initialization 2019-04-26 13:42:46 +02:00
Gaute Lindkvist
496678cab3 Provide more error messages when importing input grids 2019-04-26 13:42:35 +02:00
Gaute Lindkvist
f567be6d96 Store Sector Model settings in Project Dialog Data 2019-04-26 13:42:35 +02:00
Magne Sjaastad
8ce9f63487 Stimulation wells in 3D-view: Render well head using pipe color
If well head is a real connection, render as normal connection. If dummy connection, render as pipe color
2019-04-26 13:30:29 +02:00
Magne Sjaastad
11e91f5d1c Robustness : Make sure we handle missing data gracefully 2019-04-26 12:50:36 +02:00
Gaute Lindkvist
b35e7d9bd4 Only create placeholder for derived MULTXYZ result if all requirements are available 2019-04-26 09:47:07 +02:00
Magne Sjaastad
ba9b84850d RFT and PLT plots : Disable advanced grid line settings 2019-04-26 09:30:28 +02:00
Gaute Lindkvist
2452bc3a21 Make sure the correct flow coefficient is exported for ICDs/ICVs in WSEGVALV MSW export 2019-04-26 08:29:04 +02:00
Gaute Lindkvist
ea77618110 Remove unused code in RifReaderEclipseOutput::readWellCells 2019-04-26 08:28:53 +02:00
Magne Sjaastad
b6c9e3b278 RFT plots: For Measured Depths PL is sometimes used for grid pressures 2019-04-25 16:02:47 +02:00
Magne Sjaastad
bb58bba5b9 Regression Test : Export of FLUXNUM/MULTNUM from command file does not work
Export of FLUXNUM/MULTNUM was using the same code as export sector model, but these two concepts are different. Restore original behavior.
2019-04-25 15:29:46 +02:00
Magne Sjaastad
6c8aa6beea Export : Use well name instead of wellNameForExport() to create file name 2019-04-25 12:30:28 +02:00
Magne Sjaastad
02de18f708 Rename to wellNameForExport 2019-04-25 11:42:16 +02:00
Magne Sjaastad
c2fb16a4d3 Fractures : Make sure appropriate value is always returned 2019-04-25 08:20:48 +02:00
Magne Sjaastad
3cdf19b19d Grid Case Group Statistics: Crash when creating contour map 2019-04-25 07:42:38 +02:00
Magne Sjaastad
319050b992 Fractures : Delegate isEnabled to leaf classes 2019-04-25 07:25:52 +02:00
Magne Sjaastad
a5a70dd83c Qt5 : Conversion of float value to text string does not work for all values 2019-04-25 06:52:40 +02:00
Magne Sjaastad
1adbc499d6 Export Completion Data: Auto-select "MSW" in GUI when Valves are exported 2019-04-24 13:31:11 +02:00
Magne Sjaastad
521e170178 Hide Fracture CONDUCTIVTY legend if no visible fractures 2019-04-24 13:07:54 +02:00
Magne Sjaastad
efc7cca5c7 Dual Porosity : Guard data access for fracture data values 2019-04-24 12:39:47 +02:00
Magne Sjaastad
60153b20ec
Merge pull request from OPM/cpp-check-cleanup
Cpp check cleanup
2019-04-24 09:09:18 +02:00