QStateMachine::WrappedEvent Class
class QStateMachine::WrappedEventLa classe `WrappedEvent` eredita d QEvent ` e contiene un clone di un evento associato a un ` QObject`. Per saperne di più...
Funzioni pubbliche
| virtual | ~WrappedEvent() |
| QEvent * | event() const |
| QObject * | object() const |
Descrizione dettagliata
Un evento "wrapped" viene generato da un QStateMachine in risposta a un evento Qt. La classe QEventTransition fornisce una transizione associata a tale evento. QStateMachine::WrappedEvent fa parte della panoramica suQt State Machine .
La funzione object() restituisce l'oggetto che ha generato l'evento. La funzione event() restituisce un clone dell'evento originale.
Vedi anche QEventTransition.
Documentazione sulle funzioni membro
[virtual noexcept] WrappedEvent::~WrappedEvent()
Elimina questo WrappedEvent.
QEvent *WrappedEvent::event() const
Restituisce un clone dell'evento originale.
QObject *WrappedEvent::object() const
Restituisce l'oggetto a cui è associato l'evento.
© 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.