QLocation Namespace

QLocation 네임스페이스에는 QtLocation 모듈 전체에서 사용되는 기타 식별자가 포함되어 있습니다. 더 보기...

Header: #include <QLocation>
qmake: QT += location

유형

(since 6.6) enum class ReferenceSurface { Map, Globe }
enum Visibility { UnspecifiedVisibility, DeviceVisibility, PrivateVisibility, PublicVisibility }
flags VisibilityScope

상세 설명

유형 문서

[since 6.6] enum class QLocation::ReferenceSurface

다양한 맵 항목(예: 다각형, 폴리라인)이 정의되는 참조 서페이스를 정의합니다.

상수설명
QLocation::ReferenceSurface::Map0맵에 정의된 항목입니다. 예를 들어 폴리라인의 경우 노드가 맵에서 직선으로 연결되어 있음을 의미합니다.
QLocation::ReferenceSurface::Globe1항목은 지구본에 정의됩니다. 예를 들어 폴리라인의 경우 노드가 구의 점 사이의 최단 연결을 나타내는 원 섹션으로 연결되어 있음을 의미합니다. 이 연결은 큰 원 경로라고도 합니다.

이 열거형은 Qt 6.6에 도입되었습니다.

열거형 QLocation::Visibility
플래그 QLocation::VisibilityScope

QPlace 또는 QPlaceCategory 의 가시성을 정의합니다.

상수설명
QLocation::UnspecifiedVisibility0x00명시적인 가시성이 정의되지 않았습니다.
QLocation::DeviceVisibility0x01DeviceVisibility가 설정된 장소 및 카테고리는 로컬 디바이스에만 저장됩니다.
QLocation::PrivateVisibility0x02비공개 가시성이 설정된 장소와 카테고리는 현재 사용자에게만 표시됩니다. 데이터는 로컬 또는 원격 서비스 또는 둘 다에 저장될 수 있습니다.
QLocation::PublicVisibility0x04공개 가시성이 설정된 장소와 카테고리는 모든 사람이 볼 수 있습니다.

특정 관리자는 하나 이상의 공개 범위만 지원할 수 있습니다. 예를 들어 한 제공업체의 관리자는 모든 사람에게 공개되는 장소만 제공할 수 있는 반면, 다른 관리자는 공개 장소와 비공개 장소를 모두 제공할 수 있습니다.

참고: 지정되지 않은 공개 범위의 의미는 사용되는 컨텍스트에 따라 다릅니다.

장소 또는 카테고리를 저장할 때 기본 공개 범위는 지정되지 않음으로, 관리자가 해당 항목에 대한 적절한 공개 범위를 선택하는 것을 의미합니다.

장소를 검색할 때 지정되지 않음은 모든 범위의 장소가 반환됨을 의미합니다.

VisibilityScope 유형은 QFlags<Visibility>에 대한 타입 정의입니다. Visibility 값의 OR 조합을 저장합니다.

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