summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/permissionbrowser
Commit message (Collapse)AuthorAgeFilesLines
* Udate the webengine example .ui filesFriedemann Kleint2025-09-173-23/+23
| | | | | | | | | | | | This makes syncing examples with PySide easier. Load and save them using Qt Widgets Designer to get fully qualified enumerations and to adapt to increased minimum sizes. Pick-to: 6.10 Task-number: PYSIDE-2206 Change-Id: Ibfc5a3dfb28211b5557b0f9bc50e86572772c29c Reviewed-by: Moss Heim <moss.heim@qt.io>
* Cleanup permissionbrowser exampleMoss Heim2025-04-034-49/+21
| | | | | | | | | | Remove an unused member, dynamically populate the policy combo box so its items and data stay synced, fix a documentation typo, and simplify a few expressions. Pick-to: 6.8 6.9 Change-Id: I37997fbbeca51ed4c71c83a86d989917ce92b3df Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
* Bump permissionbrowser example cmake versionMoss Heim2025-02-091-1/+1
| | | | | | | | | All our other examples use 3.16, and cmake 3.30 now gives a deprecation warning about this. Pick-to: 6.8 6.9 Change-Id: If2aff723cedab0339ba506484b44bddd89858307 Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
* Add REUSE.toml files and missing licensesLucie Gérard2024-10-311-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | REUSE.toml files are read by reuse to complement or override the copyright and licensing information found in file. The use of REUSE.toml files was introduced in REUSE version 3.1.0a1. This reuse version is compatible with reuse specification version 3.2 [1]. With this commit's files, * The SPDX document generated by reuse spdx conforms to SPDX 2.3, * The reuse lint command reports that the Qt project is reuse compliant. In order to be reuse compliant all the licenses referenced in file or within a REUSE.toml file must be present in the LICENSES directory at the base of the module. The missing licenses are added. [1]: https://reuse.software/spec-3.2/ Task-number: QTBUG-124453 Task-number: QTBUG-125211 Pick-to: 6.8 Change-Id: Ic8c34b884bae1151f5d912f375bf87378e6e9a3d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Docs: Fix formatting errors in PermissionBrowser example docsKaloyan Chehlarski2024-10-291-5/+5
| | | | | | | | Fixes a couple of broken links, a broken list, and a missing \c tag. Pick-to: 6.8 Change-Id: I57bd37aea88a3780b1897ab0223d7964e6399755 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Doc: Fix links to Qt Creator documentationLeena Miettinen2024-08-051-1/+1
| | | | | | | Use the macros \QC and \QD. Change-Id: I58c6064916b2449a63b5389a9afe7b64f772e3c2 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Permission browser example: Use QLatin1StringViewKaloyan Chehlarski2024-07-261-1/+1
| | | | | | | | | Removes ambiguous conversion of string types. Fixes: QTBUG-127544 Pick-to: 6.8 Change-Id: I53d444b641c4b5190c1e391d9df21ccd7076ef13 Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
* Correct license for examples fileLucie Gérard2024-07-081-1/+1
| | | | | | | | | | | | | | Example takes precedence over build system file type. According to QUIP-18 [1], all examples file should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.8 Task-number: QTBUG-121787 Change-Id: Ifb33a2b284ef234648b50d2333e83f7015023405 Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Kaloyan Chehlarski <kaloyan.chehlarski@qt.io>
* QWebEnginePermission: Post-API reviewKaloyan Chehlarski2024-07-033-37/+37
| | | | | | | | | | | | | | | This commit contains fixes for the issues found during the API review of the new permissions API. In particular: - All new enums are now scoped - Replaced isTransient with its opposite, isPersistent - Renamed Feature to PermissionType - Made origin() return a non-const QUrl - Renamed PersistentPermissionsPolicy members to be more concise - Fixed a couple of bugs in the implementation - Updated documentation Change-Id: Idf84e1c9ba3ae803ef4686e1caa7f3e6c198c87d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Replace urn:dje license identifier with SPDX compatible oneKai Köhne2024-06-241-2/+1
| | | | | | | | | | | | We aim for using only valid SPDX expressions in LicenseId fields. But SPDX does not contain a generic 'Public Domain' license, which is why we were going for urn.dje licenses originally. Anyhow, best practice is to use custom LicenseRef- licenses in this case. Task-number: QTBUG-126403 Pick-to: 6.7 6.8 Change-Id: I1d050ae42603168c6a4c9d44eeb7fdd6767af060 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
* Add PermissionBrowser exampleKaloyan Chehlarski2024-06-0419-0/+1432
The example demonstrates how to properly use the new QWebEnginePermission API to manage incoming and existing website permissions. Pick-to: 6.8 Change-Id: I21fd01879f7bd89fc2239fde38f5b6456f193578 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>