QWebViewLoadingInfo Class
Die Klasse liefert Informationen zum Ladestatus für das Signal QWebView::loadingChanged(). Mehr...
| Kopfzeile: | #include <QWebViewLoadingInfo> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WebView)target_link_libraries(mytarget PRIVATE Qt6::WebView) |
| qmake: | QT += webview |
| Seit: | Qt 6.11 |
Öffentliche Typen
| enum class | LoadStatus { Started, Succeeded, Failed, Stopped } |
Eigenschaften
- errorString : const QString
- status : const LoadStatus
- url : const QUrl
Öffentliche Funktionen
| QString | errorString() const |
| QWebViewLoadingInfo::LoadStatus | status() const |
| void | swap(QWebViewLoadingInfo &other) |
| QUrl | url() const |
Detaillierte Beschreibung
Der Typ QWebViewLoadingInfo enthält Ladestatusinformationen für die angeforderte URL.
Dokumentation des Membertyps
enum class QWebViewLoadingInfo::LoadStatus
Diese Aufzählung stellt den Ladestatus einer Webseiten-Ladeanfrage dar.
| Konstante | Wert | Beschreibung |
|---|---|---|
QWebViewLoadingInfo::LoadStatus::Started | 0 | Die Seite wird gerade geladen. |
QWebViewLoadingInfo::LoadStatus::Succeeded | 2 | Die Seite wurde erfolgreich geladen. |
QWebViewLoadingInfo::LoadStatus::Failed | 3 | Die Seite konnte nicht geladen werden. |
QWebViewLoadingInfo::LoadStatus::Stopped | 1 | Das Laden der Seite wurde abgebrochen. |
Siehe auch QWebView::loadingChanged().
Eigenschaft Dokumentation
[read-only] errorString : const QString
Enthält die Fehlermeldung.
Hält die Fehlermeldung, wenn die Ladeanforderung fehlgeschlagen ist.
Zugriffsfunktionen:
| QString | errorString() const |
Siehe auch QWebView::loadingChanged().
[read-only] status : const LoadStatus
Diese Eigenschaft enthält den Status einer Webseiten-Ladeanforderung.
Diese Aufzählung stellt den Ladestatus einer Webseiten-Ladeanforderung dar.
Zugriffsfunktionen:
| QWebViewLoadingInfo::LoadStatus | status() const |
Siehe auch QWebView::loadingChanged().
[read-only] url : const QUrl
Diese Eigenschaft enthält die URL der Ladeanforderung. Die URL der Ladeanforderung.
Zugriffsfunktionen:
| QUrl | url() const |
Siehe auch QWebView::url.
Dokumentation der Mitgliedsfunktionen
[noexcept] void QWebViewLoadingInfo::swap(QWebViewLoadingInfo &other)
Tauscht diese Ladeinformationen mit other aus. Dieser Vorgang ist sehr schnell und schlägt nie fehl.
© 2026 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.