Nesta página

QEnterEvent Class

A classe QEnterEvent contém parâmetros que descrevem um evento de tecla Enter. Mais...

Cabeçalho: #include <QEnterEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Herdado de: QSinglePointEvent

Funções públicas

QEnterEvent(const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, const QPointingDevice *device = QPointingDevice::primaryPointingDevice())

Funções protegidas

QEnterEvent(QEnterEvent &&)
QEnterEvent &operator=(QEnterEvent &&)
QEnterEvent &operator=(const QEnterEvent &other)

Descrição detalhada

Os eventos Enter ocorrem quando o cursor do mouse entra em uma janela ou em um widget.

Documentação da função de membro

QEnterEvent::QEnterEvent(const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, const QPointingDevice *device = QPointingDevice::primaryPointingDevice())

Cria um objeto de evento “enter” proveniente de device.

Os pontos localPos, scenePos e globalPos especificam a posição do cursor do mouse em relação ao widget ou item receptor, à janela e à tela ou área de trabalho, respectivamente.

[protected delete] QEnterEvent::QEnterEvent(QEnterEvent &&)

Cria, por meio de `move`, uma instância de ` QEnterEvent`. Esta função foi excluída.

[protected delete] QEnterEvent &QEnterEvent::operator=(QEnterEvent &&)

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

[noexcept protected default] QEnterEvent &QEnterEvent::operator=(const QEnterEvent &other)

Copia e atribui other a esta instância de QEnterEvent.

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