이 페이지에서

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

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

상수값설명
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도 참조하십시오 .

멤버 함수 문서

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

QWebViewLoadingInfo 의 인스턴스를 생성합니다.

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