summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fix example codeAndreas Eliasson2023-02-271-1/+1
| | | | | | | | | | | | Use the .parse() method from the marked.js third party library. https://marked.js.org/ Fixes: QTWEBSITE-1083 Pick-to: 6.5 6.4 6.2 Change-Id: I59bcf14ce7169570a234169c6b48f720271c1e72 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Support DecorationRole for icons in QPdfDocument::pageModelShawn Rutledge2023-02-163-1/+47
| | | | | | | | ...and begin rendering thumbnails in the widget-based example by adding a QListView in IconMode. Change-Id: Ia0f446e48ce868e27cd7d64a3712a7db1b1e618b Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Add QPdfPageSelectorShawn Rutledge2023-02-162-8/+12
| | | | | | | | | | | | | | | | | | This is a QSpinBox subclass that shows PDF page "labels" rather than a 1-based or 0-based page index. If a book starts with Roman numerals in the preface, and then page 1 is the first page of Chapter 1, the spinbox should be in sync with the page numbers as printed on the pages, and with the labels that will eventually be shown under the thumbnails on the Pages sidebar tab. On the other hand, the user probably needs to see the 1-based page index somewhere, at least to be able to make sense of the print dialog, because there the range of pages to print will be 1-based. So we put the page index into the title bar: title, page label, index, count. Task-number: QTBUG-102271 Change-Id: Ic461094ba4caae3067409f7f436bd4e7504a4bdb Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Support LTR and RTL text directions in input fieldsSzabolcs David2023-02-151-1/+3
| | | | | | | | | | Implement WebActions to temporarily change text direction directly from context menu - like Chrome does. They only work for the selected input field. Omit the "default" option since it is always grayed out in Chrome. Task-number: QTWB-67 Change-Id: I4bacbd82c6bd7261ac465eec9da3776613f98074 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix clang compiler warningsPeter Varga2023-02-141-5/+3
| | | | | Change-Id: I6ebd403a3affae8bfbc5afee9d528664fb08122c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QuickNanoBrowser: Add feature permission request handlingPeter Varga2023-02-022-6/+98
| | | | | | | Pick-to: 6.5 Change-Id: Ia0d8bffa419174234e78e1359871e0dfa36b1636 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QuickNanoBrowser: Remove usage of Quota Permission Request APIPeter Varga2023-02-021-7/+0
| | | | | | | | | This amends commit 8fd7140082e3a752ca80882a29128ffc12d12fa4 Pick-to: 6.5 Task-number: QTBUG-56354 Change-Id: I82803cf9bfab1ed5a07494ecce86722b634c204c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QuickNanoBrowser: Remove deprecated Qt.labs.settingsPeter Varga2023-02-021-1/+1
| | | | | | | | | | | | Fixes deprecation warning: qrc:/BrowserWindow.qml:35:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead. Pick-to: 6.4 6.5 Change-Id: Ie027b243a312f148f72adfd6e68ce0f8d6e6d62c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix navigation error for incomplete URLs in webenginequick examplesMartin Negyokru2023-02-0112-3/+73
| | | | | | | | | Use QUrl::fromUserInput in lifecycle and webengineaction examples. Task-number: QTBUG-96010 Pick-to: 6.5 Change-Id: I69cbcb1db31b0766d05f751b4aede11092d078d5 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Suppress the QTP0001 policy warningAmir Masoud Abdol2023-01-271-0/+1
| | | | | | Pick-to: 6.5 Change-Id: If10e6c259d73dd1e09c4ddac0b297b856fb13502 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Disable WebEngineContext dump by defaultPeter Varga2023-01-192-0/+4
| | | | | | | | | | | | | Keep it enabled for simplebrowser and quicknanobrowser examples. Also add documentation how to enable it. [ChangeLog][WebEngineCore] Disabled WebEngineContext dump by default. Fixes: QTBUG-109040 Pick-to: 6.5 Change-Id: I4bd3c0e9eb532771f9b455863324e9dacaae884a Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Doc: Fix warning and minor clean-upPeter Varga2023-01-172-2/+2
| | | | | | | | | | - Fix typo in link - Qt Location is no longer linked in Qt WebEngine Features - Replace Qt Location with Qt Positioning module Pick-to: 6.4 6.5 Change-Id: Ia736fee8f0775fd6067c6f1e7a670b3bd7d8acb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix qdoc link failuresMichal Klocek2023-01-061-3/+3
| | | | | | Pick-to: 6.5 6.4 Change-Id: I6b18382a376bf3067323e801f6f39bf4ec09e9dc Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update push example after setPushServiceEndpoint changeMichal Klocek2022-12-227-7/+204
| | | | | | | | | | | | We have now extra call to enable push messaging, therefore drop usage of simple browser in example and use the same code as in Notification Example but add new settings and fix profile to be not off-the-record. Task-number: QTBUG-107442 Pick-to: 6.5 Change-Id: I3069c4cf2b6a6ce864c1e4c578ab03adb67984e4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Fix qdoc warningsMichal Klocek2022-12-1616-20/+19
| | | | | | | | | | | | | | | | | | As JavaScript parsing issue got fixed , the limit was not changed, meaning there where 4 "unused" warnings possibilities. In the meantime another change e6a13d97898f3f4b19f61006d0716ca9e1b9f037 was merged which had 3 qdoc issues, which got therefore unnoticed. Fix those issues. Do not use underscore in example name and rename push_notification to push-notifications (like qtbase network-chat). Pick-to: 6.5 Change-Id: I2635424e24d3b9a0a02c2e6fe8ac383eec95c112 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix quicknanobrowser's popup windowMartin Negyokru2022-12-091-1/+1
| | | | | | | | | | Remove Qt.WindowStaysOnTopHint flag from nanobrowser's BrowserDialog. It makes the window immovable. Pick-to: 6.4 Fixes: QTBUG-106816 Change-Id: I21538d78360de0a422eec02ce89a465bcc306a8b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build of clientcertificate exampleSzabolcs David2022-12-031-3/+3
| | | | | | | | | CMake Error at CMakeLists.txt:30 (qt_internal_add_resource): Unknown CMake command "qt_internal_add_resource". Pick-to: 6.4 Change-Id: Ieb85515897f6772e13491106b32da1bb7a5118fe Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Add client certificate exampleMichal Klocek2022-11-2918-1/+553
| | | | | | | Task-number: QTBUG-106497 Pick-to: 6.4 Change-Id: I39e39a991362940bb35052d28254b7b12acaa105 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add push notification exampleMichal Klocek2022-11-2915-0/+1249
| | | | | | | | | | | Adds simple push service implementation in NodeJS. Note setup for endpoint for qwebenginepage is not mentioned as it has to be decided what to do with it (see bug report). Task-number: QTBUG-107442 Change-Id: Iacfcb2a9d0c33c514b4046d06f866eb82390a240 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Mention WebSockets in docsSzabolcs David2022-11-032-0/+4
| | | | | | | | | | | | | | | | QtWebChannel has an example for a use case of HTML web sockets and connectivity of the native side of application. We don't need to create a new example of our own by mentioning this. However, the chat client application uses JS libraries served from remote, so we have to enable LocalContentCanAccessRemoteUrls setting to make it work out of the box in WebEngine example browsers. Desktop Chrome works the same way by default. Task-number: QTBUG-106505 Change-Id: I9020d0a09a88de16d32af063aee5d55c9837f484 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Simple Browser example: Fix startup flicker on WindowsFriedemann Kleint2022-10-134-4/+16
| | | | | | | | | Ensure the initial browser tab is added before show(), avoiding the flicker of RHI switching. Pick-to: 6.4 Change-Id: I0aaa5a4128f089bfc9ef68d25cab44da78962eb6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Port from qAsConst() to std::as_const()Marc Mutz2022-10-071-1/+1
| | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: I4b5f85df579532c2af938fe70db945ba273782fb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QtPdf multipage example: add macOS icon; support QFileOpenEventShawn Rutledge2022-09-227-6/+88
| | | | | | | | | | | The icon uses some parts from https://openclipart.org/detail/171857/icon-pdf-a%C2%8Dcone Pick-to: 6.4 Task-number: QTBUG-106460 Change-Id: I94ecc81d83f96fdced3dce630b94b9037d3e90f9 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* QtPdf multipage example: open files via DnDShawn Rutledge2022-09-211-0/+13
| | | | | | | | | Drop a different file onto the window to replace its contents with a different PDF. Pick-to: 6.4 Change-Id: I824d9f0caee69382352ab8d943b9977984db4fc9 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Polish the QML/PdfViewer exampleFriedemann Kleint2022-09-082-8/+21
| | | | | | | | | | | - Use QCommandLineParser - Use QmlEngine::setInitialProperties() instead of context properties and make "source" a required property of type url - Use startup documents from resource Pick-to: 6.4 Change-Id: Idaad82be4d7cf862de96240af031ed317a401266 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Polish the nano browser exampleFriedemann Kleint2022-09-0810-30/+54
| | | | | | | | | | | - Use QCommandLineParser - Fix the organization name - Use modern QML type registration (Utils as a singleton) instead of context properties Pick-to: 6.4 6.3 6.2 Change-Id: Ibbe93dffd685ddd2e5f2d01852e006c4c47d9713 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Polish the PdfWidgets/PdfViewer exampleFriedemann Kleint2022-09-073-9/+33
| | | | | | | | | | - Use QCommandLineParser - Fix up QFileDialog handling - Small fixes Pick-to: 6.4 6.3 Change-Id: I0cbe30a0fb5c856805956970407aa526d1d93fa4 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-2627-27/+27
| | | | | | Task-number: QTBUG-105718 Change-Id: I2ad190e5536cdbdc8d2656e61892545d66911a02 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Fix simplebrowser build with Qt 6.3Peter Varga2022-08-182-0/+10
| | | | | | | Pick-to: 6.4 Task-number: QTBUG-97829 Change-Id: I0034a1350bf1a0bf01914f0216dd37859e3e7163 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-0727-0/+81
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I118bd63694cfe2c9a413af4a38828a31727f8e86 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Doc: Set correct install path for Qt PDF examplesTopi Reinio2022-06-302-0/+2
| | | | | | | | | | | | | These examples do not share a common root directory, so use the \meta command to set the install path in \example documentation. This fixes the 'projectPath' attributes in examples-manifest.xml and makes the examples appear in Qt Creator. Pick-to: 6.4 Task-number: QTBUG-103221 Change-Id: I141882137eabc253ba355188a1f2672ef7c402a0 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-22137-6207/+274
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I869ffda1080e283f231eb0dc4477b260f2054d99 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Simplebrowser: Add inspector action to Window menuPeter Varga2022-06-151-1/+9
| | | | | | | This is handy for debugging pages which override context menu. Change-Id: I4eedf0dc8e00e15716b896608db27cdbc6906362 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix simplebrowser build with Qt 6.2Allan Sandfeld Jensen2022-06-112-0/+12
| | | | | | | | This is a partial revert of 83e5b3c3e19deedfcad0dcb8116b3e6c931b8f6c Pick-to: 6.4 6.3 Change-Id: I79e814075415585b4d4a3b04a92b3ad84d2dfa53 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Redefine PdfSearchModel.currentResult as document-based; use PdfLinkShawn Rutledge2022-06-042-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PdfSearchModel.currentResult is now the index within the whole list of search results, rather than starting over from 0 on each page. This simplifies some code. The way that PdfMultiPageView uses PdfSearchModel, the currentPage property is read-only: it tells the page of currentResult (which we need in the view, because each page has the ability to show a current-search-result highlight shape, but only one page actually needs to show it). The controls in a viewer to iterate search results (up and down arrows in the footer) simply increment and derement currentResult; the currentPage property gets updated to tell the view which page currently holds currentResult; and the ListView highlight follows along in the sidebar too, because ListView.currentIndex is now bound to searchModel.currentResult. But in PdfScrollablePageView, we still need to bind the currentPage property, to get the currentPageBoundingPolygons property updated when we switch pages. Since that viewer only sees one page at a time, it's much more declarative to do it that way, rather than calling the invokable boundingPolygonsOnPage(int) function. Bindings get updated on their own; whereas in PdfMultiPageView it's a bit inelegant that we need to call boundingPolygonsOnPage() repeatedly, at the right times so that the highlights are never shown in the wrong places at the wrong time. It could be avoided if we had a separate per-page model object to filter the results from the main PdfSearchModel; but that would add significant API complexity, and perhaps be too confusing for anyone who tries to re-implement a QML-based viewer component. The current search result highlight now stays on the page where the user left it: scrolling manually to another page will no longer choose a current result on the new page, as it did before. This is more consistent with typical applications. A currentResultLink property is added, to make it easy to call PdfPageNavigator.jump(link), thus passing along the QPdfLink.rectangles. The same link object gets re-emitted in the PdfPageNavigator.jumped signal to tell the view to scroll in such a way as to get those rectangles visible in the viewport, via TableView.positionViewAtCell(). There are a couple of drive-by fixes: QQuickPdfSearchModel::documentChanged() doesn't need to be declared, because we are using the signal inherited from QPdfSearchModel. And const-correctness is improved in the implementation of boundingPolygonsOnPage(). [ChangeLog][QtPDF] PdfSearchModel.currentResult is now the result index within the whole set of search results rather than on currentPage; and changing currentPage no longer makes currentResult change. In the views, this means the current highlighted search result stays on the same page even when the user views a different page. Change-Id: I96957f50e703f62101b3d3c708ff5f27b162cd8d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Give QPdfPageNavigator::jump() a default value for zoomShawn Rutledge2022-06-041-1/+1
| | | | | | | | If the caller doesn't want to change it, it's easier to omit it rather than remembering that 0 is a special value. Change-Id: I851f678941e5144a9dea306fddba59fd15ed9939 Reviewed-by: Doris Verria <doris.verria@qt.io>
* Add QPdfDocument::pageLabel(int) and pageModel propertyShawn Rutledge2022-06-041-6/+7
| | | | | | | | | | | This API is available for both C++ and QML. The pageModel makes it easier to populate item-views with per-page information, such as thumbnails labeled with page labels. Fixes: QTBUG-102271 Change-Id: I70df481b378efed0327e7bb89a63c7669daecc70 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Renumber pages in test.pdfShawn Rutledge2022-05-312-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Give them unique labels. This was done with pdftk: $ pdftk resources/test.pdf update_info_utf8 update output test.pdf where the file "update" contains PageLabelBegin PageLabelNewIndex: 1 PageLabelStart: 1 PageLabelPrefix: Qt PageLabelNumStyle: NoNumber PageLabelBegin PageLabelNewIndex: 2 PageLabelStart: 1 PageLabelNumStyle: DecimalArabicNumerals PageLabelBegin PageLabelNewIndex: 3 PageLabelStart: 1 PageLabelNumStyle: LowercaseRomanNumerals The instructions to do this came from https://emacs.stackexchange.com/questions/58315/edit-pdf-page-labels-in-pdf-tools Task-number: QTBUG-102271 Change-Id: I97df7ca538690baf3329fcbef371dcd92c4d8966 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Remove PdfPageView.currentPage propertyShawn Rutledge2022-05-311-1/+1
| | | | | | | It was just an alias for currentFrame. Change-Id: Ib16f579b1905cf5fe43496553ebde054d474a7c7 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Rename QPdfNavigationStack to QPdfPageNavigator; QML type tooShawn Rutledge2022-05-272-12/+12
| | | | | | | | | | | | | | | | | This might reduce some confusion about the fact that the back/forward "stack" isn't strictly a stack in the data structure sense: it's more like QUndoStack. It causes a QML source incompatibility relative to Qt 5, but keeps the C++ class name the same as it has been in QtPdf for a long time. Amends 3ad445f9f24a9d3f259ed1781460a63346a728e4 [ChangeLog][QtPDF] The PdfNavigationStack QML type has been renamed to PdfPageNavigator, matching the C++ type QPdfPageNavigator. These remember navigation history within a document, and are helpful to implement back/forward buttons similar to those on a web browser in both Qt Quick and widget-based viewer applications. Change-Id: Id8dc17aa416bb7064b1f0f300a47c07c83b7f47e Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Implement File System Access permission APISzabolcs David2022-05-262-0/+34
| | | | | | | | | | | | Allow web pages to safely access the local file system by exposing a permission API. Permissions are stored in-memory. The built-in access rules are the same as the behavior of Chrome: JS can't request access to system libraries, sensitive directories and the application itself. Task-number: QTBUG-97829 Change-Id: Ic675422cafbad5a90243b4fa8f0749c46afa192c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QPdfView: replace enums with enum classesShawn Rutledge2022-05-242-4/+6
| | | | | | | [ChangeLog][QtPDF] All enums are replaced with enum classes. Change-Id: I41063de084a23db657a24805ceaf22881f25c990 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* QPdfDocument: use enum classesShawn Rutledge2022-05-241-1/+1
| | | | | Change-Id: Iad3f8da130abe86a464d63323920a2a39d6fa955 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Examples: Use REQUIRED COMPONENTS where possibleKai Köhne2022-05-231-1/+1
| | | | | | | | | This will result in a better error message if the components are not available. Pick-to: 6.3 Change-Id: Ib691643a9562981863eab5c27ce436814858e2e9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Quick: Add support for replacing touch handles with delegatesBalazs Egedi2022-05-049-0/+337
| | | | | | Task-number: QTBUG-85043 Change-Id: I1c87aff352e07eb309d5ba8747b9e50a191d478e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* PDF multipage example: add footer button to hide/show the sidebarShawn Rutledge2022-04-305-0/+42
| | | | | | | | | | | | | When the sidebar only held search results, it was enough to show it when pressing enter on the search field; but now it holds two other views that the user will want to easily look at. It's a Drawer, and those are tricky to open and close by mouse-dragging. The button is more obvious, like the one at the bottom of Creator. Its checked state shows whether the sidebar is open, and clicking it opens the sidebar if it wasn't already open. Clicking outside the sidebar closes it. Change-Id: Ib4e403aa6f06d5e4dbad08a80c99496ab6c5fa0f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* PDF multipage example: add sidebar metadata paneShawn Rutledge2022-04-301-1/+30
| | | | | Change-Id: I33a365a1591565bc2a95c6ae62382c71c7e1850b Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* PDF example and manual test: add GridView for thumbnailsShawn Rutledge2022-04-291-13/+61
| | | | | | | | | Change the PdfDocument's id to doc, because in the GridView delegate, PdfPageImage { document: document } causes trouble (even though the same sort of binding was ok elsewhere). Change-Id: I9eafd818c25a31bef50b0b7fba36449c1dcf884a Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* PDF MultiPageView example: add bookmarks tree to sidebarShawn Rutledge2022-04-241-44/+85
| | | | | | | | | | | | | | | The Drawer is now not only for search results, but has a sideways TabBar just like the widget example has; and now it can show search results and bookmarks (table of contents) on different tabs. (Perhaps TabBar was not meant to be rotated, but it seems to work in the styles I've tried so far.) Clicking a bookmark takes you to that page, location and zoom. Followup to 303c25e79ab12d5d48523aa890f2091e98d3b560 which added this feature to a manual test. Task-number: QTBUG-77510 Change-Id: I235ff14c9f6597eb8282ef1d73112b023a61ef8a Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* doc: Add docs for QPdfViewShawn Rutledge2022-04-231-1/+1
| | | | | | | | Wrap some long lines in qpdfview.cpp, as a drive-by. Task-number: QTBUG-81560 Change-Id: Ia9865c42e48c81ac2c99b5cbe9d5a10beff40847 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>