Commit Graph

56 Commits

Author SHA1 Message Date
Kristian Bendiksen
185046194c Add RimDepthTrackPlot base class for RimWellLogPlot. 2020-04-22 08:57:25 +02:00
Kristian Bendiksen
afc824dd53 Fix CRLF line endings. 2020-04-22 08:57:25 +02: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
Gaute Lindkvist
9ffbd97f8c Multi page plot works 2020-01-07 14:26:46 +01:00
Gaute Lindkvist
27788b1abd Change from QPainter to QPaintDevice in the API for PDF rendering
* This is to be able to use QPagedPaintDevice::nextPage in the Multi plot rendering.
2020-01-07 14:26:46 +01:00
Gaute Lindkvist
47b93dc0d1
Implement pdf rendering (#5250)
* First PDF creation support

* Reimplement info box

* Set title and make overlay frame margins more unified

* Remove a style sheet that was never meant to be applied to Project Tree

* Update RiuDraggableOverlayFrame when changing content

* Default page layout in Preferences

* undo removal of elision

* Remove friend class assignment in cafCategoryMapper

* the required methods have been made public

* Fix up after review

* Remove spurious const on by-value return

* Fix compile errors on Linux

* Fix size adjustment of legends with plot resizing
2019-12-18 12:25:19 +01:00
Gaute Lindkvist
d9043db5e0 Refactor RimPlotWindow and RimPlotInterface 2019-11-20 13:14:45 +01:00
Gaute Lindkvist
8252ab8808 Rename GridPlot to MultiPlot throughout 2019-11-20 13:14:45 +01:00
Gaute Lindkvist
30db19a1d0 Create Grid plot collection and allow creation of new combination plots 2019-10-31 14:09:50 +01:00
Gaute Lindkvist
c578a43b53 Introduce RimGridPlotWindow and RiuQwtPlotWidget 2019-10-24 14:59:16 +02:00
Gaute Lindkvist
2857a13e7c Columns in well log plots 2019-10-24 14:59:16 +02:00
Gaute Lindkvist
11117383db
#4817 #4830 #4832 #4837 #4839 Python commands for WBS creation, well path import and well log file import (#4838)
* Better minimum width for well log tracks

* Fix alignment of scrollbar in Well log plots

* Better Well Log Plot export

* Hide scroll bar before plotting
* Better borders

* Create plots through Python

* #4817 Create WBS plots with Python

* Rebase Summary and WellLogPlot on top of a new RimPlot

* Also Python: Allow setting folder as a parameter to export_snapshots

* #4832 Prepare for well path import command

* Well Path import WIP

* #4830 #4832 Import well paths and well log files from file using Python.

* #4837 Implement import of formation names in Python

* Fix debug build issue

* Fix RiaLogging build issue

* Fix warnings

* Yet another RiaLogging.h import added

* #4839 Import exporting of las and ascii files from well log plots
2019-10-09 09:21:28 +02:00
Gaute Lindkvist
4a4653a0df
Better minimum width for well log tracks (#4824)
* Better minimum width for well log tracks

* Fix alignment of scrollbar in Well log plots
2019-10-07 08:32:34 +02:00
Gaute Lindkvist
10e55d3e5f Fix legend update and remove Qt warnings 2019-10-04 10:27:15 +02:00
Gaute Lindkvist
09388b22c8 Avoid plot title dictating the plot width. 2019-10-04 08:50:35 +02:00
Gaute Lindkvist
1309db884d Simplify Well Log Plot events and updating 2019-10-03 15:32:35 +02:00
Gaute Lindkvist
f5b10b4d70
#4800 WBS: Add parameter track which is off by default (#4816)
* Initial WIP

* Identical results with spreadsheet

* Improved and more robust smoothing by filtering points first

* Improved smoothing and more GUI

* Include mixed-label for smoothing threshold

* Implement WBS parameters track

* Much better alignment of tracks without flickering

* Don't replace user description when dragging and dropping tracks

* Fix missing OBG and SH curves

* Fix curve and track D&D

* Make sure parameter curves aren't WBS curves
2019-10-03 14:41:37 +02:00
Gaute Lindkvist
7625da7a21 #4790 Make sure window maximation state is restored after project load + tiling fixes 2019-09-27 15:29:24 +02:00
Gaute Lindkvist
0305399c26 Shift Well Log tracks when deleting a track 2019-09-10 15:21:43 +02:00
Gaute Lindkvist
edbe4f5a35 Align scrollbar with tracks 2019-09-09 16:00:52 +02:00
Gaute Lindkvist
5cfd840025 Fix track widths and canvas top alignment 2019-09-09 14:38:36 +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
a03435b2fe Refactor WellLogPlot, RftPlot, PlotPlot and WellAllocationPlot 2019-09-04 20:18:59 +02:00
Magne Sjaastad
6346ed012c clang-tidy : Remove redundant 'virtual' and add 'override' 2018-10-18 19:45:57 +02:00
Gaute Lindkvist
d81b85c54c #3277 Implement stepping for Common Data Source and rename Plot Source Stepping for summary plots.
* The name for the UI groups is now "Data Source" for both types of data source stepping.
2018-09-05 11:49:26 +02:00
Gaute Lindkvist
4112682b6a #3136 Fix RFT/PLT plots and refactor the way Mdi windows are resized when adding/removing plot tracks. 2018-07-04 11:10:32 +02:00
Gaute Lindkvist
6ae2fbe9d3 #3097 Centered plot title 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
f0bd7c726a #3097 Optionally add plot title to the plot itself 2018-06-27 08:35:17 +02:00
Magne Sjaastad
1ae30ef11a (clang-tidy) : modernize-use-nullptr 2018-02-18 18:56:43 +01:00
Jacob Støren
a914e38d53 #1380 Wip: Started to allign all the view widgets, preparing to avoid duplicated code when mdi window to RimViewWindow translation. 2017-03-31 15:13:50 +02:00
Magne Sjaastad
141257c83e #1293 Added "Show Plot Data" to context menu of plots 2017-03-16 08:23:27 +01:00
Jacob Støren
321b9e2d62 #1173 Made the legend a separate hide/show entity, and changed the overall layout of the well allocation plot 2017-02-13 08:44:29 +01:00
Jacob Støren
a1aec0b5e0 Fixed compile error not catched by cotire compilation 2017-01-20 10:32:01 +01:00
Jacob Støren
43249f7af8 Refactor related to #1106, #1107, #1109, #1113. Refactored the MDI control
of windows. This might introduce problems.
2017-01-19 17:54:01 +01:00
Jacob Støren
f77a92a77b Rename TrackPlot/PlotTrack classes to Track 2015-11-04 15:57:06 +01:00
Jacob Støren
1148c1167c (#570) Aligning of track top implemented.
Now using manual layout and external legend.
2015-10-30 21:39:27 +01:00
Jacob Støren
0a45354bd9 Tried to improve readability by renaming in the plot classes. 2015-10-28 10:08:28 +01:00
Pål Hagen
e2eaf5f1a3 (#467) Implemented drag & drop for moving tracks after drop target track 2015-10-20 12:25:18 +02:00
Magne Sjaastad
ef87f63b63 (#502) Reduce size of plot window when track is deleted 2015-09-22 09:50:29 +02:00
Magne Sjaastad
2b7d7be3f1 (#499) Added a custom track delete feature
Added infrastructure needed to delete track from plot and plot
collection
2015-09-21 15:55:55 +02:00
Pål Hagen
479b2083ef (#486) Renamed "trace" to "track" 2015-09-18 12:29:23 +02:00
Pål Hagen
d3f2df8b6b (#487) Stopped using focus events for selection in project tree
Already handled by sub window activation in main window.
2015-09-18 09:41:42 +02:00
Pål Hagen
08adcd5df7 (#466) Made sure that selecting plots and plot tracks both work
Both widgets accept focus events and select the corresponding items in
the project tree view. Focus is cleared immediately in the focus event
handlers, so that plot tracks won't steal focus from the plots in
subsequent selections of plots.
2015-09-17 12:02:37 +02:00
Pål Hagen
d3909c5d27 (#437) Using MD or TVD depth values for well log extraction curves
Also renamed some methods for clarity, and fixed a bug in
RimWellLogPlot::updateViewerWidget(). Using this method instead of
loadDataAndUpdate() when toggling visibility of the plot.
2015-09-11 10:44:10 +02:00
Jacob Støren
8b801bac50 (#442) Permanent fix. Needed to handle the new plot views properly 2015-09-10 08:14:28 +02:00
Pål Hagen
752c4071b9 (#412) Improved scroll wheel zooming (zoom around mouse Y position)
Moved scroll wheel handling to well log trace plot viewer, using event
filter for the plot canvas to get the mouse Y position, which is
transformed to the corresponding plot depth value and used as center for
zooming.
2015-09-04 15:57:34 +02:00
Jacob Støren
2a8533bad0 (#396) Save/Restore of WellLog plots partly in place.
Cleaned up ownership in WellLog plot classes
initAfterRead() is implemented
moved code related to command features from the WellLog classes
Still plots are not redrawn/reloaded when opening a project file.
2015-09-03 08:22:01 +02:00
Pål Hagen
2de4d0df29 (#396) Added scrollbar for panning of well trace plots 2015-09-01 14:50:26 +02:00