summaryrefslogtreecommitdiffstats
path: root/tests/manual/quick
Commit message (Collapse)AuthorAgeFilesLines
* Add QtQuick.Pdf module with QQuickPdfDocument; manual testsShawn Rutledge2020-01-214-1/+429
| | | | | | | | | QQuickPdfDocument is a wrapper for QPdfDocument providing appropriate QML API. Task-number: QTBUG-77506 Change-Id: Ifa2ef50d3d31179f1955c2f673495e727b962bd1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add page stepping shortcuts to simplest.qml PDF manual testShawn Rutledge2019-11-251-0/+12
| | | | | Change-Id: I3300fb68dd0b2f3701ca53cd118a4b11a0ac5ede Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add a QImageIOHandler to render PDF with QtQuick ImageShawn Rutledge2019-11-252-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | Now you can use Image in QML to display the first page of a PDF file by default. (The implementation is very similar to the handler plugin in the QtSVG module.) To display other pages, you can set the new currentFrame property that is being added to Image in 5.14. QPdfIOHandler uses its own instance of QPdfDocument to do the rendering. An instance will be created each time the image needs to read a frame from the file (on creation; each time the currentFrame property is changed; each time sourceSize is changed to require a different resolution rendering). This approach is not as efficient as it would be to share the QPdfDocument instance among multiple Images that are rendering different pages at the same time, as well as sharing with the QML Document declaration that we plan to add. However, if you set asynchronous: true, each Image will render its page from the PDF in its own thread. PDFium is not thread-safe, so sharing the QPdfDocument among multiple threads is not safe. It may be possible to make it safe by having a dedicated PDF-rendering thread, but that is not yet done in this patch. Change-Id: I7a1f8cd7bd5b8f93d45fa9350752b2d9356b04fe Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix license headers for testsKai Koehne2017-09-205-150/+41
| | | | | | | | | Tests should all be GPL-EXCEPT. Task-number: QTBUG-60006 Change-Id: I2466374e863bd1c3cd791ade45caf1087be78cef Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Add faviconbrowser quick manual testPeter Varga2016-11-158-0/+762
Change-Id: I3b6353b5c58d62c968c704b20224ff8ee600a524 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>