QNativeInterface::QCocoaScreen Struct
Interface native pour un écran sous macOS. En savoir plus...
| En-tête : | #include <QScreen> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake : | QT += gui |
| Depuis : | Qt 6.11 |
- Liste de tous les membres, y compris les membres hérités
- QCocoaScreen fait partie des interfaces natives.
Fonctions publiques
| QCocoaScreen() | |
| QCocoaScreen(const QNativeInterface::QCocoaScreen &) | |
| QCocoaScreen(QNativeInterface::QCocoaScreen &&) | |
| int * | nativeScreen() const |
| QNativeInterface::QCocoaScreen & | operator=(QNativeInterface::QCocoaScreen &&) |
| QNativeInterface::QCocoaScreen & | operator=(const QNativeInterface::QCocoaScreen &) |
Description détaillée
Accessible via QScreen::nativeInterface().
Documentation des fonctions membres
[constexpr noexcept default] QCocoaScreen::QCocoaScreen()
Construit par défaut une instance de ` QCocoaScreen`.
[delete] QCocoaScreen::QCocoaScreen(const QNativeInterface::QCocoaScreen &)
Copie et construit une instance de ` QCocoaScreen`. Cette fonction est supprimée.
[delete] QCocoaScreen::QCocoaScreen(QNativeInterface::QCocoaScreen &&)
Crée par « move » une instance de ` QCocoaScreen`. Cette fonction est supprimée.
int *QCocoaScreen::nativeScreen() const
Renvoie l'objet NSScreen sous-jacent de cet QScreen.
[delete] QNativeInterface::QCocoaScreen &QCocoaScreen::operator=(QNativeInterface::QCocoaScreen &&)
La commande « Move » attribue « other » à cette instance « QCocoaScreen ». Cette fonction est supprimée.
[delete] QNativeInterface::QCocoaScreen &QCocoaScreen::operator=(const QNativeInterface::QCocoaScreen &)
Copie et attribue « other » à cette instance « QCocoaScreen ». Cette fonction est supprimée.
© 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.