Commit Graph

694 Commits

Author SHA1 Message Date
Magne Sjaastad
d7a69bdae8 Merged intersection box interactive manipulation 2016-09-30 10:01:17 +02:00
Jacob Støren
7456d1e697 Revert "#902 Create box at position - context command" We need a separate feature for this
This reverts commit e36b39289f.
2016-09-30 09:51:11 +02:00
Magne Sjaastad
593d72d63b (#884) Refactor and cleanup 2016-09-30 09:34:45 +02:00
Magne Sjaastad
d4bdbcb7c8 (#884) Added prototype of event handler for interaction with box 2016-09-30 09:34:39 +02:00
Jacob Støren
e36b39289f #902 Create box at position - context command 2016-09-30 09:07:04 +02:00
Jacob Støren
638f5526ac #899 Fixed Grid On/Off state in toolbar 2016-09-29 15:42:19 +02:00
Jacob Støren
3bca03a722 Fix of missing changes from previous merge commits. Missing rename of anchestor to ancestor 2016-09-28 14:35:57 +02:00
Jacob Støren
cbb626aa31 Merged intersection-box into dev 2016-09-28 14:27:17 +02:00
Magne Sjaastad
6b1dd89b2e #888 Intersection Box: Enable picking on intersection box geometry 2016-09-26 10:35:59 +02:00
Magne Sjaastad
5c4b92f9b8 #818 Intersection Box: Added XYZ slices to context menu in 3D view 2016-09-23 16:12:19 +02:00
Magne Sjaastad
120cc8b6dc #887 Category Legend: Limit legend height when having few categories 2016-09-22 15:31:21 +02:00
Magne Sjaastad
993a67edb6 Increased number of items in recent files to 9 2016-09-22 15:01:52 +02:00
Magne Sjaastad
531aaaa445 AppFwk : Fixed typo of firstAncestorOrThisOfType 2016-09-21 13:59:41 +02:00
Jacob Støren
a9d1f52005 #815 More renaming CrossSection -> Intersection 2016-09-21 11:44:28 +02:00
Jacob Støren
d549f45ad0 #815 More renaming CrossSection -> Intersection 2016-09-21 11:38:37 +02:00
Jacob Støren
08baa5ccc9 #815 Renamed RimCrossSection -> RimIntersection 2016-09-21 10:48:25 +02:00
Jacob Støren
e5cf69a3fe #815 More Rename CrossSection -> Intersection 2016-09-21 10:40:08 +02:00
Magne Sjaastad
33abbed1fd #882 RiaApplication : Renamed to lastUsedDialogDirectory and added currentProjectPath. Use project path as fallback path for LAS export 2016-09-21 09:46:17 +02:00
Magne Sjaastad
0fc911e50b #837 Set category legend width to 150 px 2016-09-14 08:27:04 +02:00
Magne Sjaastad
7306950d9d #831 Category legend use full height to be able to show as many category names as possible 2016-09-12 11:11:25 +02:00
Jacob Støren
78b29fc3a0 Fixed zoom all bounding box issue related to 1209c908e5
Used explicit mainRendering instead of renderSequence->firstRendering()
2016-09-07 15:54:12 +02:00
Jacob Støren
1209c908e5 Fixed clip plane related assert on linux. Hopefully the final fix of trouble related to : ca6e650a72 and 80985785 and 0128baddff
The fundamental problem was that the quad rendering was included in the boundingbox.
2016-09-07 12:52:40 +02:00
Jacob Støren
c903e87dfd #811, #812 WIP, Formation names coloring of cells. First shot. Works but needs refinment. 2016-09-06 10:27:30 +02:00
Jacob Støren
f03e6de1f2 #810, #813, #808 Display formation name when picking 2016-08-24 15:19:39 +02:00
Jacob Støren
b46c6ebcf8 #809 Created Formation Names project items.
#819 Added delete command to Formation names
#808 Added an import Formation Names command
2016-08-24 08:30:12 +02:00
Jacob Støren
c1f5ec5bdf #168 Finalized. Zoom along ray is now updated to cope with parallel projection. The code in the different navigations are cleaned up a bit, and alligned 2016-08-17 10:54:15 +02:00
Jacob Støren
fbcf9fca11 #168 Merged in parallel projection 2016-08-16 23:20:33 +02:00
Jacob Støren
27830dcbeb #168 Added Perspective/parallel view tool button 2016-08-16 22:43:22 +02:00
Jacob Støren
4eddcc859a #168 Save and restore of parallel projection 2016-08-16 14:34:37 +02:00
Magne Sjaastad
cb4aa45cd3 Merged in changes from maintenance branch 2016-08-11 10:29:14 +02:00
Magne Sjaastad
6d95261410 Removed obsolete includes to cafPdmUiTreeView 2016-08-11 09:10:56 +02:00
Magne Sjaastad
f4a74cb4ec Fixed missing object name for toolbar 2016-08-09 14:47:27 +02:00
Magne Sjaastad
f9047ab77f (#806) Improved layout of items in preferences 2016-08-09 13:45:08 +02:00
Magne Sjaastad
58047a6509 #569 Added custom font for labels in 3D scene and added font size to preferences 2016-08-09 13:43:13 +02:00
Magne Sjaastad
d9973743ee #272 Improved meta data for custom cell edge results 2016-08-06 08:47:56 +02:00
Magne Sjaastad
1101db5787 (#805) Added category legend and mapper 2016-08-05 17:23:50 +02:00
Magne Sjaastad
23bd3c9b0c (#805) Cleaned up includes and generalized access to overlayItemLegend 2016-08-05 17:19:49 +02:00
Magne Sjaastad
4bfef4ead0 Merged in changes from maintenance branch 2016-08-04 11:12:53 +02:00
Jacob Støren
71dce565c5 #803 Added version number to dock/toolbar layout registry settings 2016-08-03 14:05:55 +02:00
Jacob Støren
3bcb7b9f1b #802 Better default dock and toolbar layout.
Window managment toolbar moved.
Created a Draw Style toolbar
2016-08-03 13:29:46 +02:00
Magne Sjaastad
512f8904de AppFwk: Do not toggle item when tree item editor widget (QLineEdit) is closed with Enter key 2016-07-25 18:25:14 +02:00
Magne Sjaastad
fa19a74dcc #225 Clear Result Info and Result Plot when closing a case 2016-07-18 16:16:10 +02:00
Magne Sjaastad
686aef821e Cleaned up includes 2016-07-16 16:31:55 +02:00
Magne Sjaastad
52f6b9a635 Give focus to Ok button after adding a folder 2016-07-15 13:56:41 +02:00
Magne Sjaastad
97232fedd4 #752 Result Info reports "Grid cell" value to be Inf 2016-07-15 09:57:00 +02:00
Magne Sjaastad
2e8c4ac211 #792 Summary: Added storing of visible display window based on zoom and pan 2016-07-05 14:58:42 +02:00
Magne Sjaastad
b8615f0ebc #792 Added Window zoom and Zoom All 2016-07-05 10:47:03 +02:00
Magne Sjaastad
ac5402ca5a Added updateViewerWidgetWindowTitle for summary plots 2016-06-29 14:41:17 +02:00
Magne Sjaastad
ea6d652a17 Added missing initialization of distance when picking in Qwt plots 2016-06-29 14:41:17 +02:00
Magne Sjaastad
75c08979c7 Added support for active summary plot 2016-06-29 14:41:15 +02:00
Magne Sjaastad
cac86dcec9 Fixed mouse interaction with well log plots and tracks 2016-06-29 14:41:14 +02:00
Magne Sjaastad
0680e830b4 Added CopyViewToClipboard feature 2016-06-29 14:41:13 +02:00
Magne Sjaastad
2e0553d99c Tile windows feature for plot window 2016-06-29 14:40:37 +02:00
Magne Sjaastad
3b55f98dbd Added ShowPlotWindow feature 2016-06-29 14:40:37 +02:00
Magne Sjaastad
119881dc7d Removed obsolete code related to actions, menus and dock widgets 2016-06-29 14:40:20 +02:00
Magne Sjaastad
bbf1574feb Wired up application logic related to new RiuMainPlotWindow 2016-06-29 14:38:11 +02:00
Magne Sjaastad
e92624a862 Moved setting for main windows geometry and toolbar state to RiuMainWindowBase 2016-06-29 14:38:06 +02:00
Magne Sjaastad
aef466087d Established RiuMainPlotWindow 2016-06-29 14:37:41 +02:00
Magne Sjaastad
830db2c6ec (#743) Added import of Input Case using opm-parser 2016-06-23 14:36:33 +02:00
Jacob Støren
27f6b980fe #778 Display unit on Y-Axis. Added unit to legend. Cosmetics on Curve Filter Prop-panel 2016-06-22 14:34:56 +02:00
Jacob Støren
6aa5ba9e2d Linux include compile fixes 2016-06-22 12:38:29 +02:00
Jacob Støren
eec539b793 #786 Picking curves selects the curve 2016-06-22 11:34:26 +02:00
Jacob Støren
58391efef1 Whitespace 2016-06-22 11:28:19 +02:00
Jacob Støren
12e1e47bf1 Summary curves: Turned on anti-aliasing, Showing complete curve appearance in legend. Added Symbol skipping as feature. 2016-06-22 10:38:04 +02:00
Magne Sjaastad
e603773417 Added missing pragma once 2016-06-06 07:13:53 +02:00
Jacob Støren
ae615901b8 #739 Moved windowsGeometry data to the RimViewWindow base class
Introduced an interface for setting and getting mdiWindow Geometry
Changed file keywords from GraphPlot etc to SummaryPlot
Added a summary plot QwtPlot descendant
Added handling of delete of the MDI window
2016-05-26 13:17:26 +02:00
Jacob Støren
e469eb1483 #739 Moved code creating curve from datetime and double data 2016-05-24 11:06:42 +02:00
Magne Sjaastad
1c4c1d254e (#711) Use most recent activated Eclipse view if a well log plot is active
Octave scripts must have an Eclipse view to communicate with. If a WLP
is active, evaluate recently used views to find the most recently
Eclipse view used.
2016-01-06 23:01:27 +01:00
Magne Sjaastad
0a15ccf577 Fixed missing selection of well path in project tree when clicking on a well path in 3D view 2015-12-16 09:46:08 +01:00
Jacob Støren
1d9481f09b (#695) Unintentional picking fixed.
Fixed in viewer, keeping the concept of the navigation policies to not flag the
the events as handled.
Made this clearer by adding an interface to turn event consumption on or off on the
navigation policies.
2015-12-10 09:39:55 +01:00
Jacob Støren
f1574bc774 (#168) Consolidated zoom along ray to prepare for handling ortho view 2015-12-10 09:39:49 +01:00
Jacob Støren
5874df7cc9 (#168) (#695) Wip: Refactoring the ResInsight nav policies to make bugfixing simpler 2015-12-10 09:39:42 +01:00
Jacob Støren
afe84ce75e (#168) Parallel walk navigation working. Still things to fix 2015-12-10 09:39:06 +01:00
Jacob Støren
bbb0a5e993 (#168) Wip: Parallel projection. Basics in place 2015-12-10 09:33:58 +01:00
Magne Sjaastad
75b476c063 (#696) Select legend definition when clicking on legend in 3D view 2015-12-08 17:25:48 +01:00
Magne Sjaastad
b4e7e27f76 Fixed issued reported by CppDepends 2015-12-07 12:53:36 +01:00
Magne Sjaastad
dc6a50ec3c Renamed from setCurrentObjectInTreeView to selectAsCurrentItem 2015-12-07 10:07:51 +01:00
Magne Sjaastad
a2bfc12c57 (#674) Clicking on items in 3D view selects corresponding item in tree view/property panel
Clicking on 3D Info box and legends for cell result, separate fault
result and cell edge selects corresponding items in tree view
2015-12-07 09:59:19 +01:00
Magne Sjaastad
e65facd590 (#404) Added RicViewerEventInterface and moved well path text display into a separate class 2015-12-04 15:15:54 +01:00
Magne Sjaastad
27206cab3b (#404) Added display of picked well path text in Result Info 2015-12-04 15:15:54 +01:00
Magne Sjaastad
a0775fc6ec (#688) Update bounding box for grid box model when camera changes 2015-12-03 14:02:36 +01:00
Magne Sjaastad
40cf03dbd5 Rename 2015-12-03 08:39:08 +01:00
Magne Sjaastad
9ec7326735 (#686) Enable "Hide grid" for geomech views 2015-12-03 08:38:03 +01:00
Jacob Støren
76a90b04c8 (#616) Removed the legend scrollbars completely by keeping the legend with at required size. 2015-12-02 13:58:10 +01:00
Jacob Støren
fa83513ac6 Made scrollbar inactive on zoom all. Made zoom all depth show the endpoint of the plot. 2015-12-02 12:23:10 +01:00
Magne Sjaastad
8047b9e92e (#617) Improved wheel zoom on curves
The scroll bar was updated as part of the wheel zoom event, and a signal
from this update caused a panning of the curve
2015-12-02 08:29:28 +01:00
Magne Sjaastad
3eade62961 (#641) Use checkable button for point input from viewer 2015-12-01 12:34:30 +01:00
Magne Sjaastad
8b3adf0f5b (#641) Refactoring to improve readability 2015-12-01 12:34:29 +01:00
Magne Sjaastad
bd2a65acb4 (#641) Create user defined polyline by clicking on reservoir cells 2015-11-27 17:18:51 +01:00
Jacob Støren
7b9f2b41ed CppCheck fixes, Errors Warnings and performance 2015-11-27 16:37:26 +01:00
Magne Sjaastad
f33a3174ee (#667) Make Grids toggle follow toggle button in toolbar
Renamed toolbar text to "Hide Grid Cells"
2015-11-27 13:47:02 +01:00
Magne Sjaastad
3c4142fc52 (#678) Show context menu commands on intersection
Added hide intersection
2015-11-26 16:01:23 +01:00
Jacob Støren
3e78eebee3 (#633) Cross sections on simulation wells 2015-11-26 11:09:10 +01:00
Magne Sjaastad
9429458d32 Rename from cells to globalCellArray 2015-11-24 14:21:02 +01:00
Magne Sjaastad
1890ff19f9 (#664) Picking on intersections for eclipse and geo models 2015-11-24 14:14:39 +01:00
Magne Sjaastad
c588a1fe69 (#645) Convert step names to dates for plotting in Result Plot 2015-11-24 11:35:19 +01:00
Magne Sjaastad
ca9b1cf683 (#51) Use contrast color for overlay item text and grid colors 2015-11-23 13:31:29 +01:00
Magne Sjaastad
83387ded1b (#658) Fixed missing NNC text in Result Info 2015-11-23 10:34:33 +01:00
Magne Sjaastad
95e22b581c (#639) Updated axis cross texts 2015-11-23 07:24:50 +01:00
Magne Sjaastad
0b097ec2eb Hide cross section command from context menu of simulation well 2015-11-21 15:36:01 +01:00
Magne Sjaastad
b26d199815 (#639) Show E (x,1) on axis label
As the space is limited, the text is compressed to "E-x1", "N-y2", "Z-3"
2015-11-20 09:12:07 +01:00
Magne Sjaastad
ca5dc6e80a Removed unused function 2015-11-19 19:04:28 +01:00
Magne Sjaastad
115e0cb660 (#657) Improved 3D view commands and context menu creation 2015-11-19 18:57:32 +01:00
Magne Sjaastad
9c2b1b44a6 (#657) Wired up UI to viz model generation for cross sections 2015-11-19 11:41:16 +01:00
Magne Sjaastad
5ac3dea46d [System] Cleaned up unused variables and functions 2015-11-19 07:57:45 +01:00
Magne Sjaastad
69e30dc8bc (#657) Added support for creation of cross section from simulation well context menu 2015-11-18 18:21:22 +01:00
Magne Sjaastad
dc894928b5 (#657) Added support for creating a cross section from well path context menu in 3D viewer 2015-11-18 17:55:05 +01:00
Jacob Storen
cc1a8cf28d Fixed Linux warnings 2015-11-18 06:50:15 -08:00
Magne Sjaastad
08c04f5052 (#656) Added text effect to effect generator 2015-11-17 16:26:07 +01:00
Magne Sjaastad
9a672eccad (#266) Use static model interface for static geometry 2015-11-17 13:19:19 +01:00
Magne Sjaastad
96acc1e75d (#266) Improved label display 2015-11-17 13:19:12 +01:00
Magne Sjaastad
401cfe81a1 (#266) Refactoring
Limit usage of RivGridBoxGenerator to only RiuViewer
Update colors of grid box based on background color
Use dark gray instead of pure black
2015-11-17 13:19:04 +01:00
Magne Sjaastad
2c1b960251 (#266) Update grid box model in optimizeClippingPlanes 2015-11-17 13:18:54 +01:00
Magne Sjaastad
3bc7b88ca7 (#266) Create parts from selection in derived classes of RimView 2015-11-17 13:18:45 +01:00
Magne Sjaastad
d72861f929 (#266) Show highlight viz models in overlay rendering 2015-11-17 13:18:39 +01:00
Magne Sjaastad
121ee80295 (#266) Cleaned up access to boundingBox 2015-11-17 13:18:27 +01:00
Magne Sjaastad
bca5720968 (#266) Added interface for all/activeCellsBoundingBox and displayModelOffset 2015-11-17 13:18:05 +01:00
Magne Sjaastad
7ff7f42adc (#266) Added geometry for grid box faces
Added legend lines and text
2015-11-17 13:11:54 +01:00
Jacob Støren
7b65cb91ce (#625) Added access to the generalized propertyFilterCollection in the view 2015-11-12 10:48:13 +01:00
Jacob Støren
d8ea2816c3 (#647) Made the width of 3dinfo box minimum 275 wide 2015-11-11 17:42:30 +01:00
Jacob Støren
adc777083d (#642) Date in animation progress.
Not removed from Info text yet
2015-11-11 16:22:44 +01:00
Magne Sjaastad
6f4a4e16c6 (#638) Changed title to "Result Plot" and renamed files 2015-11-11 14:07:21 +01:00
Magne Sjaastad
a13376a8bf (#632) Update application items when selection changes using a separate class
Added RiuSelectionChangedHandler
Moved code from ViewerCommands into SelectionChangedHandler
2015-11-11 11:41:11 +01:00
Magne Sjaastad
a584bcfdf6 Removed unused functions and variables 2015-11-10 11:11:13 +01:00
Magne Sjaastad
17493070ac (#632) Improved colors used for selection and time history curves 2015-11-10 09:43:56 +01:00
Magne Sjaastad
2f70abb90d (#632) Minimum widget size of time history plot is set to zero 2015-11-10 09:06:44 +01:00
Magne Sjaastad
f05385129b (#632) Single click on cell gives single cell selection for curves, CTRL + click appends 2015-11-10 08:58:17 +01:00
Magne Sjaastad
7cd2cd0f50 (#632) Add Eclipse cell to selection and show in 3D view and time history plot
Consolidated remove of model based on name in RimView
Cleanup selection and time history plot when project is closed
2015-11-09 19:05:31 +01:00
Magne Sjaastad
516c120313 (#632) Added selection manager for items in 3D view 2015-11-09 19:05:30 +01:00
Jacob Støren
4f05c0d6b9 (#606) (#607) Added eclipse stats for visible cells 2015-11-06 13:24:48 +01:00
Magne Sjaastad
2adb9279ce (#612) Added grid to QwtPlot 2015-11-06 10:19:18 +01:00
Magne Sjaastad
ab3c5c029a Refactored RiuLineSegmnetQwtPlotCurve
Removed domain specific code
Created RigCurveDataTools
Use symbol to draw single values
2015-11-06 10:08:35 +01:00
Magne Sjaastad
3c00a8394d Refactored and renamed to RuiLineSegmentQwtPlotCurve 2015-11-06 08:32:58 +01:00
Magne Sjaastad
cef31b2c4a (#612) Make sure time step dates are taken from scalar dataset with highest time step count 2015-11-05 14:12:49 +01:00
Magne Sjaastad
e3d76be0aa (#612) Improved user interaction for adding/deleting curves
When time hist plot is visible,
CTRL + mouse click on a cell adds curve to plot
Mouse click outside clears curve plot
2015-11-05 13:48:10 +01:00
Magne Sjaastad
ff6e2755aa Added time history plot for geo mech models 2015-11-05 13:48:10 +01:00
Magne Sjaastad
b30604edd1 Rename 2015-11-05 13:48:09 +01:00
Magne Sjaastad
7db6835075 (#612) Append new curves on cell click, clear when no cell is hit 2015-11-05 13:48:09 +01:00
Magne Sjaastad
0011f090de (#612) Time history result accessor and display of curve from selection 2015-11-05 13:48:08 +01:00
Magne Sjaastad
30adb2661e (#612) Added time history plot as a dockwidget 2015-11-05 13:48:07 +01:00
Jacob Støren
4388f39175 Renamed files PlotCurve->Curve 2015-11-04 16:22:53 +01:00
Jacob Støren
7b7ecf2f26 Renamed PlotCurve -> Curve 2015-11-04 16:19:38 +01:00
Jacob Støren
10582750ab Renamed files PlotTrack/TrackPlot -> Track 2015-11-04 16:14:42 +01:00
Jacob Støren
f77a92a77b Rename TrackPlot/PlotTrack classes to Track 2015-11-04 15:57:06 +01:00
Magne Sjaastad
61665dc7c9 Use updateConnectedEditors instead of a resize 2015-11-02 09:50:45 +01:00
Magne Sjaastad
cb1723494c (578) Disable commands in 3D view if range/property is overridden 2015-11-02 09:50:42 +01:00
Jacob Støren
765c659c7f (#563) Added integration point number in result info text for Geom Cases.
Also added node coordinates of associated nodes.
2015-11-02 07:57:33 +01:00
Jacob Støren
27271c7988 Increased default plot width a bit, to better handle the long curve names 2015-10-31 22:47:37 +01:00
Jacob Støren
1148c1167c (#570) Aligning of track top implemented.
Now using manual layout and external legend.
2015-10-30 21:39:27 +01:00
Jacob Støren
1b419f3098 Wlp: Removed spacing between plots and the scrollbar 2015-10-30 09:24:04 +01:00
Jacob Støren
1f312f3763 (#616) Reduced scrollbar problem (#570) Only one column of legends. 2015-10-30 09:23:57 +01:00
Jacob Støren
59617a3c43 (#570) Fixed grid alignment
Is this due to a qwt-bug ?
2015-10-29 14:15:36 +01:00
Magne Sjaastad
f004752aea Remove obsolete includes 2015-10-29 13:13:38 +01:00
Jacob Støren
0d41d15fe9 (#592) Refactored and renamed to make ready to fix for Track operations 2015-10-28 17:28:00 +01:00
Jacob Støren
07916f55ce (#592) Plots and tracks are now autoscaled on curve drag, drop, delete, toggled 2015-10-28 16:51:18 +01:00
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