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::Mouse ( )

Definition at line 59 of file mouse.cpp.

Member Function Documentation

◆ boundingRect()

QRectF Mouse::boundingRect ( ) const

Definition at line 67 of file mouse.cpp.

◆ paint()

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

Definition at line 81 of file mouse.cpp.

◆ shape()

QPainterPath Mouse::shape ( ) const

Definition at line 74 of file mouse.cpp.

◆ timerEvent()

void Mouse::timerEvent ( QTimerEvent *  event)
protected

Definition at line 114 of file mouse.cpp.

Member Data Documentation

◆ angle

qreal Mouse::angle
private

Definition at line 93 of file mouse.h.

◆ color

QColor Mouse::color
private

Definition at line 96 of file mouse.h.

◆ mouseEyeDirection

qreal Mouse::mouseEyeDirection
private

Definition at line 95 of file mouse.h.

◆ speed

qreal Mouse::speed
private

Definition at line 94 of file mouse.h.


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


csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:34