Public Member Functions | Protected Attributes

MouseEvent Class Reference

List of all members.

Public Member Functions

 MouseEvent (OD::ButtonState st=OD::NoButton, int xx=0, int yy=0, float aa=0)
 MouseEvent (const MouseEvent &me)
 ~MouseEvent ()
MouseEventoperator= (const MouseEvent &)
OD::ButtonState buttonState () const
void setButtonState (const OD::ButtonState &)
const Geom::Point2D< int > & pos () const
int x () const
int y () const
float angle () const
 used for wheel events
bool leftButton () const
bool rightButton () const
bool middleButton () const
bool ctrlStatus () const
bool altStatus () const
bool shiftStatus () const
bool operator== (const MouseEvent &ev) const
bool operator!= (const MouseEvent &ev) const
TabletInfotabletInfo ()
const TabletInfotabletInfo () const
void setTabletInfo (const TabletInfo *)

Protected Attributes

OD::ButtonState butstate_
Geom::Point2D< int > pos_
float angle_
TabletInfotabletinfo_

Constructor & Destructor Documentation

MouseEvent::MouseEvent ( OD::ButtonState  st = OD::NoButton,
int  xx = 0,
int  yy = 0,
float  aa = 0 
) [inline]
MouseEvent::MouseEvent ( const MouseEvent me  )  [inline]
MouseEvent::~MouseEvent (  ) 

Member Function Documentation

bool MouseEvent::altStatus (  )  const
float MouseEvent::angle (  )  const [inline]

used for wheel events

OD::ButtonState MouseEvent::buttonState (  )  const [inline]
bool MouseEvent::ctrlStatus (  )  const
bool MouseEvent::leftButton (  )  const
bool MouseEvent::middleButton (  )  const
bool MouseEvent::operator!= ( const MouseEvent ev  )  const [inline]
MouseEvent& MouseEvent::operator= ( const MouseEvent  ) 
bool MouseEvent::operator== ( const MouseEvent ev  )  const
const Geom::Point2D<int>& MouseEvent::pos (  )  const [inline]
bool MouseEvent::rightButton (  )  const
void MouseEvent::setButtonState ( const OD::ButtonState &   ) 
void MouseEvent::setTabletInfo ( const TabletInfo  ) 
bool MouseEvent::shiftStatus (  )  const
const TabletInfo* MouseEvent::tabletInfo (  )  const
TabletInfo* MouseEvent::tabletInfo (  ) 
int MouseEvent::x (  )  const [inline]
int MouseEvent::y (  )  const [inline]

Member Data Documentation

float MouseEvent::angle_ [protected]
OD::ButtonState MouseEvent::butstate_ [protected]
Geom::Point2D<int> MouseEvent::pos_ [protected]