このページでは

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 のインスタンスをMove-constructで生成します。この関数は削除されています。

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.