mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Redact text search result
This commit is contained in:
@ -468,6 +468,16 @@ void PDFViewerMainWindow::adjustToolbar(QToolBar* toolbar)
|
||||
toolbar->setIconSize(iconSize);
|
||||
}
|
||||
|
||||
pdf::PDFTextSelection PDFViewerMainWindow::getSelectedText() const
|
||||
{
|
||||
if (!m_advancedFindWidget)
|
||||
{
|
||||
return pdf::PDFTextSelection();
|
||||
}
|
||||
|
||||
return m_advancedFindWidget->getSelectedText();
|
||||
}
|
||||
|
||||
void PDFViewerMainWindow::closeEvent(QCloseEvent* event)
|
||||
{
|
||||
if (!m_programController->canClose())
|
||||
|
Reference in New Issue
Block a user