diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-02-16 17:17:56 -0500 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-02-16 17:17:56 -0500 |
commit | 75418056d8017c75af11d0a332c43befcbbbef65 (patch) | |
tree | fd2b070b38bd573a708bae61ad53cff2b7a60808 /src-qt5/desktop-utils/lumina-pdf/PrintWidget.h | |
parent | Switched lumina-pdf from Poppler to MuPDF (diff) | |
download | lumina-75418056d8017c75af11d0a332c43befcbbbef65.tar.gz lumina-75418056d8017c75af11d0a332c43befcbbbef65.tar.bz2 lumina-75418056d8017c75af11d0a332c43befcbbbef65.zip |
Added highlighting for search results
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/PrintWidget.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/PrintWidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h index ba432845..fa2869b6 100644 --- a/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h +++ b/src-qt5/desktop-utils/lumina-pdf/PrintWidget.h @@ -20,6 +20,7 @@ #include <QtMath> #include <QPageLayout> +#include "textData.h" #include <mupdf/fitz.h> class PageItem : public QGraphicsItem { @@ -137,7 +138,7 @@ public slots: void zoomOut(double factor=1.2); void setCurrentPage(int); void setVisible(bool) Q_DECL_OVERRIDE; - void highlightText(int, fz_rect&); + void highlightText(TextData*); void receiveDocument(fz_document*); void setDegrees(int); |