Qt3DInput::QInputAspect Class
class Qt3DInput::QInputAspectResponsável pela criação de dispositivos físicos e pelo gerenciamento das tarefas associadas. Mais...
| Cabeçalho: | #include <qinputaspect.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| Herdado de: | Qt3DCore::QAbstractAspect |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos enfaticamente que você não a utilize em código novo.
Funções públicas
| QInputAspect(QObject *parent = nullptr) | |
| QStringList | availablePhysicalDevices() const |
| Qt3DInput::QAbstractPhysicalDevice * | createPhysicalDevice(const QString &name) |
Descrição detalhada
QInputAspect é responsável pela criação de dispositivos físicos. É também o objeto responsável por definir as tarefas a serem executadas em um determinado momento, com base na configuração de entrada atual.
Documentação das funções-membro
[explicit] QInputAspect::QInputAspect(QObject *parent = nullptr)
Cria um novo objeto `QInputAspect` com ` parent`.
QStringList QInputAspect::availablePhysicalDevices() const
Retorna uma lista de todos os dispositivos físicos disponíveis.
Qt3DInput::QAbstractPhysicalDevice *QInputAspect::createPhysicalDevice(const QString &name)
A função “Create a physical device identified by name using the input device integrations present” retorna um nullptr caso o dispositivo não seja encontrado.
Observação: O chamador é responsável pela propriedade.
© 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.