Commit Graph

14 Commits

Author SHA1 Message Date
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
Pål Hagen
d7872971d3 (#412) Faster zooming and panning of well log plots
Could consider to use for instance Shift or Alt as extra modifiers for
speeding up/slowing down zooming/panning.
2015-09-04 14:23:13 +02:00
Pål Hagen
a1d95f2b8a (#396) Reset the zoom to show the entire depth range only when the first curve is added
Additional additions or changed parameters (by the user) will not change
the visible depth settings. Did some code cleanup.
2015-09-04 14:14:56 +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
8d7bbb85a9 (#396) Scroll wheel now pans the plot in the depth direction 2015-09-02 16:30:37 +02:00
Pål Hagen
fd3df6492b (#396) Made sure that Ctrl is needed for scroll wheel zoom 2015-09-02 15:58:54 +02:00
Pål Hagen
9b4a74cc33 Linux compilation fix 2015-09-01 14:58:21 +02:00
Pål Hagen
2de4d0df29 (#396) Added scrollbar for panning of well trace plots 2015-09-01 14:50:26 +02:00
Pål Hagen
ba1b2ec110 (#396) Handling scroll wheel event to zoom all well log trace plots 2015-09-01 11:14:58 +02:00
Pål Hagen
0133659e05 (#396) Added fields for min and max depths to the well log plot
Changing those fields will cause all well trace plots to be updated
accordingly.
2015-08-31 17:21:21 +02:00
Pål Hagen
65d158a6ad (#396) Using margin size 0 for well log plot's layout 2015-08-31 09:38:44 +02:00
Pål Hagen
9d4f9d617f Basic well log plot functionality with dummy data up & running
Traces can be added to and deleted from well log plots, and curves with
dummy data can be added and deleted. TODO: Replace dummy data with real
well log data and data extracted from the model.
2015-08-31 02:06:37 +02:00
Pål Hagen
4e83cff8a2 Well log plots now contain one plot per trace 2015-08-28 14:25:14 +02:00
Pål Hagen
4e6bb1ded3 WIP - added project data model files for well log plots
Added command feature for adding new well log plots (right-click "Plots"
in the project tree view). Will create dummy Qwt widget added as an MDI
window.
TODO: Complete the relations between the entities, and add
properties/property editors. Create more advanced viewer widget for
plotting of multiple traces with multiple curves. Harmonize MDI stuff
with 3D viewers.
2015-08-27 16:13:49 +02:00