Gazebo Gui

API Reference

7.2.2

Event which is called to broadcast the key release within the scene. More...

#include <GuiEvents.hh>

Public Member Functions

 KeyReleaseOnScene (const common::KeyEvent &_key)
 Constructor. More...
 
common::KeyEvent Key () const
 Get the released key within the scene that the user released. More...
 
- Public Member Functions inherited from QEvent
 QEvent (Type type)
 
virtual ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () const
 

Static Public Attributes

static const QEvent::Type kType = QEvent::Type(QEvent::MaxUser - 8)
 Unique type for this event. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from QEvent
int registerEventType (int hint)
 
- Properties inherited from QEvent
 accepted
 

Detailed Description

Event which is called to broadcast the key release within the scene.

Constructor & Destructor Documentation

◆ KeyReleaseOnScene()

KeyReleaseOnScene ( const common::KeyEvent &  _key)
explicit

Constructor.

Parameters
[in]_keyThe key released event within the scene

Member Function Documentation

◆ Key()

common::KeyEvent Key ( ) const

Get the released key within the scene that the user released.

Returns
The key code.

Member Data Documentation

◆ kType

const QEvent::Type kType = QEvent::Type(QEvent::MaxUser - 8)
static

Unique type for this event.


The documentation for this class was generated from the following file: