How can I select and copy text from a QPdfView widget?
-
Hi! I use Qt5.15 QtPdf module. I nead select and copy text from pdf document. How can i do it?
-
Hi! I use Qt5.15 QtPdf module. I nead select and copy text from pdf document. How can i do it?
@Igor-Bogomolov
Isn't that what class https://doc-snapshots.qt.io/qt5-5.15/qpdfselection.html is for? -
@Igor-Bogomolov
Isn't that what class https://doc-snapshots.qt.io/qt5-5.15/qpdfselection.html is for?@JonB I do not understand how I can use this class. I think the selection should be a property of the QPdfView widget.
-
@JonB I do not understand how I can use this class. I think the selection should be a property of the QPdfView widget.
@Igor-Bogomolov
I know no more than in https://askubuntu.com/questions/1071771/where-is-the-text-selection-tool-in-qpdfview, which explains how to copy to clipboard, and states it is a "rudimentary tool".