aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webview/minibrowser/main.py
Commit message (Collapse)AuthorAgeFilesLines
* Delete QQmlApplicationEngine on application exitJaime Resano2024-11-251-2/+2
| | | | | | | | | | | | | | Due to the API limitations, we have to ensure that the engine is deleted before other parts of the application is deleted. Otherwise exposing objects using setInitialProperties() or setContextProperty() for example will cause warnings to be printed. It is a good practice to always delete the engine manually so all the code should be consistent. Task-number: PYSIDE-1612 Pick-to: 6.8 Change-Id: I01f16359e9d90cefd5957708fe12ce489bd7edc0 Reviewed-by: Jaime Resano <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
* Use QQmlApplicationEngine.setInitialProperties() in the minibrowser exampleFriedemann Kleint2024-08-081-4/+2
| | | | | | | | | | Port qtwebview/3cbbf09d189db4dd1d9421f86446e3b03831a2a0. Amends c042e74cb490905c5cf5dc7d1c3887f627291019. Task-number: PYSIDE-2206 Pick-to: 6.5 6.7 Change-Id: Ic372da014132c19bed187ff369403ed0fd09bcb5 Reviewed-by: Cristian Maureira-Fredes <[email protected]>
* Examples: Add minibrowserShyamnath Premnadh2024-08-051-0/+62
- tests the working of the QtWebView module Task-number: PYSIDE-2206 Pick-to: 6.5 6.7 Change-Id: I8d75e427f1b26ead1d37693701fe77cca9e4c03b Reviewed-by: Friedemann Kleint <[email protected]>