이 페이지에서

QNativeInterface::QCocoaScreen Struct

macOS 화면용 네이티브 인터페이스. 더 보기...

헤더: #include <QScreen>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
다음부터: Qt 6.11부터

공개 함수

QCocoaScreen()
QCocoaScreen(const QNativeInterface::QCocoaScreen &)
QCocoaScreen(QNativeInterface::QCocoaScreen &&)
int *nativeScreen() const
QNativeInterface::QCocoaScreen &operator=(QNativeInterface::QCocoaScreen &&)
QNativeInterface::QCocoaScreen &operator=(const QNativeInterface::QCocoaScreen &)

상세 설명

QScreen::nativeInterface()를 통해 액세스합니다.

멤버 함수 문서

[constexpr noexcept default] QCocoaScreen::QCocoaScreen()

QCocoaScreen 의 인스턴스를 기본 생성합니다.

[delete] QCocoaScreen::QCocoaScreen(const QNativeInterface::QCocoaScreen &)

QCocoaScreen 의 인스턴스를 복사 생성합니다. 이 함수는 삭제되었습니다.

[delete] QCocoaScreen::QCocoaScreen(QNativeInterface::QCocoaScreen &&)

QCocoaScreen 의 인스턴스를 이동 생성합니다. 이 함수는 삭제되었습니다.

int *QCocoaScreen::nativeScreen() const

이 ` QScreen`의 기본 NSScreen 객체를 반환합니다.

[delete] QNativeInterface::QCocoaScreen &QCocoaScreen::operator=(QNativeInterface::QCocoaScreen &&)

other 를 이 QCocoaScreen 인스턴스에 할당합니다. 이 함수는 삭제됩니다.

[delete] QNativeInterface::QCocoaScreen &QCocoaScreen::operator=(const QNativeInterface::QCocoaScreen &)

other 를 이 QCocoaScreen 인스턴스에 복사-할당합니다. 이 함수는 삭제되었습니다.

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