In questa pagina

QNativeInterface::QCocoaScreen Struct

Interfaccia nativa per una schermata su macOS. Altro...

Intestazione: #include <QScreen>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
A partire da: Qt 6.11

Funzioni pubbliche

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

Descrizione dettagliata

Accessibile tramite QScreen::nativeInterface().

Documentazione delle funzioni membro

[constexpr noexcept default] QCocoaScreen::QCocoaScreen()

Crea un'istanza di ` QCocoaScreen` con i valori predefiniti.

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

Crea una copia di un'istanza di ` QCocoaScreen`. Questa funzione è stata eliminata.

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

Crea un'istanza di ` QCocoaScreen`. Questa funzione è stata eliminata.

int *QCocoaScreen::nativeScreen() const

Restituisce l'oggetto NSScreen sottostante di questo QScreen.

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

Assegna " other " a questa istanza di " QCocoaScreen ". Questa funzione viene eliminata.

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

Copia e assegna other a questa istanza di QCocoaScreen. Questa funzione viene eliminata.

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