| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Id651a2c179628506f0955751abda57cbae569ee9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
Fix the compilation of QtPdf examples when compiled
against a Qt version that uses a custom namespace.
Change-Id: I3bd8d89a3ad1e270ed1d54c2b0a458e967f21cca
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
|
|
|
| |
Extend the QPdfDocument::render() method with a parameter of new
type QPdfDocumentRenderOptions to specify the rotation and
additional render flags.
Change-Id: I354acc7fad4d094a96cefcea4dfa3513f4955c47
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
|
|
|
|
|
|
|
| |
Add a treeview to the pdfviewer example to show the
usage of QPdfBookmarkModel
Change-Id: Ia93d868655a74ea6c41bb28945fe16d0cc740410
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Sets the window title as the title of the PDF document, enlarges the
default window size, uses unified toolbars on macOS, extends the viewer
area to the edges of the containing window, and removes the Windows 95
style shrunken frame around the PDF viewer.
Change-Id: I38753a2b5492ac0cc0d2a11ae62011ac595a0e70
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Actually moving the files is unfortunately necessary because of a rule
about having the source directory structure match the intended installation
directory structure. It was intended to differentiate widget examples from
future QtQuick examples, but now that distiction is being unfortunately lost
in order to keep the directory structure as shallow as it can still be, after
having to comply with the first rule.
Change-Id: I831227d2be3c8f5cab55a98a531e16bcb3aa0303
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
|
|
|
|
| |
Change-Id: I2caed38ece8067ecdad877dcc278f7828a3cb0bb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
| |
Change-Id: I8610d9962298c65358e3d16403208eca4e2060c7
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: Icf33776f70bdde71f320de0a129361ac28fd18c8
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Move the QPdfDocument out of PageRenderer into MainWindow,
since the document is needed there to get more information.
This patch ignores the locking for now, since QPdfDocument::render()
seem to be a read-only action anyway.
Change-Id: Idd322bcb87a296a70a04b60984378049e6c4e4fb
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: I50e85b8d135dc4fa93211567d195229cd3892086
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
Clear the page cache after zoom level has changed, otherwise
the page content won't be rerendered with new zoom level.
Change-Id: If374d65570c0ecce3a94d496d57a8e28dcbf8e0a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
| |
Commercial until we have figured out the licensing :)
Change-Id: Ibf60ca98cf04ee23928794a96ae33f87608c3236
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
|
| |
correction to 0108ecad44e04be9d0b60f4b6b7e0fceb69ea034
QScroller was working because of a subsequent patch that tried to add
pinch zooming.
|
|
|
|
| |
to limit memory usage
|
| |
|
|
|
|
| |
Q_DECL_OVERRIDE comes last in the declaration
|
| |
|
|
|
|
|
|
|
| |
PageCache renamed to PageRenderer and minimized to just being a
worker thread. The UI is finally responsive, biecause the locking in
QPdfDocument is isolated behind PageRenderer.
ATM only renders visible pages though.
|
| |
|
| |
|
|
|
|
|
| |
But either way, the UI is not as responsive as one could wish for
during background rendering.
|
|
|
|
| |
thread fixes
|
| |
|
|
|
|
|
|
|
| |
zooming
field for setting zoom, up/down buttons
field for setting and viewing page number, up/down actions
icons for toolbar actions
|
| |
|
|
|