diff options
Diffstat (limited to 'src/plugins/help/helpviewer.h')
-rw-r--r-- | src/plugins/help/helpviewer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/help/helpviewer.h b/src/plugins/help/helpviewer.h index 0a24fb7222..d502d7c664 100644 --- a/src/plugins/help/helpviewer.h +++ b/src/plugins/help/helpviewer.h @@ -57,6 +57,9 @@ public: virtual qreal scale() const = 0; virtual void setScale(qreal scale) = 0; + void setScrollWheelZoomingEnabled(bool enabled); + bool isScrollWheelZoomingEnabled() const; + virtual QString title() const = 0; virtual QUrl source() const = 0; @@ -105,12 +108,15 @@ signals: void externalPageRequested(const QUrl &url); protected: + void wheelEvent(QWheelEvent *event) override; + void slotLoadStarted(); void slotLoadFinished(); void restoreOverrideCursor(); Actions m_visibleActions; + bool m_scrollWheelZoomingEnabled = true; int m_loadOverrideStack = 0; }; |