Auf dieser Seite

QWebViewLoadingInfo Class

Die Klasse stellt Informationen zum Laststatus für das Signal „ QWebView::loadingChanged()“ bereit. Mehr...

Header: #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

Öffentliche Funktionen

QWebViewLoadingInfo(QWebViewLoadingInfo &&other)
QString errorString() const
QWebViewLoadingInfo::LoadStatus status() const
void swap(QWebViewLoadingInfo &other)
QUrl url() const

Ausführliche Beschreibung

Der Typ „QWebViewLoadingInfo“ enthält Informationen zum Ladestatus der angeforderten URL.

Dokumentation zum Mitgliedstyp

enum class QWebViewLoadingInfo::LoadStatus

Diese Aufzählung gibt den Ladestatus einer Anfrage zum Laden einer Webseite an.

KonstanteWertBeschreibung
QWebViewLoadingInfo::LoadStatus::Started0Die Seite wird gerade geladen.
QWebViewLoadingInfo::LoadStatus::Succeeded2Die Seite wurde erfolgreich geladen.
QWebViewLoadingInfo::LoadStatus::Failed3Die Seite konnte nicht geladen werden.
QWebViewLoadingInfo::LoadStatus::Stopped1Das Laden der Seite wurde abgebrochen.

Siehe auch QWebView::loadingChanged().

Dokumentation zu den Eigenschaften

[read-only] errorString : const QString

Enthält die Fehlermeldung.

Enthält die Fehlermeldung, falls die Ladeanforderung fehlgeschlagen ist.

Zugriffsfunktionen:

QString errorString() const

Siehe auch „ QWebView::loadingChanged()“.

[read-only] status : const LoadStatus

Diese Eigenschaft gibt den Status einer Anfrage zum Laden einer Webseite an.

Diese Aufzählung stellt den Ladestatus einer Webseite-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 zu den Member-Funktionen

[constexpr noexcept default] QWebViewLoadingInfo::QWebViewLoadingInfo(QWebViewLoadingInfo &&other)

Erstellt eine Instanz von ` QWebViewLoadingInfo` mithilfe der `Move`-Konstruktion.

[noexcept] void QWebViewLoadingInfo::swap(QWebViewLoadingInfo &other)

Tauscht diese Ladeinformationen mit other aus. Dieser Vorgang ist sehr schnell und schlägt niemals 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.