mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -88,6 +88,7 @@ public:
|
||||
|
||||
void goToNextPage();
|
||||
void goToPrevPage();
|
||||
void goToLastPage();
|
||||
|
||||
protected:
|
||||
void contextMenuEvent( QContextMenuEvent* ) override;
|
||||
@@ -104,6 +105,9 @@ protected:
|
||||
|
||||
QList<QPointer<RiuPlotWidget>> visiblePlotWidgets() const;
|
||||
|
||||
void dragEnterEvent( QDragEnterEvent* event ) override;
|
||||
void dropEvent( QDropEvent* event ) override;
|
||||
|
||||
private:
|
||||
void deleteAllPages();
|
||||
void createPages();
|
||||
@@ -111,7 +115,7 @@ private:
|
||||
RiuMultiPlotPage* createPage();
|
||||
void applyLook();
|
||||
|
||||
void changeCurrentPage( int pageDiff );
|
||||
void changeCurrentPage( int pageNumber );
|
||||
|
||||
private slots:
|
||||
virtual void performUpdate();
|
||||
|
||||
Reference in New Issue
Block a user