このページでは

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 }

プロパティ

公開関数

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

詳細説明

QWebViewLoadingInfo 型には、要求された URL の読み込みステータス情報が含まれます。

メンバ型のドキュメント

enum class QWebViewLoadingInfo::LoadStatus

この列挙型は、Webページの読み込みリクエストの読み込み状態を表します。

定数値説明
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」も参照してください 。

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

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

QWebViewLoadingInfo のインスタンスをMoveコンストラクタで生成します。

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