Jacob Støren
0a45354bd9
Tried to improve readability by renaming in the plot classes.
2015-10-28 10:08:28 +01:00
Magne Sjaastad
331f401b42
Removed usage of obsolete tree model
2015-10-26 11:25:03 +01:00
Magne Sjaastad
7a6c4c06b9
System : Removed unused variables
2015-10-26 11:09:57 +01:00
Magne Sjaastad
f3f2cf1590
System : Removed unused functions
2015-10-26 10:18:59 +01:00
Magne Sjaastad
0405584bb6
System : Replaced tab with four spaces in ApplicationCode and subfolders
2015-10-23 15:46:25 +02:00
Jacob Støren
1dc03c87fa
Rename in RiuDragDrop
2015-10-23 14:32:27 +02: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
Magne Sjaastad
b046ca0769
Minor compilation issues cleanup
2015-10-21 14:49:20 +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
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
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
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
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
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
Pål Hagen
08573be64b
( #541 ) Added feature for export of well log plot curves to a LAS file
...
Did some refactoring/improvements by introducing new class
RigWellLogCurveData.
2015-10-15 11:27:12 +02:00
Magne Sjaastad
67a62f4f02
Renamed RimViewLink to RimViewController
2015-10-13 10:24:39 +02:00
Magne Sjaastad
63d401b6e6
Added unit test to Testing menu
...
Launch of unit tests (gtests) is also possible from command line
parameter "unittest"
2015-10-05 16:09:51 +02:00
Pål Hagen
9830522745
( #546 ) Check if they should be enabled before adding well path related context menu items
2015-09-25 17:10:17 +02:00
Magne Sjaastad
061288f1c3
( #495 ) Removed use of StdInclude
2015-09-25 15:57:50 +02:00
Jacob Støren
5b9bf3bcd2
( #518 ) Removed link visible views from 3DView context menu
...
Modified the command enabled state to be enabled only when it is sensible to run it.
(Unlinked views is present.)
2015-09-25 15:24:32 +02:00
Magne Sjaastad
4424c110be
Transformed static functions from ViewLinker to dynamic functions in RimView
2015-09-25 11:17:51 +02:00
Pål Hagen
b151200ffc
( #466 ) A curve must be selected no further than 20 pixels away
...
If the selection point is more than 20 pixels away from any curve's
points, the track is selected instead.
2015-09-25 10:25:44 +02:00
Magne Sjaastad
cc62e93d45
( #452 ) Fixed switching of MDI windows
2015-09-24 17:17:28 +02:00
Pål Hagen
dc898d92f9
( #466 ) Curve selection on LMB released instead of pressed
2015-09-24 15:27:33 +02:00
Pål Hagen
1e5b489133
( #466 ) Selection of curve only on LMB pressed
...
Made sure that the selection is not done on both left mouse button
pressed and released.
2015-09-24 15:09:19 +02:00
Magne Sjaastad
af75f513f9
Several minor refactoring and cleanup
2015-09-23 12:50:06 +02:00
Magne Sjaastad
942c0a20b7
Moved camera update from RimView to RimViewLinker
2015-09-23 12:23:21 +02:00
Magne Sjaastad
c8944d8801
Refactored funtions used to find viewLinker and viewLink
2015-09-23 11:01:46 +02:00
Magne Sjaastad
9d03120afa
( #512 ) Fixed missing time step texts for geomech case
...
Bug introduced in 06e8bc2ec5
2015-09-22 16:00:56 +02:00
Pål Hagen
759302b370
( #446 ) Added "Link Visible Views" to 3D context menu
2015-09-22 14:26:23 +02:00
Pål Hagen
ae1cc96979
( #501 ) "Link view" context menu items only visible when clicking the background
2015-09-22 13:34:43 +02:00
Pål Hagen
ff1f7b24b5
( #468 ) Showing well log plot context menu items only when a well path is picked
2015-09-22 13:14:08 +02:00
Magne Sjaastad
b45e571888
( #504 ) Do not use autoscale for x-axis - simplified track/plot update code
2015-09-22 11:55:21 +02:00
Pål Hagen
75dc7376ad
( #404 ) Selecting well path in the tree view when picked in the 3D view
...
Added method for setting selection based on the picked part.
2015-09-22 10:30:11 +02:00
Pål Hagen
be29a06883
( #501 ) Always displaying well log curve creation commands in the context menu
...
The command feature system handles enabled/disabled state.
2015-09-22 10:02:03 +02:00
Magne Sjaastad
ef87f63b63
( #502 ) Reduce size of plot window when track is deleted
2015-09-22 09:50:29 +02:00
Pål Hagen
0daaba58a4
( #501 ) Made sure that "link view" items in the context menu don't need hit info in the view
2015-09-22 09:40:44 +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
Magne Sjaastad
4d42fd37f5
( #485 ) Grow plot size when adding tracks
2015-09-21 15:01:11 +02:00
Pål Hagen
5e58cb141e
( #468 ) Added context menu item in 3D view for plotting of well log extraction curves
2015-09-21 14:24:29 +02:00