이 페이지에서

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

이 열거형은 웹 페이지 로드 요청의 로드 상태를 나타냅니다.

Constant설명
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

이 속성은 웹 페이지 로드 요청의 상태를 보유합니다.

이 열거형은 웹 페이지 로드 요청의 로드 상태를 나타냅니다.

액세스 함수:

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.