QuotaRequest QML Type | Qt WebEngine 5.15.18 (original) (raw)

A utility type for the WebEngineView::quotaRequested() signal. More...

Properties

Methods

Detailed Description

See also WebEngineView::quotaRequested().

Property Documentation

The URL of the web page that issued the quota request.

[read-only] requestedSize : qint64

Contains the size of the requested disk space in bytes.

Method Documentation

Accepts the quota request.

WebEngineView { onQuotaRequested: function(request) { if (request.requestedSize <= 5 * 1024 * 1024) request.accept(); else request.reject(); } }

Rejects the quota request.

© 2024 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.