Commit Graph

296 Commits

Author SHA1 Message Date
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
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
Jacob Støren
959abe7930 Set initial well plot axis ranges to something "pretty" 2015-09-03 11:55:24 +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
Jacob Støren
30e2495849 Remove duplicate add/remove/setActive viewer methods from MainWindow.
(#408) Added Save Load of WellLog Plot window geometry also
2015-09-03 08:21:57 +02:00
Magne Sjaastad
e3c11f11e9 Added Close All Windows 2015-09-02 17:18:26 +02:00
Magne Sjaastad
a012049693 Make sure icon is updated when viewer is closed 2015-09-02 17:18:25 +02:00
Pål Hagen
a44e548f93 (#396) Align the canvas with the actual min and max values of the curves 2015-09-02 16:41:12 +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
Magne Sjaastad
b29ad69673 (#408) Save and restore MDI window size and position 2015-09-01 22:11:39 +02:00
Magne Sjaastad
379cf6b228 (#395) Moved code from RiuViewer to RimView and cleaned up includes 2015-09-01 18:21:20 +02:00
Magne Sjaastad
4730e10319 Created navigationPolicyUpdate to be used from navigation policies 2015-09-01 18:04:35 +02:00
Magne Sjaastad
a1f5d44f56 Moved Link visible views toolbar icon 2015-09-01 17:40:57 +02:00
Magne Sjaastad
7969e22364 (#395) Moved managed views from RimView to RimProject 2015-09-01 17:34:03 +02:00
Pål Hagen
b5684b5255 (#396) Made sure that the plot canvas is aligned to the scales 2015-09-01 15:48:53 +02:00
Pål Hagen
36c05c2108 (#396) Removed Qwt-based panning 2015-09-01 15:00:22 +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
Magne Sjaastad
7103b196e3 (#406) Added label Property Editor 2015-09-01 13:05:21 +02:00
Magne Sjaastad
bd396b7ff4 (#406) Changed name of additional property editor and removed margins 2015-09-01 11:49:43 +02:00
Magne Sjaastad
444500f6cc (#395) Make sure the update() virtual function is called from camera related functions 2015-09-01 11:31:31 +02:00
Magne Sjaastad
c269e57d6d Removed obsolete code 2015-09-01 11:31:31 +02:00
Pål Hagen
eee14d790b (#396) Stopped using Qwt-based magnifier 2015-09-01 11:16:59 +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
65f0c5fb42 (#396) Showing default legend on top of the plot 2015-08-31 15:23:20 +02:00
Pål Hagen
adba5ba6fc (#396) Added panning of the depth axis (left mouse button + move) 2015-08-31 14:54:48 +02:00
Pål Hagen
f186e07742 (#396) Added simple zoom functionality for the depth axis
Ctrl + scroll wheel = zoom around center. Consider making a more
specialized zoom functionality for zooming around mouse cursor, and with
synchronization with other trace plots.
2015-08-31 14:47:34 +02:00
Pål Hagen
b3d58ed0a0 (#396) Inverted the direction of the depth axis, using top left as origin 2015-08-31 12:45:28 +02:00
Pål Hagen
991f31a44f (#396) Using axes on the top and left side 2015-08-31 12:34:08 +02:00
Pål Hagen
513e9d9075 (#396) Added grid to well log trace plot. Using light gray solid lines. 2015-08-31 11:39:59 +02:00
Pål Hagen
5635df8dd4 (#396) Got rid of frame around plot canvas 2015-08-31 09:42:29 +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
6362ffa311 (#396) Using white background color in plot widget and plot canvas 2015-08-31 09:34:41 +02:00
Magne Sjaastad
c065b8350c (#406) Created a combined docking widget for additional project trees and property views 2015-08-31 07:53:52 +02:00
Magne Sjaastad
ca06e8a307 (#406) Update additional project trees and property editors 2015-08-31 07:53:51 +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
Magne Sjaastad
3f09c1bc66 Added LinkVisibleViewsFeature, and added action to draw toolbar 2015-08-30 13:30:46 +02:00
Magne Sjaastad
e5d5543cd9 Ovveride update() and find all linked views to be updated 2015-08-28 21:32:51 +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
Magne Sjaastad
3ef65ab8f9 Added keyboard shortcuts for copy/paste of geo views/ geo cases 2015-08-27 14:06:50 +02:00
Magne Sjaastad
f6ac177ff2 Added ManagedViews and sync of camera, time step and cell result 2015-08-26 15:42:31 +02:00
Pål Hagen
2b87c8c7d6 Added Qwt library and basic classes for well log viewer 2015-08-26 12:27:29 +02:00
Magne Sjaastad
20c1e609b8 Added tile and cascade of MDI windows 2015-08-26 10:46:38 +02:00
Magne Sjaastad
d0ab927161 Disable undo command system 2015-08-25 08:41:26 +02:00
Magne Sjaastad
556e3f375c Hide undo docking widget 2015-08-24 18:26:12 +02:00
Pål Hagen
0c8600c6dd (#355) Got rid of all RimUiTreeModelPdm includes 2015-08-24 17:42:42 +02:00