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

QtQuick PDF viewer example(s) showing how to zoom and rotate

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P1: Critical
    • None
    • None
    • PDF
    • None

    Description

      One way to handle zoom is to provide toolbar buttons and/or keyboard shortcuts. Another way is to use PinchHandler, and then re-render the page at a new zoom level when the pinch is complete. The ideal viewer should have both.

      Rotation could also be done by pinching, but maybe it's not necessary to do it that way since 90-degree increments are enough.

      Of course rotating a Qt Quick Image by any increment is trivial. It remains to be seen if there is a use case that requires asking PDFium to re-render the page with a different rotation; it can be done if we need to.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes