mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #116: Improve search bar (rembember searched text, allow scroll and zoom)
This commit is contained in:
@@ -177,6 +177,7 @@ private:
|
||||
void onSearchText();
|
||||
void onActionPrevious();
|
||||
void onActionNext();
|
||||
void onDialogRejected();
|
||||
|
||||
void performSearch();
|
||||
void updateResultsUI();
|
||||
@@ -194,6 +195,10 @@ private:
|
||||
QPushButton* m_previousButton;
|
||||
QPushButton* m_nextButton;
|
||||
|
||||
QString m_savedText;
|
||||
bool m_savedIsCaseSensitive = false;
|
||||
bool m_savedIsWholeWords = false;
|
||||
|
||||
pdf::PDFTextSelection getTextSelection() const { return m_textSelection.get(this, &PDFFindTextTool::getTextSelectionImpl); }
|
||||
pdf::PDFTextSelection getTextSelectionImpl() const;
|
||||
|
||||
|
Reference in New Issue
Block a user