Commit Graph
100 Commits
Author SHA1 Message Date
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 e32b76b2af (#467) Made sure that track names are updated in source plot after moving tracks 2015-10-22 15:21:44 +02:00
Pål Hagen e748e25ae1 (#467) Moving tracks onto a plot means insertion in front of existing tracks 2015-10-22 15:17:40 +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 1b83bfb7f0 (#467) Handling drag move events to get the proposed drop action
The tree view model's drag & drop handle is notified about the proposed
action in drag move events.
2015-10-22 14:42:05 +02:00
Pål Hagen 52f1e47576 (#579) Removing well log extractors with case references in case destructors 2015-10-22 14:26:54 +02:00
Pål Hagen 272c328da3 (#579) Removing cached well log extractors when deleting cases and well paths
Cached well log extractors with references to well paths or cases to be
deleted are removed before deletion.
2015-10-22 11:31:34 +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
Pål Hagen f4bbbcb7a2 (#467) Using subclassed treeview to notify the model about drag end
Using new class PdmUiTreeViewWidget instead of QTreeView in
PdmUiTreeViewEditor. PdmUiTreeViewWidget handles drag leave events and
calls endDrag() on the model.
2015-10-21 17:20:12 +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 20b7ee9aa5 (#505) Changed context menu text
"Add To New Plot" instead of "Add To Plot"
2015-10-19 15:25:16 +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 36f2229b5b (#467) Postponing updates until all tracks have been moved to a plot 2015-10-19 14:07:06 +02:00
Pål Hagen b2e04b47d9 (#467) Performing updates of track after all curves have been moved 2015-10-19 14:02:39 +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
Pål Hagen 8e682926c6 Removed comments 2015-10-16 14:05:12 +02:00
Pål Hagen 1dc0da7a37 (#541) Using common value for absent values (-999.25, -9999.25, etc.) 2015-10-16 13:57:34 +02:00
Pål Hagen aa1493fcb9 (#541) Exporting date to LAS file 2015-10-16 13:37:31 +02:00
Pål Hagen c2f0163eef (#541) Using two parameters when adding well info (parameter name and value) 2015-10-16 13:35:09 +02:00
Pål Hagen 0a7e971577 Added access method for the timestep string (date) 2015-10-16 13:33:35 +02:00
Pål Hagen 3ecd6d8da7 (#541) Exporting well name as part of well info to LAS file 2015-10-16 11:15:04 +02:00
Pål Hagen 7bcbb80691 (#541) Added interface for adding well info for export 2015-10-16 11:02:12 +02:00
Pål Hagen 7b14306b5b (#541) Use "Depth in meters" as parameter description for DEPTH 2015-10-16 10:07:56 +02:00
Pål Hagen 27a6775e3c (#541) Change multiple "_" in default export file name to one 2015-10-16 10:06:45 +02:00
Pål Hagen 3683dc95cd (#541) Setting depth range for export from the curve's raw data, not the plot curve's data 2015-10-15 16:31:11 +02:00
Pål Hagen 2dd1e98f81 (#541) Setting version info, start and stop depths, and depth unit, when exporting to LAS 2015-10-15 16:12:22 +02:00
Pål Hagen 33a32c9c1a (#541) Added some access methods to NRLib::LasWell to be used when exporting 2015-10-15 16:11:03 +02:00
Pål Hagen 958357b563 (#541) Fixed obvious bug in NRLib (LasWell::WriteToFile()) 2015-10-15 14:55:16 +02:00
Pål Hagen 68ad675a45 (#541) Using curve name as default file name for LAS in file save dialog 2015-10-15 14:39:53 +02:00
Pål Hagen f8c725e2b8 (#541) Using result name as well log channel name when exporting to LAS 2015-10-15 14:37:57 +02:00
Pål Hagen 956beba118 Moved remaining code from RimWellLogCurveImpl to RigWellLogCurveData
Removed class RimWellLogCurveImpl.
RigWellLogCurveData::calculateValidPointsIntervals() needs to be
harmonized with new way of extracting depths from well paths.
2015-10-15 13:29:45 +02:00
Pål Hagen c2577391c2 Linux compilation fix.
friend -> friend class
2015-10-15 12:53:20 +02:00
Pål Hagen 10c5b37122 Updated unit tests
Using RigWellLogCurveData instead of RimWellLogCurveImpl. Added test
interface which has access to private methods in RigWellLogCurveData.
RimWellLogCurveImpl should probably be removed when correct filtering of
curve segments based on depths is up & running.
2015-10-15 12:41:12 +02:00
Pål Hagen d74b4333f2 (#541) Renamed some methods and variables 2015-10-15 12:01:47 +02:00
Pål Hagen a173694542 Linux compilation fix. 2015-10-15 11:32:09 +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
Pål Hagen 972d8fe5e0 (#541) Fixed a couple of bugs in NRLib/LasWell. Made export possible.
Had to add a default constructor to be able to export to a LAS file from
scratch (not based on an existing LAS file). Also corrected a bug in
LasWell::WriteToFile() and LasWell::ParseInformation(). Reading a LAS
file exported from LasWell was not possible before the bug fixes.
2015-10-15 08:18:14 +02:00
Pål Hagen 1253247481 (#567) Made sure that WLP auto curve name works for geo mech models too 2015-10-13 16:16:14 +02:00
Pål Hagen fac6252d01 Renamed impl class/files 2015-10-12 15:04:21 +02:00
Pål Hagen ba879f0c34 Renamed method 2015-10-12 15:00:40 +02:00
Pål Hagen 507c30b93f (#545) Handling "NULL"/absent values in LAS files
Converting to absent values to HUGE_VAL when reading from LAS file.
Splitting into multiple curves when plotting.
2015-10-12 14:50:32 +02:00
Pål Hagen 6b8e51ca87 (#558) Made sure that TVD values are positive for geo mech models 2015-10-12 10:33:36 +02:00
Pål Hagen 1132a0db5e (#558) Added support for TVD/MD switch for curve data extracted from geo mech models
This was handled just for Eclipse models.
2015-10-12 10:31:17 +02:00
Pål Hagen aa36a3f5e6 Moved static method to the class where it belongs (more than it did). 2015-09-25 18:14:25 +02:00
Pål Hagen 803cc4328d (#548) Adding only well paths with LAS files to property editor for curves 2015-09-25 18:04:10 +02:00
Pål Hagen 63467b0960 (#547) Don't enable "New Well Log LAS Curve" for tracks if no LAS files are available 2015-09-25 17:52:03 +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
Pål Hagen a0c2d7f6b7 (#525) Checking for availability of any case, not necessarily the active case 2015-09-25 16:45:38 +02:00
Pål Hagen 4a53b318f7 (#506) Updating view name in view linker in project tree view when a view's name is changed 2015-09-25 16:39:19 +02:00
Pål Hagen 7b802187d0 (#525) New well log extraction curve command feature needs a case
Not available unless there is a case.
2015-09-25 14:48:31 +02:00
Pål Hagen d8acb9d1bc (#528) Using case and current result from active view when adding new curve 2015-09-25 14:35:30 +02:00
Pål Hagen 4e3f51909b (#537) Handling LAS file names no matter what case the extension has
.las, .LAS, .Las, .laS, etc. should now all work.
2015-09-25 11:56:14 +02:00
Pål Hagen 034a78ae0c (#534) Made sure that curve name options are ordered correctly
Same order as they appear in the generated curve name.
2015-09-25 10:50:44 +02:00
Pål Hagen 285cd6ccea (#535) Added field for toggling of date in curve name
Date is on by default, time step is off.
2015-09-25 10:44:35 +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
Pål Hagen ae42845f35 (#533) Using "," instead of "|" as separator in curve names 2015-09-24 16:19:32 +02:00
Pål Hagen 6ed3e96d84 Got rid of unused "paste" features
Handled in other, newer features .
2015-09-24 15:55:24 +02:00
Pål Hagen 1a6aa58711 (#524) God rid of "Copy" for multiple selections in the project tree view
Copy used to be always available for multiple selections, for some
reason.
2015-09-24 15:36:36 +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
Pål Hagen 895a16f43f (#526) Additional fix for filtering of infinite values in extraction curves 2015-09-24 14:04:08 +02:00
Pål Hagen ff073f50fa (#526) Fixed problem with finding intervals for extraction curves
Infinite values from well log curve extraction should never appear for
points that are filtered for plotting. Did some refactoring/code
cleanup.
2015-09-24 13:36:38 +02:00
Pål Hagen d7a1094893 (#489) Handling both "F" and "FT" as unit names for foot
Converting to meter if depth unit is "F" or "FT". Can be both, according
to comments in NRLib code.
2015-09-24 11:14:34 +02:00
Pål Hagen c78fdffeaf (#544) Allowing "DEPT" and "DEPTH" as depth values from LAS files 2015-09-24 11:02:39 +02:00
Pål Hagen 529b68e073 (#537) (#515) Showing error messages from LAS file open exceptions 2015-09-24 10:08:45 +02:00
Pål Hagen f15c9973c9 (#515) Handling exceptions from NRLib
Returning error message string picked from exception when trying to read
a file, if any.
2015-09-24 10:06:57 +02:00
Pål Hagen 5d18209e26 (#537) Showing error message box if opening a LAS file fails 2015-09-24 09:37:26 +02:00
Pål Hagen 3938e65c7b (#511) Updating well log plot icon when toggling visibility 2015-09-22 16:09:25 +02:00
Pål Hagen f745e483c7 (#507) Updating curve name only if "auto name" is set 2015-09-22 15:45:58 +02:00
Pål Hagen 81b973a74c (#507) Picking unit name from LAS file in curve's update method 2015-09-22 15:12:33 +02:00
Pål Hagen 0f1321bc73 Version number set to 1.3.103-dev 2015-09-22 14:48:31 +02:00
Pål Hagen 239d682956 (#514) Added missing "view link" command features to context menu in project tree view 2015-09-22 14:34:26 +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 d377de562a (#446) "Link view" only available if linked views exist 2015-09-22 14:23:51 +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
Pål Hagen 430ea86962 (#505) Added context menu item for creation of well log extraction curve 2015-09-22 12:29:14 +02:00
Pål Hagen f49c7fc983 (#505) Added context menu item for creation of cure from LAS data for well paths 2015-09-22 10:52:28 +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
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
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
Pål Hagen 903b692e8e (#468) Renamed method 2015-09-21 14:10:04 +02:00
Pål Hagen 8667b6baa0 (#468) Added context menu item in 3D view for plotting of logs from LAS files 2015-09-21 14:02:33 +02:00
Pål Hagen c32f4cabfe (#493) Correct handling of MDI sub window activation.
Setting bool member variable that blocks sub window activation slot
temporarily at the correct places - the main window methods that sets
active viewer and removes a viewer.
2015-09-21 11:01:00 +02:00
Pål Hagen 5e8a6d90cd (#498) Picking and displaying well log channel unit from LAS files 2015-09-21 10:10:25 +02:00
Pål Hagen fef1d93a9e (#436) Renamed class/files 2015-09-18 17:29:17 +02:00
Pål Hagen e3e574fb90 (#493) Blocking MDI window activation handler when toggling off well log plot 2015-09-18 17:06:26 +02:00
Pål Hagen 9ee13911b3 (#459) Don't call code finding valid intervals if we have no points 2015-09-18 16:12:39 +02:00
Pål Hagen ef5d1c0279 (#490) Made sure that "add to plot" feature sets track name 2015-09-18 14:50:08 +02:00
Pål Hagen d7128efe0f (#489) Converting from foot to meter if needed 2015-09-18 14:03:13 +02:00
Pål Hagen 39193396ae (#489) Added interface to get access to depth unit 2015-09-18 13:43:56 +02:00
Pål Hagen 479b2083ef (#486) Renamed "trace" to "track" 2015-09-18 12:29:23 +02:00
Pål Hagen ecf0d19110 Added group for visible depth range. Renamed fields. 2015-09-18 11:47:17 +02:00