Nesta página

QNativeInterface::QWindowsScreen Struct

Interface nativa para uma tela. Mais...

Cabeçalho: #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

Funções 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 &)

Descrição detalhada

Acessado por meio de ` QScreen::nativeInterface()`.

Documentação da função de membro

[constexpr noexcept default] QWindowsScreen::QWindowsScreen()

Constrói, por padrão, uma instância de ` QWindowsScreen`.

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

Cria uma instância de ` QWindowsScreen` por meio de cópia. Essa função foi excluída.

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

Cria uma instância de ` QWindowsScreen` por meio de `move`. Essa função foi excluída.

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

Retorna o HWMONITOR subjacente da tela.

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

A função “Move-assigns” atribui o objeto “ other ” a esta instância “ QWindowsScreen ”. Essa função é excluída.

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

Copia e atribui ` other ` a esta instância de ` QWindowsScreen `. Esta função é 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.