diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2017-12-26 15:41:40 -0500 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2017-12-26 15:41:40 -0500 |
commit | 9ab5b031d95750e0320743c5c941685701aafe63 (patch) | |
tree | 22d34729018533a18304eed52a274d45f9e34075 /src-qt5/desktop-utils/lumina-pdf/mainUI.h | |
parent | Progress toward search functionality for lumina-pdf (diff) | |
download | lumina-9ab5b031d95750e0320743c5c941685701aafe63.tar.gz lumina-9ab5b031d95750e0320743c5c941685701aafe63.tar.bz2 lumina-9ab5b031d95750e0320743c5c941685701aafe63.zip |
Made improvements to focus setting and the find widget in lumina-pdf
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/mainUI.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.h b/src-qt5/desktop-utils/lumina-pdf/mainUI.h index 8337ed9c..60a1beb9 100644 --- a/src-qt5/desktop-utils/lumina-pdf/mainUI.h +++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.h @@ -43,7 +43,7 @@ private: QPrinter* Printer; QPrintDialog *PrintDLG; QString lastdir; - bool matchCase, clearHighlights; + bool matchCase, highlight; QMap<Poppler::TextBox*, int> results; int currentHighlight; @@ -61,6 +61,7 @@ private: int numPages; void loadPage(int num, Poppler::Document *doc, MainUI *obj, QSize dpi, QSizeF page); + void highlightText(QPrinter *PRINTER); //Functions/variables for the presentation mode PresentationLabel *presentationLabel; @@ -89,7 +90,7 @@ private slots: void showBookmarks(); void newFocus(QWidget*, QWidget*); - void paintOnWidget(QPrinter *PRINTER); + void paintOnWidget(QPrinter*, bool); void paintToPrinter(QPrinter *PRINTER); //Button Slots @@ -109,5 +110,6 @@ signals: protected: void keyPressEvent(QKeyEvent*); void wheelEvent(QWheelEvent*); + void resizeEvent(QResizeEvent*); }; #endif |