(#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.
This commit is contained in:
Pål Hagen
2015-10-16 16:58:49 +02:00
parent 8e682926c6
commit 3a01fe0782
4 changed files with 110 additions and 34 deletions

View File

@@ -22,6 +22,7 @@
#include "cafPdmUiDragDropHandle.h"
class RimIdenticalGridCaseGroup;
class RimWellLogPlotTrack;
namespace caf
{
@@ -45,5 +46,7 @@ public:
private:
void moveCasesToGridGroup(caf::PdmObjectGroup& objectGroup, RimIdenticalGridCaseGroup* gridCaseGroup);
bool handleGridCaseGroupDrop(Qt::DropAction action, caf::PdmObjectGroup& objectGroup, RimIdenticalGridCaseGroup* gridCaseGroup);
bool handleWellLogPlotTrackDrop(Qt::DropAction action, caf::PdmObjectGroup& objectGroup, RimWellLogPlotTrack* wellLogPlotTrack);
};