summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/6.6' into 6.5Michael Brüning2024-02-0135-211/+301
|\ | | | | | | | | | | [ChangeLog] WebEngine now uses the version from Qt 6.6 for the 6.5 branch. Change-Id: I882e8f806d4158a84e7a23ec294452cbbdc2720a
| * Fix the background color issue in cookiebrowserAnu Aliyas2024-01-072-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In cookiebrowser example, all new cookie widgets are added at position 0. Background color of the newly added widget is set based on the color of last inserted cookie widget. Fixes: QTBUG-120446 Pick-to: 6.5 Change-Id: I76fe3ae83b31489365396a2ebcd31d840b2fa857 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 285dfce3c0f8e61228784ef557844c66d44feb1f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 9eb97b4b3bfefb9c475e3aa5056a8641aa4b102d)
| * Add icons to recipebrowser exampleMatthias Rauter2023-12-2211-13/+72
| | | | | | | | | | | | | | | | | | | | | | | | Also fixed the qrc file. Fixes: QTBUG-119738 Change-Id: I97e981260fff90e6f9ef3a1ea661d9cf47e6ee45 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 12c5da65fd5195279878add7dd1523672f1f152e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 470621789a73825769d0f83b7c9905e73b99c35a)
| * Redesign spellchecker exampleKarolina Sofia Bang2023-12-217-108/+112
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-119732 Change-Id: Ibfdc2989cea704a05fa5f6ed038c2b08498285e7 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 42193e1ee934dabbe5f653c016756f08e3d99c81) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 0fcc4e584662742cf6a797ca0c9b7d475aa75eaf)
| * Redesign printMe exampleKarolina Sofia Bang2023-12-186-78/+54
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-119732 Change-Id: Ia034b8a1566cd2858ccfe1313d73b503b10d752b Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 996a87802f6c65c5dd2ad294978be67323bb30d5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 30f2d5ccfcdd00af27364520cbe9b28d3db6c7a9)
| * Modify copyright format in qt_attribution.jsonLucie Gérard2023-12-142-18/+18
| | | | | | | | | | | | | | | | | | | | | | Multiline copyright entries are entered via string array. Task-number: QTBUG-111873 Pick-to: 6.5 Change-Id: I1b90e5333505227db66bc25d3baba8311afda37d Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 80a24bb47ce7a18afeb23a23d4845ada8e5d873d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Modify the file system access request window titleAnu Aliyas2023-09-141-1/+1
| | | | | | | | | | | | | | | | | | - Corrected the typo in the file system access window title. Change-Id: I9667726527e90477f6602e9ac8acf1a68742abe7 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit df05221eaa33496aeb013ece3f4ce6a78aeb8c95) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Remove recipebrowser and simplebrowser from Application ExamplesKimmo Leppälä2023-09-122-2/+0
| | | | | | | | | | | | | | | | | | | | | | There's already nanobrowser in Application Examples so this removes the other webengine examples from that category. Change-Id: I1f6dc7be7cb0ad4b0ac8134eb438ac0a0db7a5d3 Reviewed-by: Tuukka Turunen <tuukka.turunen@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit 8b2d2cd8387808dc589eda9bfbc119cc84ca4633) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Add initial internal version pageMichal Klocek2023-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We kept urls in examples to point to company website. However this site is heavy to load and moreover it changes overtime leaving example screenshots obsolete. Introduce internal qt version web ui page which will be default page for examples and which displays basic information and can work offline. For start show version info and command line options for chrome://qt Change-Id: I0271ce6e7b152efe4942a6240b0c74ba382d5fcc Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit a748cb9183143b76cad1e940220dcabf25475493) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Add NSCameraUsageDescription and NSMicrophoneUsageDescription to plistsMichael Brüning2023-08-142-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quick Nano Browser and Simple Browser need this to be able to use the camera and microphone on macOS. Also document the need for signing the applications in the examples documentation. Task-number: QTBUG-114939 Change-Id: I7a260a7ec62138fec8f7b4d6c1f2009eee9004d6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit a63e5b1f0e4b65c5ce59e705129ab368677a94a8) Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Doc: Update example category namesKai Köhne2023-08-1012-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebEngine examples are generally added to the new 'Web Technologies' category - only Nano Browser remains also in the 'Application Examples' category. The 2 Qt PDF examples are placed in the 'Graphics & Multimedia' category. This is not ideal, but from the existing categories the arguably best matching one. Task-number: QTBUG-115174 Change-Id: I3824272f62a4940f91041c8694fd2a06929863ed Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 74aaaa25a1e21a15effc701edd23513eab9e4bdc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Do no load default style sheets in recipe browserMichal Klocek2023-07-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | If no settings loaded, start recipe browser example with no style sheets applied. Fixes: QTBUG-114471 Change-Id: Ibdcf0e5171dfa76925e9af95754f0583aedec9bd Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit c1c084157c90cbc21950fae7b3cbcea068c4e9b4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Fix geolocation permissions to use new Qt Permissions APIMichael Brüning2023-07-264-1/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtPositioningHelper now uses the Qt Permissions API. Also fixup the examples Simple Browser, Quick Nano Browser and Maps to use the right key on macOS and sign the application as part of the build process Moves the Geopermission auto tests to manual tests for webenginequick and webenginewidgets on macOS. Fixes: QTBUG-114939 Change-Id: Id6771889f20c866d2fcdbb477dbbb7da30367043 Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 3106a9ab7897cb3de9c640a7699d06e3f02a295d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Set example category on Widgets examplesAllan Sandfeld Jensen2023-06-2010-1/+11
| | | | | | | | | | | | | | | | Change-Id: I795da5e37bd084e5c101aaed14fda5a9b3be4b92 Reviewed-by: Kimmo Leppälä <kimmo.leppala@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 233b35fb92c050da15e792a3d1c8879dba893635) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Add Windows 10 compatible manifest to examplesMartin Negyokru2023-06-193-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | This manifest is required for User-Agent to report the correct Windows versions. Document Windows App Manifest in platform-notes and mention it in the httpUserAgent documentation. Fixes: QTBUG-63021 Change-Id: Ie3896c50a0a912742e8d1a0dc20f3305b343d3f4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit a565ffcc172da74ae6ca0f847a0b162ffd68e918) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Doc: Use the \examplecategory macro to tag examplesTopi Reinio2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The '\meta category' command was used for tagging examples with a specific category, used in Qt Creators Welcome mode. As we want to also generate lists of examples belonging to a category elsewhere in the documentation, replace the command with a macro that expands to the original \meta command and also adds the example to a group using the \ingroup command. This way, the category names can be used as arguments to the \generatelist or \annotatedlist commands. Pick-to: 6.5 Task-number: QTBUG-112731 Change-Id: If9519fd8994c64cf57dc4c9a9387d7be80493d80 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
| * Merge recipe browser, stylesheet browser and markdown editor examplesYigit Akcay2023-04-0562-1146/+1276
| | | | | | | | | | | | | | | | | | | | This patch merges the qtwebengine examples recipe browser, stylesheet browser and markdown editor into one single example. Pick-to: 6.5 Task-number: QTBUG-108751 Change-Id: I338707d7d3275b03bf2a2d7b65064ac91e562d7f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Simple browser example: Fix up the codeFriedemann Kleint2023-04-053-34/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | - Remove duplicated unused helper questionForFeature() - Replace lambdas by slots where possible - Fix clang warning about using multiple arguments to QString::arg() - Remove dead code in WebView::contextMenuEvent() which checks on inspectElement == actions.cend(), but is within an "if" checking the same condition. Pick-to: 6.5 Change-Id: Ie85a3811f4f5a8c3fa9550d4eb2ca5bf79e39084 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Add Windows 11 related note for Geolocation settingsYigit Akcay2023-04-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | There are 3 OS settings under Windows 11 that need to be enabled for the HTML5 Geolocation in QtWebEngine to work properly. This isn't very straightforward to a user, therefore this patch adds a note to the documentation. Pick-to: 6.5 Change-Id: Id36a4726a182178c5a15fce039e464fd6bb7517e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Simple browser example: Add helper function to remove key backspaceFriedemann Kleint2023-03-301-15/+16
| | | | | | | | | | | | | | | | It otherwise looks like a bit like an oversight or bug. Pick-to: 6.5 Change-Id: If11fe034fa91022eb70c99b8a916fb35ac86f75d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Simple browser example: Fix clazy warningsFriedemann Kleint2023-03-302-17/+13
| | | | | | | | | | | | | | | | | | - else after return - Use multiarg version of QString::arg(QString) Pick-to: 6.5 Change-Id: Iceff3ee8877b866b5b9187cd85da54864ab17834 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Simple browser example: Use member initializationFriedemann Kleint2023-03-289-25/+16
| | | | | | | | | | | | | | | | As a drive-by, make constructors explicit. Pick-to: 6.5 Change-Id: I5c8e3d8049504afa4aa5a0d7c1a85bb59eb3cd38 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Simple browser example: Use modern string literalsFriedemann Kleint2023-03-286-19/+31
| | | | | | | | | | | | Pick-to: 6.5 Change-Id: I14ed5efed1bf228239f95a8a4addce5d19a9f220 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Remove webui exampleAllan Sandfeld Jensen2023-03-2411-450/+1
| | | | | | | | | | | | | | | | | | | | | | | | Doesn't demonstrate anything complicated, the code isn't even worth quoting as snippets. We could consider introducing a help browser to replace it with more functionality. Task-number: QTBUG-108751 Change-Id: I3b796388796a78d017836a10bee18032b2cd4905 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e4051de7db7b7f0905770280f9a06e133d453cf7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * Move widgets minimal example to manual testsMichal Klocek2023-03-227-129/+0
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-108751 Change-Id: I6e237b04d1f6a19f64516cd45aabe4d28099abd5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 34ebe8be93ab10766d034e5a3943a12c8de3a58e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| * 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>
| * Fix clang compiler warningsPeter Varga2023-02-141-5/+3
| | | | | | | | | | Change-Id: I6ebd403a3affae8bfbc5afee9d528664fb08122c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Disable WebEngineContext dump by defaultPeter Varga2023-01-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Modify copyright format in qt_attribution.jsonLucie Gérard2023-12-142-18/+18
| | | | | | | | | | | | | | | | | | | | | | Multiline copyright entries are entered via string array. Task-number: QTBUG-111873 Change-Id: I1b90e5333505227db66bc25d3baba8311afda37d Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 80a24bb47ce7a18afeb23a23d4845ada8e5d873d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 54b4fad5fef21aa44b2a42304944f8ad3de50a38)
* | Doc: Update example category namesKai Köhne2023-08-1012-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebEngine examples are generally added to the new 'Web Technologies' category - only Nano Browser remains also in the 'Application Examples' category. The 2 Qt PDF examples are placed in the 'Graphics & Multimedia' category. This is not ideal, but from the existing categories the arguably best matching one. Task-number: QTBUG-115174 Change-Id: I3824272f62a4940f91041c8694fd2a06929863ed Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 74aaaa25a1e21a15effc701edd23513eab9e4bdc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Do no load default style sheets in recipe browserMichal Klocek2023-07-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | If no settings loaded, start recipe browser example with no style sheets applied. Fixes: QTBUG-114471 Change-Id: Ibdcf0e5171dfa76925e9af95754f0583aedec9bd Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit c1c084157c90cbc21950fae7b3cbcea068c4e9b4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Add Info.plist file to macos version of some examplesMichael Brüning2023-07-034-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This demonstrates how to use NSLocationUsageDescription to enable the application to habve macos prompt the user for permission to access the location. Also, add a signing to the post build steps and document that this is necessary on macos. Fixes: QTBUG-114117 Change-Id: If81a24cb9a48ef8fefa53f672a8fc7bf25a25477 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Remove recipebrowser and simplebrowser from Application ExamplesKimmo Leppälä2023-06-272-2/+0
| | | | | | | | | | | | | | | | | | | | | | There's already nanobrowser in Application Examples so this removes the other webengine examples from that category. Change-Id: I1f6dc7be7cb0ad4b0ac8134eb438ac0a0db7a5d3 Reviewed-by: Tuukka Turunen <tuukka.turunen@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit 8b2d2cd8387808dc589eda9bfbc119cc84ca4633) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Set example category on Widgets examplesAllan Sandfeld Jensen2023-06-2010-1/+11
| | | | | | | | | | | | | | | | Change-Id: I795da5e37bd084e5c101aaed14fda5a9b3be4b92 Reviewed-by: Kimmo Leppälä <kimmo.leppala@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 233b35fb92c050da15e792a3d1c8879dba893635) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Doc: Use the \examplecategory macro to tag examplesTopi Reinio2023-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The '\meta category' command was used for tagging examples with a specific category, used in Qt Creators Welcome mode. As we want to also generate lists of examples belonging to a category elsewhere in the documentation, replace the command with a macro that expands to the original \meta command and also adds the example to a group using the \ingroup command. This way, the category names can be used as arguments to the \generatelist or \annotatedlist commands. Task-number: QTBUG-112731 Change-Id: If9519fd8994c64cf57dc4c9a9387d7be80493d80 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 89cdfed48ce61b06581c178d151d427ad7d67ac6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Merge recipe browser, stylesheet browser and markdown editor examplesYigit Akcay2023-04-0662-1146/+1276
| | | | | | | | | | | | | | | | | | | | This patch merges the qtwebengine examples recipe browser, stylesheet browser and markdown editor into one single example. Task-number: QTBUG-108751 Change-Id: I338707d7d3275b03bf2a2d7b65064ac91e562d7f Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fe9d72d931f40eafca97c1012c03e24561c973ff)
* | Simple browser example: Fix up the codeFriedemann Kleint2023-04-053-34/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove duplicated unused helper questionForFeature() - Replace lambdas by slots where possible - Fix clang warning about using multiple arguments to QString::arg() - Remove dead code in WebView::contextMenuEvent() which checks on inspectElement == actions.cend(), but is within an "if" checking the same condition. Change-Id: Ie85a3811f4f5a8c3fa9550d4eb2ca5bf79e39084 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 88ef502099d535823156c31e77251dd2a723ad1c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Add Windows 11 related note for Geolocation settingsYigit Akcay2023-04-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | There are 3 OS settings under Windows 11 that need to be enabled for the HTML5 Geolocation in QtWebEngine to work properly. This isn't very straightforward to a user, therefore this patch adds a note to the documentation. Change-Id: Id36a4726a182178c5a15fce039e464fd6bb7517e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c3b2393e7a532a18d4971a878740b2a9b5830028) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Simple browser example: Add helper function to remove key backspaceFriedemann Kleint2023-03-301-15/+16
| | | | | | | | | | | | | | | | | | It otherwise looks like a bit like an oversight or bug. Change-Id: If11fe034fa91022eb70c99b8a916fb35ac86f75d Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 24a11562f89016079f62b51ca5ad40938b74761c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Simple browser example: Fix clazy warningsFriedemann Kleint2023-03-302-17/+13
| | | | | | | | | | | | | | | | | | | | - else after return - Use multiarg version of QString::arg(QString) Change-Id: Iceff3ee8877b866b5b9187cd85da54864ab17834 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 3d5ee5e333e4257d2d243ba250b2f45e732cdb1e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Simple browser example: Use member initializationFriedemann Kleint2023-03-289-25/+16
| | | | | | | | | | | | | | | | | | As a drive-by, make constructors explicit. Change-Id: I5c8e3d8049504afa4aa5a0d7c1a85bb59eb3cd38 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 11e598d7153ec209bb208fafa0dcef9cab7c324b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Simple browser example: Use modern string literalsFriedemann Kleint2023-03-286-19/+31
| | | | | | | | | | | | | | Change-Id: I14ed5efed1bf228239f95a8a4addce5d19a9f220 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit de96e684275be9548252f874cbc515b81cd51cd8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Remove webui exampleAllan Sandfeld Jensen2023-03-2411-450/+1
| | | | | | | | | | | | | | | | | | | | | | | | Doesn't demonstrate anything complicated, the code isn't even worth quoting as snippets. We could consider introducing a help browser to replace it with more functionality. Task-number: QTBUG-108751 Change-Id: I3b796388796a78d017836a10bee18032b2cd4905 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e4051de7db7b7f0905770280f9a06e133d453cf7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Move widgets minimal example to manual testsMichal Klocek2023-03-247-129/+0
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-108751 Change-Id: I6e237b04d1f6a19f64516cd45aabe4d28099abd5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 34ebe8be93ab10766d034e5a3943a12c8de3a58e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Doc: Fix warning and minor clean-upPeter Varga2023-01-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | - Fix typo in link - Qt Location is no longer linked in Qt WebEngine Features - Replace Qt Location with Qt Positioning module Change-Id: Ia736fee8f0775fd6067c6f1e7a670b3bd7d8acb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e8137c729afbbb5c1549cad863ecbfd8c95b94a5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Disable WebEngineContext dump by defaultPeter Varga2023-01-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Change-Id: I4bd3c0e9eb532771f9b455863324e9dacaae884a Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 876f11854eddbe95132692b3b0853470563ff54a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>