Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Mouse Class Reference

#include <mouse.h>

Inheritance diagram for Mouse:
Inheritance graph
[legend]

Public Member Functions

QRectF boundingRect () const
 
 Mouse ()
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
QPainterPath shape () const
 

Protected Member Functions

void timerEvent (QTimerEvent *event)
 

Private Attributes

qreal angle
 
QColor color
 
qreal mouseEyeDirection
 
qreal speed
 

Detailed Description

Definition at line 43 of file mouse.h.

Constructor & Destructor Documentation

Mouse::Mouse ( )

Definition at line 59 of file mouse.cpp.

Member Function Documentation

QRectF Mouse::boundingRect ( ) const

Definition at line 67 of file mouse.cpp.

void Mouse::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)

Definition at line 81 of file mouse.cpp.

QPainterPath Mouse::shape ( ) const

Definition at line 74 of file mouse.cpp.

void Mouse::timerEvent ( QTimerEvent *  event)
protected

Definition at line 114 of file mouse.cpp.

Member Data Documentation

qreal Mouse::angle
private

Definition at line 59 of file mouse.h.

QColor Mouse::color
private

Definition at line 62 of file mouse.h.

qreal Mouse::mouseEyeDirection
private

Definition at line 61 of file mouse.h.

qreal Mouse::speed
private

Definition at line 60 of file mouse.h.


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


csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23