Summary Multiplot: drag/drop updates (#8692)

Drag'n'drop improvements - accept drops in empty multiplot areas to create new plots
This commit is contained in:
jonjenssen authored and GitHub committed 2022-03-15 15:57:15 +01:00
1 parent 72ff44071d
commit 75a3d3d8f1
12 files changed
+189 -101

No files matched your search

@@ -24,6 +24,7 @@
#include "cafPdmChildField.h"
#include "cafPdmObject.h"
#include "cafPdmPtrArrayField.h"
#include "cafSignal.h"
#include <vector>
@@ -56,11 +57,14 @@ public:
void addPlot( RimPlot* plot ) override;
void insertPlot( RimPlot* plot, size_t index ) override;
void removePlot( RimPlot* plot ) override;
std::vector<caf::PdmFieldHandle*> fieldsToShowInToolbar();
void syncAxisRanges();
void addPlot( const std::vector<caf::PdmObjectHandle*>& objects );
protected:
bool handleGlobalKeyEvent( QKeyEvent* keyEvent ) override;
bool handleGlobalWheelEvent( QWheelEvent* wheelEvent ) override;