mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #8459 from OPM/8458-summary-drop-target
Closes #8458
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
namespace caf
|
||||
{
|
||||
class PdmObjectHandle;
|
||||
}
|
||||
class PdmUiTreeView;
|
||||
} // namespace caf
|
||||
|
||||
class RimMultiPlot;
|
||||
class RimIdenticalGridCaseGroup;
|
||||
@@ -49,6 +50,9 @@ public:
|
||||
RiuDragDrop();
|
||||
~RiuDragDrop() override;
|
||||
|
||||
static std::vector<caf::PdmObjectHandle*> draggedObjectsFromTreeView( caf::PdmUiTreeView* dragSource,
|
||||
const QMimeData* data );
|
||||
|
||||
protected:
|
||||
Qt::DropActions supportedDropActions() const override;
|
||||
Qt::ItemFlags flags( const QModelIndex& index ) const override;
|
||||
@@ -96,7 +100,9 @@ private:
|
||||
caf::PdmObjectGroup& objectGroup,
|
||||
RimSurfaceCollection* surfaceCollection );
|
||||
|
||||
static void objectGroupFromModelIndexes( caf::PdmObjectGroup* objectGroup, const QModelIndexList& indexes );
|
||||
static void objectGroupFromModelIndexes( caf::PdmUiTreeView* uiTreeView,
|
||||
caf::PdmObjectGroup* objectGroup,
|
||||
const QModelIndexList& indexes );
|
||||
static std::vector<caf::PdmPointer<caf::PdmObjectHandle>> objectHandlesFromSelection();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user