En esta página

QNativeInterface::QWindowsScreen Struct

Interfaz nativa para una pantalla. Más...

Encabezado: #include <qscreen_platform.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Desde: Qt 6.7

Funciones públicas

QWindowsScreen()
QWindowsScreen(const QNativeInterface::QWindowsScreen &)
QWindowsScreen(QNativeInterface::QWindowsScreen &&)
virtual HMONITOR handle() const = 0
QNativeInterface::QWindowsScreen &operator=(QNativeInterface::QWindowsScreen &&)
QNativeInterface::QWindowsScreen &operator=(const QNativeInterface::QWindowsScreen &)

Descripción detallada

Se accede a través de ` QScreen::nativeInterface()`.

Documentación de las funciones de miembro

[constexpr noexcept default] QWindowsScreen::QWindowsScreen()

Crea por defecto una instancia de ` QWindowsScreen`.

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

Crea una instancia de ` QWindowsScreen` mediante copia. Esta función se ha eliminado.

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

Crea una instancia de ` QWindowsScreen`. Esta función ha sido eliminada.

[pure virtual] HMONITOR QWindowsScreen::handle() const

Devuelve el objeto HWMONITOR subyacente de la pantalla.

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

Asigna « other » a esta instancia de « QWindowsScreen ». Esta función se elimina.

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

Asigna por copia other a esta instancia de QWindowsScreen. Esta función se ha eliminado.

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