summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/permissionbrowser/mainwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup permissionbrowser exampleMoss Heim2025-04-031-29/+18
| | | | | | | | | | 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>
* QWebEnginePermission: Post-API reviewKaloyan Chehlarski2024-07-031-19/+19
| | | | | | | | | | | | | | | 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>
* Add PermissionBrowser exampleKaloyan Chehlarski2024-06-041-0/+270
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>