fw4spl
fwRenderQt::data::Event Class Reference

This class manage events on the scene 2D (mouse event, keyboard event , ...). More...

#include <Event.hpp>

Public Types

enum  Type {
  NoType, Resize, Viewport, MouseButtonDoubleClick,
  MouseButtonPress, MouseButtonRelease, MouseMove, MouseWheelUp,
  MouseWheelDown, KeyPress, KeyRelease
}
 
enum  Button { NoButton, LeftButton, RightButton, MidButton }
 
enum  Modifier { NoModifier, ShiftModifier, ControlModifier, AltModifier }
 

Public Member Functions

 Event ()
 Constructor. More...
 
bool isAccepted () const
 
void setAccepted (bool accepted)
 
Button getButton () const
 
void setButton (Button button)
 
const CoordgetCoord () const
 
void setCoord (const Coord &coord)
 
int getKey () const
 
void setKey (int key)
 
Modifier getModifier () const
 
void setModifier (Modifier modifier)
 
const SizegetOldSize () const
 
void setOldSize (const Size &oldSize)
 
const SizegetSize () const
 
void setSize (const Size &size)
 
Type getType () const
 
void setType (Type type)
 

Detailed Description

This class manage events on the scene 2D (mouse event, keyboard event , ...).

Definition at line 26 of file Event.hpp.

Constructor & Destructor Documentation

fwRenderQt::data::Event::Event ( )
inline

Constructor.

Parameters
keyPrivate construction key

Definition at line 66 of file Event.hpp.


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