Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. How can I select and copy text from a QPdfView widget?
QtWS25 Last Chance

How can I select and copy text from a QPdfView widget?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
4 Posts 2 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Igor Bogomolov
    wrote on last edited by
    #1

    Hi! I use Qt5.15 QtPdf module. I nead select and copy text from pdf document. How can i do it?

    JonBJ 1 Reply Last reply
    0
    • I Igor Bogomolov

      Hi! I use Qt5.15 QtPdf module. I nead select and copy text from pdf document. How can i do it?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Igor-Bogomolov
      Isn't that what class https://doc-snapshots.qt.io/qt5-5.15/qpdfselection.html is for?

      I 1 Reply Last reply
      1
      • JonBJ JonB

        @Igor-Bogomolov
        Isn't that what class https://doc-snapshots.qt.io/qt5-5.15/qpdfselection.html is for?

        I Offline
        I Offline
        Igor Bogomolov
        wrote on last edited by Igor Bogomolov
        #3

        @JonB I do not understand how I can use this class. I think the selection should be a property of the QPdfView widget.

        JonBJ 1 Reply Last reply
        0
        • I Igor Bogomolov

          @JonB I do not understand how I can use this class. I think the selection should be a property of the QPdfView widget.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @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".

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved