Commit Graph

183 Commits

Author SHA1 Message Date
Gaute Lindkvist
fb12ad7db0 #4696 Sensible defaults for well log plot and improve reliability of common date source 2019-09-11 12:51:25 +02:00
Gaute Lindkvist
baa266f0f9 Improve lines and shading 2019-09-10 16:52:32 +02:00
Gaute Lindkvist
06cea12447 #4666 Support color fill for formations in Well Log Tracks 2019-09-10 13:23:29 +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
ba9b84850d #4368 RFT and PLT plots : Disable advanced grid line settings 2019-04-26 09:30:28 +02:00
Magne Sjaastad
157ff774e8 #4068 System : Add forward declare 2019-02-12 14:49:37 +01:00
Jacob Støren
58ac488929 #3958 Refactoring : RigResultAccessorFactory simplification
To make the result address including basetimestep info reach the CellResultsData class.
2019-01-30 15:25:29 +01:00
Gaute Lindkvist
4591d9f20e #3615 Fix z-order so packers are added after other components
*  Valves are added last of all
* This way packers are displayed on top of perforation intervals and fishbones.
2018-12-05 15:47:16 +01:00
Gaute Lindkvist
ae8cb9d210 #3741 Make it possible to enable/disable all well path components in plots and 3d view.
* Add check box to casing design and update of plot
* Add isEnabled() method to component interface which controls plotting.
2018-11-22 13:39:08 +01:00
Gaute Lindkvist
e3b7cc0558 #3521 Make different size casings take up different columns. 2018-10-18 20:15:31 +02:00
Magne Sjaastad
766fea603e #3512 System : Remove unused functions 2018-10-18 15:14:25 +02:00
Gaute Lindkvist
09f3e0e772 #3466 Minor improvements to plotting of completions 2018-10-09 15:27:46 +02:00
Gaute Lindkvist
e61e71ecbf #3467 Improved code using RimWellPathComponentInterface 2018-10-09 14:05:57 +02:00
Gaute Lindkvist
1019eeaa6a #3467 New interface class for completions +use RiaDefines::CompletionType 2018-10-09 14:05:57 +02:00
Gaute Lindkvist
f3a2521eda #3466 Add attribute items to legend by creating a new RiuQwtPlotItemGroup that combines sub-graphics 2018-10-09 14:05:57 +02:00
Gaute Lindkvist
fbc49e2b02 #3443 MSW: Visualise perforations, fishbones, packers and fractures in well log plots 2018-10-05 15:35:15 +02:00
Bjørn Erik Jensen
492904d465 Fix warnings 2018-09-27 10:01:45 +02:00
Gaute Lindkvist
0460eb2ac2 #3309 Toolbar buttons for well log plot data source and make sure only visible curves and zonation/attributes affect the data source.
* This also required adding some updateConnectedEditors for updating the selected property views when changing the toolbar.
2018-09-10 10:26:11 +02:00
Gaute Lindkvist
8e66ba405c Fix crash following legend updates. 2018-09-07 15:19:43 +02:00
Gaute Lindkvist
612409ac59 #3337 Make sure well log plots maintain legend order if you hide and show items. 2018-09-07 14:45:59 +02:00
Gaute Lindkvist
bdcdf49269 #3304 Implement common data source changing for zonation and well path attributes 2018-09-07 14:45:59 +02:00
Gaute Lindkvist
a30139c08a Range adjustment for tracks with well path attributes 2018-09-05 15:27:34 +02:00
Gaute Lindkvist
847c6127b0 #3308 Fix formation names in well log tracks. 2018-09-05 15:19:22 +02:00
Gaute Lindkvist
385f7ad0da #3305 Implement well path attribute track in well bore stability plots
* Fix depth start and end of attributes to match the TVD/MD display setting.
2018-09-05 15:19:22 +02:00
Gaute Lindkvist
5a2ecf25c2 Rename measuredDepth and TVD methods in well log extractor code 2018-09-04 12:02:23 +02:00
Gaute Lindkvist
f8045826c7 Rename track formation source from "Well Path" to "Well Picks for Well Path"
* Well Path is already used elsewhere in the same group
2018-08-30 16:07:14 +02:00
Gaute Lindkvist
adc9ad322a #3187 symbols and labels for well path attributes, initial work. 2018-08-30 16:06:20 +02:00
Gaute Lindkvist
714aafc05c #3155 Slightly tweak X-autozoom so it zooms to the nearest outside minor tick.
* Looks much better and makes the problem of having tick labels overlap with neighbour tracks much rarer.
2018-07-16 08:57:28 +02:00
Gaute Lindkvist
ca1f9506b1 #3155 Implement grid lines settings for depth axis as well
* Done to "get away with" removing tick marks on all depth axes apart from the first track
2018-07-16 08:57:28 +02:00
Gaute Lindkvist
162d82f8b7 #3155 Remove track spacing 2018-07-16 08:57:28 +02:00
Gaute Lindkvist
f8a7ba541f #3156 Make formation labels optional even if formation lines are shown 2018-07-16 08:57:28 +02:00
Gaute Lindkvist
ff84d81e44 Clean up after review
* Disable grid lines and tick marks if x range is empty.
* Rename intervals to intervalCount when it is an integer count.
* Fix some compile warnings.
2018-07-02 10:29:32 +02:00
Gaute Lindkvist
470c28677c Fix crash when loading formation names. 2018-07-02 10:29:31 +02:00
Gaute Lindkvist
fc821ea524 Make updating of well log plots more robust
1. Don't update tracks in RimWellLogPlot::createViewWidget.
 * We haven't set up the MDI windows properly yet.
 * Instead implement updateVIewWidgetAfterCreation override and do update tracks there.
