This commit is contained in:
Luis Ángel San Martín Rodríguez
2023-05-23 18:56:47 +02:00
parent b45fabe057
commit 194f33c6e7
6 changed files with 578 additions and 2 deletions

View File

@ -30,6 +30,7 @@ class GoToFlowWidget;
class Bookmarks;
class PageLabelWidget;
class NotificationsLabelWidget;
class ViewerGestureHandler;
class Viewer : public QScrollArea, public ScrollManagement
{
@ -153,6 +154,8 @@ private:
bool shouldOpenNext;
bool shouldOpenPrevious;
ViewerGestureHandler *viewerGestureHandler;
private:
//! Magnifying glass
MagnifyingGlass *mglass;
@ -164,6 +167,7 @@ private:
void resizeEvent(QResizeEvent *event) override;
void wheelEvent(QWheelEvent *event) override;
void mouseMoveEvent(QMouseEvent *event) override;
bool event(QEvent *event) override;
int verticalScrollStep() const;
int horizontalScrollStep() const;