iVS3D v2.0.0
Loading...
Searching...
No Matches
roiselect.h
1#ifndef ROISELECT_H
2#define ROISELECT_H
3
4#include <QGraphicsScene>
5
17class roiSelect : public QGraphicsScene
18{
19 Q_OBJECT
20public:
25 explicit roiSelect(QObject *parent = 0);
26
27protected:
32 void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent);
37 void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent);
38
39
40signals:
41 void sig_mousePress(QGraphicsSceneMouseEvent *mouseEvent);
42 void sig_mouseMove(QGraphicsSceneMouseEvent *mouseEvent);
43 void sig_mouseRelease(QGraphicsSceneMouseEvent *mouseEvent);
44};
45
46#endif // ROISELECT_H
The roiSelect class provides the visual interface for the user to select a ROI and signals this inter...
Definition roiselect.h:18
void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent)
mousePressEvent sends the mousepress signal when mouse is pressed on this scene
Definition roiselect.cpp:10
void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent)
mousePressEvent sends the mousemove signal when mouse is moved on this scene
Definition roiselect.cpp:15