| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Introduce a status property, which describes the current status
of the QPdfDocument during loading/closing workflow.
Change-Id: I2c095c41cfaacb4cd325682def71f80ffe6ab6d9
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
|
|
| |
Guard only the FPDF_* function calls by the PDF mutex,
to make the QPdfDocument kind of reentrant.
Change-Id: I76d448dde2604bd258d140fe6bb667cdee9e93c9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: Ib25ae8940ff8a35627093031a82c1f25c7c940fc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
The passwordChanged() signal is emitted whenever the password
on the document is changed.
Change-Id: I8c35274dba7160b81555eac5bbda37d47cb8c9b7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
| |
The close() method will close an open document and emit
the aboutToBeClosed() signal, so that other component, which
keep a pointer to QPdfDocument, can react to it.
Change-Id: I93200eb0b4bf96479fc114b43c9f6f2af4d15ffa
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
| |
Avoid #error "inttypes.h has already been included before this header file, but without __STDC_FORMAT_MACROS defined."
by removing PCH. The removal of PCH means we have to define NOMINMAX ourselves, as that came implicitly before
that.
Change-Id: Ifc4911ddcf6bfab17c3b9853bff5b0c1d96faeb3
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
| |
Change-Id: I86bd5779ae4fee7dfba0b7a2121128120dbe3a5b
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
|
|
| |
Upstream doesn't support these yet.
Change-Id: I1f5ebf4f894aa5875fcfe29988295d1437a69ff2
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
|
|
| |
Commercial until we have figured out the licensing :)
Change-Id: Ibf60ca98cf04ee23928794a96ae33f87608c3236
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
|
|
| |
I forgot to remove it with the last upstream update :)
Change-Id: I215e4bda3292045c7c7416d3df57704aface2400
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
Use Q_NULLPTR and const in a couple of places and reorder includes
or remove unneeded includes.
Change-Id: Iba999759750424d0251be95badd06b54c41783fa
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
This required extending the gyp2pri "parser" to add dependencies recursively
and to have really primitive condition handling for targets.
Change-Id: Icd343ec2be492c0cf4cfd013bf2d4594fe7ba5c3
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
| |
Call gyp2pri when calling qmake through lib.pro instead of a separate
build step.
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Unify the load API and implementation to always go through FPDFAvail.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
undefined type QPointer
|
| |
|
|
|
|
|
| |
* Need to link against some win32 dlls
* Make sure to include OS="win" sources properly scoped in the .pri file
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
zooming
field for setting zoom, up/down buttons
field for setting and viewing page number, up/down actions
icons for toolbar actions
|
| |
|
| |
|
|
|
|
|
|
| |
The library is not thread-safe at all with plenty of global variables. The
common use-case seems to be one PDF document per process, which perfectly
matches Chromium's architecture.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Disable warnings
* Ensure we get the right library link search path
|
|
|
|
|
| |
That way we can build the Qt code with full warnings enabled
(modulo -Wno-unused-parameter because of the pdfium headers)
|
| |
|
| |
|
| |
|
| |
|