2.  Perform calculateAvailableDepthRange in applyZoomAllDepths
3. Do replot of track widgets twice when changing visible range. Need to investigate this one further.
2018-07-02 10:29:31 +02:00
Gaute Lindkvist
ec63f0c28e Setter methods for grid lines, plot title visibility and tick intervals
* Allows us to set them programatically.
2018-07-02 10:29:31 +02:00
Gaute Lindkvist
5d6188b39c #3103 Manual tick marker setting 2018-07-02 10:29:30 +02:00
Gaute Lindkvist
707a7a91e6 #3103 Make grid lines match major and minor interval and make the grid lines optional 2018-07-02 09:51:10 +02:00
Gaute Lindkvist
2a9d506ae0 #3103 Set axis tick intervals based on track width: more ticks for wide tracks. 2018-07-02 09:51:10 +02:00
Gaute Lindkvist
20a145d760 #3104 More sensible variable width for users: drop down list of narrow, normal, wide, etc. 2018-06-27 08:35:17 +02:00
Gaute Lindkvist
e4288972de #3104 Well Log Plots: Implement variable width for tracks 2018-06-27 08:35:17 +02:00
Gaute Lindkvist
405d470eda #3098 Show depth axis only for left-most plot. They all share the same depth axis anyway. 2018-06-27 08:35:17 +02:00
Magne Sjaastad
ad4e0bccc5 Guard null pointer access 2018-06-26 13:14:37 +02:00
Jacob Støren
5059201126 #2609 Cleanup RimWellPath ready for refactor into two classes 2018-06-18 17:13:30 +02:00
Gaute Lindkvist
660b6a6430 #2944 Hide auto scale toggles for well log plots. 2018-05-23 11:35:24 +02:00
Gaute Lindkvist
208313f672 #2944 Stop auto-zooming on load of Well Log Curves. 2018-05-23 11:29:16 +02:00
Magne Sjaastad
ca0c13be41 #2544 Use helper class to get extractors 2018-03-14 14:35:45 +01:00
Rebecca Cox
84725ced9b Make branch detection toggle hidden if show formations is toggled off 2018-01-26 15:49:18 +01:00
Rebecca Cox
007602dbf9 #2326 Well allocation plot: Remove formation options regarding well path 2018-01-26 10:28:24 +01:00
Rebecca Cox
9617481406 #2327 Formation RFT Plot: Read tvdss from well pick files 2018-01-24 08:21:22 +01:00
Rebecca Cox
9a41e1c134 #2321 Avoid crash when opening a project file with a PLT/RFT plot and where main plot window was closed before saving 2018-01-05 11:11:27 +01:00
Rebecca Cox
074a8fc546 #2303 Formations: Remove well pick filter when depth type is PL 2018-01-05 08:36:59 +01:00
Rebecca Cox
cf12e5ae36 #2303 Formations: Update well path only when formation source changes 2018-01-05 08:36:59 +01:00
Rebecca Cox
fc2e638ba2 #2303 Formation: Make formations for RFT and PLT work 2018-01-05 08:36:59 +01:00
Rebecca Cox
6e4449960f #2227 Well formatins: Clear well path if it does not have well picks 2017-12-12 08:38:04 +01:00
Rebecca Cox
fb876f8fdc #2227 Well formations: Remove fluid annotation duplicates 2017-12-11 15:12:12 +01:00
Rebecca Cox
c3cd0a650e #2227 Well formations: update ui. remove level from RigWellPathFormation 2017-12-11 15:12:12 +01:00
Rebecca Cox
406c371682 #2227 Well formation: Make level filter dynamic 2017-12-11 15:12:12 +01:00
Rebecca Cox
fa3d9c4fc2 #2227 Well Formation: Add filter. Filter options not dynamic 2017-12-11 15:12:12 +01:00
Magne Sjaastad
46bad03c4a #2127 Clamp sim well branch index to valid range 2017-12-08 10:24:14 +01:00
Magne Sjaastad
0e5e88008a #2127 Sim Well Branches : Move logic related to uiOrdering to RiaSimWellBranchTools 2017-12-08 10:24:14 +01:00
Magne Sjaastad
1841379e64 #2127 Sim Well Branches : Major refactor of sim well branch computation
Remove local branch geometry caches
Add checkbox to control if branch detection should be used
Add RiaSimWllBranchTools and move helper functions from RimProject
2017-12-08 10:24:14 +01:00
Rebecca Cox
a2d2879bab #2227 Well formations: New Rig data stucture with top+base MD and level 2017-12-08 09:27:37 +01:00
Rebecca Cox
5145d3f8a5 #2223 Well Formations: Rename to Well Picks where sensible 2017-12-05 14:14:53 +01:00
Rebecca Cox
899a226a38 #2226 Well Formations: Avoid adding "Top" to the formation names 2017-12-05 12:56:21 +01:00
Rebecca Cox
99dd255ee8 Formations: Change group name 2017-12-04 10:26:34 +01:00
Rebecca Cox
32c1fa25d5 Guard for if eclipseCaseData is null 2017-12-01 15:39:54 +01:00
Rebecca Cox
6fc888d718 Capitalize ui name in PDM fields 2017-11-30 13:44:18 +01:00
Rebecca Cox
d48113dcdb #2123 Formation/Well Path: Make well formations only valid for MD plot 2017-11-28 12:47:43 +01:00
Rebecca Cox
38e2b7a74a Formation names: Set default formation info on add curve commands 2017-11-28 12:47:43 +01:00
Rebecca Cox
403e137f6d Code cleanup 2017-11-27 15:23:26 +01:00
Rebecca Cox
15d6daea45 #2123 Formation/Well Path: Add option in well log track to use the well path explicit formations 2017-11-27 14:41:15 +01:00
Jacob Støren
84c63e7df8 Remove unneccessary code 2017-11-17 15:33:42 +01:00
Jacob Støren
07264140cb Add deleteAllCurves method, and rename removeCurve to takeOutCurve in order to minimize wrong use. 2017-11-15 11:32:25 +01:00
Rebecca Cox
3e40331c5b #2129 Rft/Plt plot: Show formations on default 2017-11-13 07:55:22 +01:00
Rebecca Cox
7e6b45c626 Avoid crash if simWellName is "None" 2017-11-13 07:55:22 +01:00
Jacob Støren
645421fa60 #2130 RFT And PLT plot: Show formation names also when no timesteps are visible. Do not overwrite the users case setting unless none are chosen. 2017-11-12 14:45:06 +01:00
Jacob Støren
324d6d72e3 #2112 Avoid updating legend for each curve. Generalize and roll out the solution found for summary curves 2017-11-11 23:15:13 +01:00
Magne Sjaastad
161690d9c8 Fix signed/unsigned compare 2017-11-09 14:25:42 +01:00
Bjørn Erik Jensen
d277a08d29 #2100 PLT plot. Remove branch index field 2017-11-09 13:36:14 +01:00
Jacob Støren
5a075493f2 Add assert when formation names branch index is wrong in WellLogTrack 2017-11-08 23:02:44 +01:00
Rebecca Cox
630dbd0ffc Tab -> spaces 2017-11-07 10:02:43 +01:00
Rebecca Cox
a4d658423d #2039 Update editor on toggling "Show formation" 2017-11-07 10:00:10 +01:00
Rebecca Cox
4120aecdc2 RFT Plot: Make extractor on correct path type 2017-11-07 10:00:10 +01:00
Rebecca Cox
bac2d2b4b2 #2037 RFT Plot: Set formation case from plot 2017-11-07 10:00:10 +01:00
Rebecca Cox
1e943e1607 #2038 RFT Plot: move formation logic from track to rft plot 2017-11-07 10:00:10 +01:00
Rebecca Cox
2fc796ac27 Update pdm-field names to include "formation" 2017-11-07 10:00:10 +01:00
Rebecca Cox
3919b3012b Remove "uiConfigName" from uiOrdering-functions 2017-11-07 10:00:10 +01:00
Rebecca Cox
61067cbc24 Remove ternary operator (for Linux build) 2017-11-07 10:00:10 +01:00
Rebecca Cox
ecc1df5424 Fix crash when RFT plot does not exist 2017-11-07 10:00:10 +01:00
Rebecca Cox
5feee83706 #2077 Well Allocation Plot: Formation names for pseudo length 2017-11-07 10:00:10 +01:00
Rebecca Cox
bf00807aee #2077 Well Allocation Plot: Set default formation name values 2017-11-07 10:00:10 +01:00
Rebecca Cox
ae372a4a79 #2039 #2035 RFT/PLT Plot: Set default values for formation names 2017-11-07 10:00:10 +01:00
Rebecca Cox
c638d63dfe #2038 RFT Plot: Do not set form. case when toggliging show Formation off 2017-11-03 15:15:03 +01:00
Rebecca Cox
c8b05fe9ce #2038 RFT Plot: Set default values for formation names 2017-11-03 14:53:00 +01:00
Rebecca Cox
46aa029717 Hide branch field when untoggling "show formations" 2017-11-03 14:14:07 +01:00
Rebecca Cox
312004446b #2002 RFT Plot: Update rftPlot editor on change of track/plot-settings 2017-11-03 13:47:51 +01:00
Rebecca Cox
771c9d62ed #2002 RFT Plot: Move settings and hide track and plot 2017-11-03 13:23:06 +01:00
Rebecca Cox
cac5fa42a5 Fix crash on plot deletion 2017-11-03 13:23:06 +01:00
Rebecca Cox
95f7f40b15 #2002 RFT Plot: Add visible x range and new logic for formations 2017-11-03 13:23:06 +01:00