Magne Sjaastad
6e0c6b89b1
( #565 ) Fixed invalid guarding of index when calculating well pipe visibility
...
Reverts two previous commits cfc8c72137
and 7c8fe47683
2015-10-22 10:39:36 +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
f4bbbcb7a2
( #467 ) Using subclassed treeview to notify the model about drag end
...
Using new class PdmUiTreeViewWidget instead of QTreeView in
PdmUiTreeViewEditor. PdmUiTreeViewWidget handles drag leave events and
calls endDrag() on the model.
2015-10-21 17:20:12 +02:00
Magne Sjaastad
b046ca0769
Minor compilation issues cleanup
2015-10-21 14:49:20 +02:00
Magne Sjaastad
ff1a1576a0
( #539 ) Make range filters readonly if an override range filter collection is active
2015-10-21 14:22:51 +02:00
Magne Sjaastad
dbd6ce09c5
( #539 ) Check for NULL pointer when deciding what kind of range filter collection to use
...
As the management of override range filter collection is handled
independenly from scheduleRedraw, we must check for a valid pointer when
trying to access the override range filter
2015-10-21 13:32:10 +02:00
Magne Sjaastad
4b95f2b807
( #539 ) Prevent context menu events to be propagated to parent
...
When a context menu is created in the viewer is, and the action
triggered is displaying a dialog,
the context menu of QMainWindow is displayed after the action has
finished
Setting this policy will make sure the handling is not deferred to the
widget's parent,
which solves the problem - Qt::PreventContextMenu
2015-10-21 13:16:09 +02:00
Magne Sjaastad
8de8100c3e
( #539 ) When view is unlinked, ask user to keep either override or original range filter collection
2015-10-21 13:16:09 +02:00
Jacob Støren
065a688c19
Fixed crash on every case loaded
2015-10-21 12:21:08 +02:00
Jacob Støren
00b56b7440
( #540 ) Range filter mapping now works fem->ecl and opposite.
...
We need to test more, but now it is getting there.
2015-10-21 10:04:00 +02:00
Jacob Støren
53826f4966
( #540 ) Wip: Preparing to Extract range endpoint calculation
...
We neeed to clamp fem range to the extents of the ecl grid within the
fem grid before trying to map fem to ecl. So we need to refactor a bit.
2015-10-21 08:21:16 +02:00
Jacob Støren
58363dbcf9
( #540 ) Wip: Range filter mapping alive! Needs more adjustments.
...
Fem to Ecl is not perfect.
2015-10-20 17:41:36 +02:00
Pål Hagen
8e3e3dd547
Removed out-commented code
2015-10-20 15:27:27 +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
Jacob Støren
32d49e4ba3
( #574 ) Fixed assert when creating eclipse curve
2015-10-20 12:19:41 +02:00
Jacob Storen
b5bb62ed0a
Linux compile fixes
2015-10-20 02:48:07 -07:00
Jacob Støren
8b894d8515
( #540 ) Override range filter update system improved
...
Rename of forgotten viewLink ->viewController
Remember to update group of linked views before adding a new dependent view.
2015-10-20 11:15:30 +02:00
Jacob Støren
4fc0553451
( #540 ) Added interface for fem to ecl range filter mapping as well.
2015-10-20 11:15:26 +02:00
Jacob Støren
a5ef83a2ee
( #540 ) WIP: Split the rangefilter mapping code into files
...
Preparing for assembling it all.
2015-10-20 11:15:21 +02:00
Jacob Støren
c023bc9b2a
( #540 ) WIP: Implemented use of arbitrary exact match diagonal in range filter mapping.
...
Now we are ready to start testing.
2015-10-20 11:15:16 +02:00
Jacob Støren
db4e637e76
Constified some methods in FemPart. WIP range filter mapping first untested code.
2015-10-20 11:15:12 +02:00
Pål Hagen
20b7ee9aa5
( #505 ) Changed context menu text
...
"Add To New Plot" instead of "Add To Plot"
2015-10-19 15:25:16 +02:00
Pål Hagen
31a70b669d
( #467 ) Made sure that only move, not copy, is handled for curves and tracks
2015-10-19 14:55:52 +02:00
Pål Hagen
7e1ef99146
Using const ref parameter
2015-10-19 14:50:01 +02:00
Pål Hagen
344e7679d7
Refactored code that moves cases to a grid case group by drag & drop
2015-10-19 14:48:03 +02:00
Pål Hagen
8a3c2c4c38
( #467 ) Refactoring - added helper class to simplify the drag & drop code
2015-10-19 14:29:28 +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
Magne Sjaastad
ab0e3819a1
( #539 ) Added framework for update of range filter based on master
...
Propagate pointer to a range filter if only a single filter is modified
Moved lifetime management of range filter collection to RimView
2015-10-19 12:10:28 +02:00
Pål Hagen
1c3e9d8751
( #467 ) Implemented drag & drop for moving curves between tracks
2015-10-19 12:07:17 +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
Pål Hagen
8e682926c6
Removed comments
2015-10-16 14:05:12 +02:00
Pål Hagen
1dc0da7a37
( #541 ) Using common value for absent values (-999.25, -9999.25, etc.)
2015-10-16 13:57:34 +02:00
Pål Hagen
aa1493fcb9
( #541 ) Exporting date to LAS file
2015-10-16 13:37:31 +02:00
Pål Hagen
c2f0163eef
( #541 ) Using two parameters when adding well info (parameter name and value)
2015-10-16 13:35:09 +02:00
Pål Hagen
0a7e971577
Added access method for the timestep string (date)
2015-10-16 13:33:35 +02:00
Pål Hagen
3ecd6d8da7
( #541 ) Exporting well name as part of well info to LAS file
2015-10-16 11:15:04 +02:00
Pål Hagen
7bcbb80691
( #541 ) Added interface for adding well info for export
2015-10-16 11:02:12 +02:00
Magne Sjaastad
bcb4919f3d
Rename and more comments
2015-10-16 10:08:25 +02:00
Pål Hagen
7b14306b5b
( #541 ) Use "Depth in meters" as parameter description for DEPTH
2015-10-16 10:07:56 +02:00
Pål Hagen
27a6775e3c
( #541 ) Change multiple "_" in default export file name to one
2015-10-16 10:06:45 +02:00
Magne Sjaastad
a7b3950c6b
Make sure the view linker is expanded after a link operation
2015-10-16 09:20:41 +02:00
Magne Sjaastad
91b100b8cc
( #566 ) Make sure layoutChanged signal is emitted only for existing item changes
...
If layoutChanged is emitted for new inserted items also, the items below
inserted item is collapsed and the expanded state of the tree is changed
2015-10-16 09:20:40 +02:00
Jacob Støren
08d1031f7f
Fixed Missing rename after merge
2015-10-15 23:29:30 +02:00
Jacob Støren
5d642719b7
( #557 , #560 , #561 ) WLP: Massive renaming in WellLogCurveData. Fixed undiscovered bug.
...
Curves plotted by TVD was not correctly splitted where well path went out in free air.
2015-10-15 23:21:31 +02:00
Magne Sjaastad
aeeb445dae
Delete items from existing tree before building the map from pdmUiTreeOrdering to index
2015-10-15 19:19:47 +02:00
Pål Hagen
3683dc95cd
( #541 ) Setting depth range for export from the curve's raw data, not the plot curve's data
2015-10-15 16:31:11 +02:00
Pål Hagen
2dd1e98f81
( #541 ) Setting version info, start and stop depths, and depth unit, when exporting to LAS
2015-10-15 16:12:22 +02:00
Pål Hagen
33a32c9c1a
( #541 ) Added some access methods to NRLib::LasWell to be used when exporting
2015-10-15 16:11:03 +02:00