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
Magne Sjaastad
f89dcf4e52
Convert to enum class
2020-04-24 11:40:22 +02:00
Magne Sjaastad
83914006fd
Convert to enum class
2020-04-24 11:40:22 +02:00
Jacob Støren
d74e5fe5e8
#5674 #5664 #5692 Shift connection number depth to show connection number at the middle of the flat areas of the graphs for inflow, and for accumulated flow to shw flow change at connection (not shifted one off) Aligned curve ascii export accordingly
2020-03-17 07:10:49 +01:00
Magne Sjaastad
0cd0c7d80d
#5612 Saturation Pressure Plots : Remove duplicated code
2020-02-28 12:39:24 +01:00
Magne Sjaastad
c82df63e10
#5101 clang-format: Adjusted penalties
...
Use lower absolute values to improve control of behavior
2020-02-12 13:35:31 +01:00
Magne Sjaastad
10f0abc9b5
#5101 clang-format: Allow short functions on a single line
...
Use AllowShortFunctionsOnASingleLine: InlineOnly
2020-02-12 13:35:31 +01:00
Gaute Lindkvist
edc276db4d
Well Log Plot and Well Distribution Plots no longer inherit Multiplot
...
* Also cleaned up RiuQwtPlotWidget
2020-01-16 14:33:33 +01:00
Magne Sjaastad
198f738be8
Flow Diag : Make sure the Eclipse case is open
2020-01-12 13:19:13 +01:00
Gaute Lindkvist
cd5b432267
#5171 Fix legend updates by getting rid of the show/hideEvent crash fix
...
* The crash is instead fixed by getting rid of deleteLater()
2019-12-04 12:34:17 +01:00
Gaute Lindkvist
8e94caceed
Fix Well Allocation Plot depth axis zoom
2019-11-29 15:03:37 +01:00
Gaute Lindkvist
dbee9759a0
#5063 Improve auto name for well log plots and use it for well allocation plots
2019-11-25 15:19:53 +01:00
Gaute Lindkvist
85d683634c
Further refactoring
2019-11-20 13:14:45 +01:00
Gaute Lindkvist
228810fd05
Refactor view id
2019-11-20 13:14:45 +01:00
Gaute Lindkvist
81db22586d
Remove description-field from RimPlotWindow
...
* Leave it to sub-classes to deal with this
2019-11-20 13:14:45 +01:00
Gaute Lindkvist
60b09d7bfd
#5061 WAP: fix update of well allocation data when changing depth type
2019-11-19 13:19:56 +01:00
Magne Sjaastad
aa11e3601b
#5020 Flow Diag : Avoid creating plots in constructor to make pytest work
2019-11-11 09:47:01 +01:00
Magne Sjaastad
cb89823474
#5020 Flow Diag : Improve default initialization of plots
2019-11-08 14:20:11 +01:00
Magne Sjaastad
a413f672ec
#5007 Janitor : Do not call virtual methods from destructors
2019-11-07 08:48:11 +01:00
Magne Sjaastad
0caaaf7159
clang-format : Fixes related to bug in clang-format plugin
...
The LLVM/clang plugin to visual studio has a bug related to single space formatting changes. This commit fixes invalid formatting related to these issues.
2019-11-07 07:37:50 +01:00
Gaute Lindkvist
03ff43237d
Add a view id tag to project tree and tooltip
...
* Remove it from property editor
2019-11-05 11:09:18 +01:00
Magne Sjaastad
57cab2457e
clang-format : Set PenaltyBreakAssignment to 130
2019-11-04 15:08:09 +01:00
Gaute Lindkvist
a48f4903ea
Disable common data source in well allocation plots
...
(they have common data selection explicitly)
2019-10-24 14:59:16 +02:00
Gaute Lindkvist
aef0e0a70f
More precise view id
2019-10-24 14:59:16 +02:00
Gaute Lindkvist
c578a43b53
Introduce RimGridPlotWindow and RiuQwtPlotWidget
2019-10-24 14:59:16 +02:00
Magne Sjaastad
29cb7cd8dc
#4718 Qt5 : Use grab() instead of grabWidget()
2019-09-13 15:13:49 +02:00
Gaute Lindkvist
71c4642f13
Make Well Allocation Plots work well again
2019-09-09 11:00:11 +02:00
Gaute Lindkvist
9fe021c6ca
Use layouts for tracks in Well Log Plot
2019-09-06 15:52:45 +02:00
Gaute Lindkvist
de8a5a59f3
Clang-format changed files
2019-09-06 13:17:36 +02:00
Gaute Lindkvist
565e5b0418
RFT/PLT/WAP: Calculate value options for fields inherited from WellLogPlot
2019-09-06 12:53:52 +02:00
Gaute Lindkvist
45103da354
Fix crashes related to name config and make name correct for old plots when loading
2019-09-06 10:59:47 +02:00
Gaute Lindkvist
a03435b2fe
Refactor WellLogPlot, RftPlot, PlotPlot and WellAllocationPlot
2019-09-04 20:18:59 +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
be77e4e048
CppCheck : Guard null pointer access
2018-12-21 12:31:42 +01:00
Magne Sjaastad
c267f32638
Rename to RiuPlotMainWindow
2018-04-27 06:28:08 +02:00
Rebecca Cox
007602dbf9
#2326 Well allocation plot: Remove formation options regarding well path
2018-01-26 10:28:24 +01:00
Magne Sjaastad
cd340f7713
#2273 Well Accocation Plot : Add flag to control branch detection
2017-12-18 09:34:28 +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
Jacob Støren
da56696a26
#2072 Allign code for x-axis title on well flow plots. Handle combination of surface and reservoir conditions for PLT plot
2017-11-24 08:14:20 +01:00
Bjørn Erik Jensen
d277a08d29
#2100 PLT plot. Remove branch index field
2017-11-09 13:36:14 +01:00
Rebecca Cox
e0b0fb1c13
#2077 Well Allocation Plot: Move formation logic from track to plot
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
Bjørn Erik Jensen
ae20e1af10
Refactoring. RimViewWindow.loadDataAndUpdate -> onLoadDataAndUpdate
2017-10-31 12:49:36 +01:00
Rebecca Cox
7da8e3091b
#1996 : Rename RimEclipseWellCollection -> RimSimWellInViewCollection
2017-10-17 09:52:31 +02:00
Rebecca Cox
44be1bfd6b
#1996 Rename RigSingleWellResultsData -> RigSimWellData
2017-10-17 09:52:31 +02:00
Rebecca Cox
d748803159
#1996 Rename RimEclipseWell -> RimSimWellInView
2017-10-17 09:52:31 +02:00
Jacob Støren
0bb47cba88
#1923 Add no-plot-update versions of update methods in curve system. onLoadDataAndUpdate is improved for summary curve but not always called with the "no update" flag set
2017-09-23 08:47:04 +02:00
Bjørnar Grip Fjær
030ad9cec4
#1126 Add "Accumulated Saturation by Time of Flight"-plot
2017-08-15 16:00:32 +02:00