Commit Graph

19 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
Jacob Støren
11e57b663c Detaching all curves before the plot is deleted. Qwt needed it. 2015-09-03 15:10:45 +02:00
Pål Hagen
ef727b4797 (#396) Adding a curve is now legal also when there's no plot yet 2015-09-03 15:04:48 +02:00
Pål Hagen
f078a589a5 Linux compilation fix 2015-09-03 14:46:13 +02:00
Jacob Støren
7b308e514c Wip: Separated cretion of Qwt classes from Rim construction
This needs to be done because MDI window close window deletes the widgets.
We need to be able to recreate all the widgets/qwt objects when needed.
The QwtPlotCurves still crashes on window close/open
2015-09-03 14:26:49 +02:00
Pål Hagen
8fa2701415 (#396) Added fields for minimum and maximum X-axis values 2015-09-03 12:12:36 +02:00
Jacob Støren
2288130f6a (#396) Several fixes regarding Project with plots.
Plots loads the curve data on project open
Plots are removed on project close
Still missing some updates (curve names ...)
2015-09-03 08:22:06 +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
406d34c411 Linux compilation fix 2015-09-01 15:53:28 +02:00
Pål Hagen
51a251f7ef Linux compilation fix 2015-09-01 15:15:54 +02:00
Pål Hagen
2de4d0df29 (#396) Added scrollbar for panning of well trace plots 2015-09-01 14:50:26 +02:00
Jacob Støren
57d195d9d8 Cleaned away dummy data and moved curve creation logic to the command feature 2015-09-01 09:06:02 +02:00
Pål Hagen
2bac87972f (#396) A well log plot curve is set current when created 2015-08-31 11:27:40 +02:00
Pål Hagen
c2b7305f8e (#396) Using const ref parameters for curve data 2015-08-31 10:50:10 +02:00
Pål Hagen
d0b6e5466f (#396) Using the checkbox of the plot trace to toggle the visibility of the trace in the plot 2015-08-31 09:57:13 +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
7081e140fd Added command feature for addition of a new curve to a well log plot trace 2015-08-28 11:45:18 +02:00
Pål Hagen
609ee78400 WIP - well log plots, added traces to plots and curves to traces 2015-08-27 16:43:54 +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