Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131727

Make the private "document layout" of QPdfView public

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.4, 6.5, 6.6, 6.7, 6.8
    • PDF
    • None
    • All

      As other aspects of the QtPdf module, QPdfView still lacks many possible and important features it could theoretically provide, as they are not publicly accessible.

      One of them is the documentLayout of QPdfViewPrivate, which would be tremendously useful for knowing the actual visible pages in the viewport or even adding custom objects that do not specifically follow text selections (including portions of images).

      By following the QPdfView sources, it is relatively easy to implement a similar function (I recently did one for PySide), but that adds an unnecessary overhead for something that is already done in the underlying code.

      I suggest to make that layout struct a public class, and the corresponding internal value retrievable as a read-only property, possibly including a related "changed" signal.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            musicamante Maurizio Berti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes