Commit Graph
25 Commits
Author SHA1 Message Date
jonjenssen 7cb9a071c1 Surface: Support for folders, copy and drag'n'drop (#6335)
* Enable surface reordering support. Automatically update surface in view ordering based on surface collection ordering

* Remove obsolete code

* Enable drag'n'drop support for surfaces within a surface collection. Still missing the collection update part.

* Bring back code lost in prev. commit

* Add code to accept drops in surface collections. Keep view  in sync.

* Add command for adding additional surface folders.

* Make sure we use the current surface collection as our parent when importing

* Enable name editing.
Make sure we use the correct surface collection when importing/creating surfaces

* More work on getting surface collections working.

* Clean up naming

* Make sure name for surfaceinviewcollection is read only

* Support drawing surfaces from subcollections, too

* Allow deleting subfolders.
Fix legends in view

* Refactor topmost flag for surface collections.

* Fix reload surface to work in all subfolders, too
Add copy surface skeleton. Actual copy operation is still missing

* Add support for copying surfaces

* Remove possibility to choose I and J slice directions for grid case surfaces.

* Fix warnings.

* Make sure we create the surface folder at the correct level

* More warning fix

* Use XML serialization for copy operation

* Fix missing delete

* Fix typo

* Remove unnecessary method.
2020-08-24 11:09:22 +02:00
Gaute Lindkvist 6bcf1b56fe Disallow dropping curves onto other curves
* Dropping curves between other curves works much better with this change.
2020-08-20 12:50:55 +02:00
Gaute Lindkvist 86a4f5613c Major improvements to D&D of curves. 2020-08-10 12:58:53 +02:00
Gaute Lindkvist 2e00d9a719 Support drag and drop of summary curves 2020-07-27 08:47:01 +02:00
Gaute Lindkvist 5b126c3b98 Swap well log curves with drag and drop if the target is just above the single drag item.
* Currently nothing happens in this case, because we insert the dragged item
  after the target.
* On balance it seems more intuitive to swap the items in this particular case
  even if it is slightly against the regular drag operations.
2020-07-27 08:47:01 +02:00
Gaute Lindkvist bfaff27d51 Re-add missing drag and drop for well log tracks 2020-07-27 08:47:01 +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 85d683634c Further refactoring 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 c578a43b53 Introduce RimGridPlotWindow and RiuQwtPlotWidget 2019-10-24 14:59:16 +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
Magne Sjaastad fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Magne Sjaastad 6346ed012c clang-tidy : Remove redundant 'virtual' and add 'override' 2018-10-18 19:45:57 +02:00
Rebecca Cox ee25b8424d #1840 Summary case: Cut paste of summary cases 2017-09-13 11:15:28 +02:00
Rebecca Cox 6dc14c09b1 #1840: Summary case: Drag and drop between folders 2017-09-13 11:15:28 +02:00
Jacob Støren 7b7ecf2f26 Renamed PlotCurve -> Curve 2015-11-04 16:19:38 +01:00
Jacob Støren f77a92a77b Rename TrackPlot/PlotTrack classes to Track 2015-11-04 15:57:06 +01:00
Magne Sjaastad 5a1e244b2a System : Renamed classes and function names relaed to drag and drop 2015-10-23 11:03:23 +02:00
Pål Hagen e9f94fc959 (#467) Moving curves onto a track inserts them in front of existing curves
Dragging and dropping curves onto a curve appends curves after the given
curve.
2015-10-22 16:56:10 +02:00
Pål Hagen 1c1ceb267b (#467) Drag & drop improvements
Getting drag items from selection when the drag is started (when the
interface asks for supported drop actions). Using proposed the drop
action along with the drag items to determine if the drag item can be
dropped onto a given target in the flags() method.
2015-10-22 14:47:51 +02:00
Pål Hagen 6747fe5976 (#467) Drag & drop improvements. Keeping track of the items being dragged. 2015-10-21 17:21:56 +02:00
Pål Hagen 2893b29bbc (#467) Implemented drag & drop for moving tracks between plots 2015-10-19 13:57:41 +02:00
Pål Hagen 3a01fe0782 (#467) Implemented tree view drag & drop of LAS file well log channels to plot tracks
Did some refactoring/cleanup of existing drag & drop code to make it
easier to add drag & drop for other item types.
2015-10-16 16:58:49 +02:00
Jacob Støren c599fd39f8 (#372) Drag Drop Move implemented.
User question on closing/moving a statistics source case
2015-08-20 10:43:49 +02:00
Jacob Støren 302f46b61b (#372) First step in Reimplemented drag and drop support 2015-08-18 11:23:53 +02:00