summaryrefslogtreecommitdiffstats
path: root/examples/widgets/pdfviewer/sequentialpagewidget.h
Commit message (Collapse)AuthorAgeFilesLines
* install the pdfviewer example; provide examples subdirs .pro filesShawn Rutledge2017-01-271-96/+0
| | | | | | | | | | | | 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 the license to LGPLv3 (with the commercial option)Shawn Rutledge2016-12-201-6/+21
| | | | | | Change-Id: I2caed38ece8067ecdad877dcc278f7828a3cb0bb Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* example: QVector instead of QListShawn Rutledge2016-12-161-1/+1
| | | | | | Change-Id: I8610d9962298c65358e3d16403208eca4e2060c7 Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* pdfviewer: Move QPdfDocument to MainWindowTobias Koenig2016-08-241-1/+5
| | | | | | | | | | | 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>
* Add license header boilerplateSimon Hausmann2016-07-251-0/+21
| | | | | | | Commercial until we have figured out the licensing :) Change-Id: Ibf60ca98cf04ee23928794a96ae33f87608c3236 Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
* pdfviewer example: page cache has a page count limitShawn Rutledge2014-12-161-0/+2
| | | | to limit memory usage
* pdfviewer example: PageRenderer owns document and thread. SmoothShawn Rutledge2014-12-161-4/+9
| | | | | | | 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.
* pdfviewer example: stop creating placeholder images in PageCacheShawn Rutledge2014-12-161-0/+2
|
* pdfviewer example: add threaded PageCacheShawn Rutledge2014-12-151-7/+2
| | | | thread fixes
* pdfviewer example: add rendering statsShawn Rutledge2014-12-151-0/+6
|
* pdf viewer example: more typical featuresShawn Rutledge2014-12-151-1/+7
| | | | | | | zooming field for setting zoom, up/down buttons field for setting and viewing page number, up/down actions icons for toolbar actions
* pdfviewer example: can scroll through pages and render on demandShawn Rutledge2014-12-151-1/+7
|
* initial single-threaded implementation of pdfviewer exampleShawn Rutledge2014-12-151-0/+34