Merge pull request #8654 from OPM/filter_wheelevents

Summary Multiplot: page scroll and zoom fixes
This commit is contained in:
jonjenssen
2022-03-10 13:13:44 +01:00
committed by GitHub
parent 0d45b88d09
commit c9b762fb16
13 changed files with 244 additions and 11 deletions

View File

@@ -86,6 +86,9 @@ public:
void renderTo( QPaintDevice* painter );
void goToNextPage();
void goToPrevPage();
protected:
void contextMenuEvent( QContextMenuEvent* ) override;
@@ -107,6 +110,9 @@ private:
const QList<QPointer<RiuMultiPlotPage>>& pages() const;
RiuMultiPlotPage* createPage();
void applyLook();
void changeCurrentPage( int pageDiff );
private slots:
virtual void performUpdate();
@@ -125,4 +131,5 @@ protected:
bool m_titleVisible;
bool m_subTitlesVisible;
bool m_previewMode;
int m_currentPageIndex;
};