summaryrefslogtreecommitdiffstats
path: root/examples/widgets/pdfviewer/mainwindow.h
Commit message (Collapse)AuthorAgeFilesLines
* install the pdfviewer example; provide examples subdirs .pro filesShawn Rutledge2017-01-271-89/+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>
* pdfviewer: Move QPdfDocument to MainWindowTobias Koenig2016-08-241-2/+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>
* Fix small memory leak, don't leak the QPdfDocumentSimon Hausmann2014-12-161-2/+0
|
* pdf viewer example: more typical featuresShawn Rutledge2014-12-151-0/+15
| | | | | | | 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-0/+3
|
* initial single-threaded implementation of pdfviewer exampleShawn Rutledge2014-12-151-0/+34