QNativeInterface::QCocoaScreen Struct
Interface nativa para uma tela no macOS. Mais...
| Cabeçalho: | #include <QScreen> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Desde: | Qt 6.11 |
- Lista de todos os membros, incluindo os herdados
- QCocoaScreen faz parte das Interfaces Nativas.
Funções públicas
| QCocoaScreen() | |
| QCocoaScreen(const QNativeInterface::QCocoaScreen &) | |
| QCocoaScreen(QNativeInterface::QCocoaScreen &&) | |
| int * | nativeScreen() const |
| QNativeInterface::QCocoaScreen & | operator=(QNativeInterface::QCocoaScreen &&) |
| QNativeInterface::QCocoaScreen & | operator=(const QNativeInterface::QCocoaScreen &) |
Descrição detalhada
Acessado por meio de ` QScreen::nativeInterface()`.
Documentação da função de membro
[constexpr noexcept default] QCocoaScreen::QCocoaScreen()
Cria, por padrão, uma instância de ` QCocoaScreen`.
[delete] QCocoaScreen::QCocoaScreen(const QNativeInterface::QCocoaScreen &)
Cria uma instância de ` QCocoaScreen` por meio de cópia. Essa função foi excluída.
[delete] QCocoaScreen::QCocoaScreen(QNativeInterface::QCocoaScreen &&)
Cria uma instância de ` QCocoaScreen` por meio da construção `move`. Essa função foi excluída.
int *QCocoaScreen::nativeScreen() const
Retorna o objeto NSScreen subjacente deste QScreen.
[delete] QNativeInterface::QCocoaScreen &QCocoaScreen::operator=(QNativeInterface::QCocoaScreen &&)
A função “Move-assigns” atribui o objeto “ other ” a esta instância “ QCocoaScreen ”. Essa função é excluída.
[delete] QNativeInterface::QCocoaScreen &QCocoaScreen::operator=(const QNativeInterface::QCocoaScreen &)
Copia e atribui “ other ” a esta instância “ QCocoaScreen ”. Esta função foi excluída.
© 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.