このページでは

QWebViewLoadingInfo Class

このクラスは、QWebView::loadingChanged() シグナルのロード・ステータス情報を提供する。詳細...

ヘッダ #include <QWebViewLoadingInfo>
CMake: find_package(Qt6 REQUIRED COMPONENTS WebView)
target_link_libraries(mytarget PRIVATE Qt6::WebView)
qmake: QT += webview
以来:Qt 6.11

パブリックタイプ

enum class LoadStatus { Started, Succeeded, Failed, Stopped }

プロパティ

パブリック機能

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

詳細説明

QWebViewLoadingInfo 型は、要求された URL のロードステータス情報を含んでいます。

メンバ型ドキュメント

enum class QWebViewLoadingInfo::LoadStatus

この列挙は、ウェブページのロード要求のロード状態を表します。

定数説明
QWebViewLoadingInfo::LoadStatus::Started0ページは現在ロード中です。
QWebViewLoadingInfo::LoadStatus::Succeeded2ページは正常にロードされました。
QWebViewLoadingInfo::LoadStatus::Failed3ページをロードできませんでした。
QWebViewLoadingInfo::LoadStatus::Stopped1ページのロードが停止されました。

QWebView::loadingChanged()も参照

プロパティ・ドキュメント

[read-only] errorString : const QString

エラーメッセージを保持します。

ロード要求に失敗した場合のエラーメッセージを保持します。

アクセス関数:

QString errorString() const

QWebView::loadingChanged()も参照

[read-only] status : const LoadStatus

このプロパティは、Web ページ読み込み要求の状態を保持する。

この列挙は、Web ページ読み込み要求の読み込み状態を表します。

アクセス関数:

QWebViewLoadingInfo::LoadStatus status() const

QWebView::loadingChanged()も参照してください

[read-only] url : const QUrl

このプロパティは、ロードリクエストの URL を保持する。ロードリクエストの URL。

アクセス関数:

QUrl url() const

QWebView::urlも参照のこと

メンバー関数ドキュメント

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

このロード情報をother と入れ替える。この操作は非常に速く、失敗することはない。

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