tychoBCGEN  0.5
 All Data Structures Namespaces Files Functions Variables
Protected Member Functions
myscene Class Reference

#include <myscene.h>

Protected Member Functions

void mouseMoveEvent (QGraphicsSceneMouseEvent *mouseEvent)

Detailed Description

Definition at line 7 of file myscene.h.


Member Function Documentation

void myscene::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
protected

handles the mouse move event on the image

Definition at line 121 of file mainwindow.cpp.

References point, and point_new.

{
int x,y;
x = floor(event->scenePos().x());
y = floor(event->scenePos().y());
point.setX(x);
point.setY(y);
}

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