WebEngineProfile QML Type
Contains common settings for multiple web engine views. More...
|Import Statement:||import QtWebEngine 1.1|
- cachePath : QString
- httpCacheMaximumSize : int
- httpCacheType : enumeration
- httpUserAgent : QString
- offTheRecord : bool
- persistentCookiesPolicy : enumeration
- persistentStoragePath : QString
- storageName : QString
Contains settings and history shared by all the web engine views that belong to the profile.
Each web engine view has an associated profile. Views that do not have a specific profile set share a common default one.
cachePath : QString
httpUserAgent : QString
The user-agent string sent with HTTP to identify the browser.
Whether the web engine profile is off-the-record. An off-the-record profile forces cookies, the HTTP cache, and other normally persistent data to be stored only in memory.
This enumeration describes the policy of cookie persistency:
|Both session and persistent cookies are stored in memory. This is the only setting possible if offTheRecord is set or no persistentStoragePath is available.|
|Cookies marked persistent are saved to and restored from disk, whereas session cookies are only stored to disk for crash recovery. This is the default setting.|
|Both session and persistent cookies are saved to and restored from disk.|
persistentStoragePath : QString
The path to the location where the persistent data for the browser and web content are stored. Persistent data includes persistent cookies, HTML5 local storage, and visited links.
storageName : QString
This signal is emitted whenever downloading stops, because it finished successfully, was cancelled, or was interrupted (for example, because connectivity was lost). The download argument holds the state of the finished download instance.
This signal is emitted whenever a download has been triggered. The download argument holds the state of the download. The download has to be explicitly accepted with WebEngineDownloadItem::accept() or the download will be cancelled by default.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.