Commit Graph

38 Commits

Author SHA1 Message Date
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
a9c9471e7f Fix crashes in Drag and Drop if the drop target is the same as the current dragged item 2020-07-27 08:47:01 +02:00
Gaute Lindkvist
da6360cf98 Clean up move code for well log 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
2bb93ef872 #5389 Delete empty measurement curves after deleting or changing measurements. 2020-02-07 15:58:53 +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
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
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
bbebbf108f #3340 Remove unused variables 2018-09-10 10:27:54 +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
208313f672 #2944 Stop auto-zooming on load of Well Log Curves. 2018-05-23 11:29:16 +02: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
Magne Sjaastad
531aaaa445 AppFwk : Fixed typo of firstAncestorOrThisOfType 2016-09-21 13:59:41 +02:00
Jacob Støren
9041e4a582 #836 Fixed missing/wrong zoom update for well log plots when opening project.
Refactored the zoom update method names
2016-09-13 09:59:34 +02:00
Magne Sjaastad
bbf1574feb Wired up application logic related to new RiuMainPlotWindow 2016-06-29 14:38:11 +02:00
Magne Sjaastad
5eb38fe203 (#691) Added option to keep the depth range fixed 2015-12-07 12:03:33 +01:00
Jacob Støren
4388f39175 Renamed files PlotCurve->Curve 2015-11-04 16:22:53 +01:00
Jacob Støren
7b7ecf2f26 Renamed PlotCurve -> Curve 2015-11-04 16:19:38 +01:00
Jacob Støren
10582750ab Renamed files PlotTrack/TrackPlot -> Track 2015-11-04 16:14:42 +01:00
Jacob Støren
f77a92a77b Rename TrackPlot/PlotTrack classes to Track 2015-11-04 15:57:06 +01:00
Jacob Støren
21b1e6c6e6 (#592) Fixed autoscale for track move delete toggle
Also avoid to always do updateConnectedEditors on project when deleting a curve
2015-10-29 10:29:48 +01:00
Jacob Støren
0d41d15fe9 (#592) Refactored and renamed to make ready to fix for Track operations 2015-10-28 17:28:00 +01:00
Jacob Støren
07916f55ce (#592) Plots and tracks are now autoscaled on curve drag, drop, delete, toggled 2015-10-28 16:51:18 +01:00
Jacob Støren
44463f3a41 Fixed (#583) and improved (#585) and (#592)
Also a renamed typo allign -> align
2015-10-28 10:08:34 +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
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
e32b76b2af (#467) Made sure that track names are updated in source plot after moving tracks 2015-10-22 15:21:44 +02:00
Pål Hagen
e748e25ae1 (#467) Moving tracks onto a plot means insertion in front of existing tracks 2015-10-22 15:17:40 +02:00
Pål Hagen
e2eaf5f1a3 (#467) Implemented drag & drop for moving tracks after drop target track 2015-10-20 12:25:18 +02:00
Pål Hagen
36f2229b5b (#467) Postponing updates until all tracks have been moved to a plot 2015-10-19 14:07:06 +02:00
Pål Hagen
b2e04b47d9 (#467) Performing updates of track after all curves have been moved 2015-10-19 14:02:39 +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
1c3e9d8751 (#467) Implemented drag & drop for moving curves between tracks 2015-10-19 12:07:17 +02:00