QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
REntityPickEvent.h
Go to the documentation of this file.
1
#ifndef RENTITYPICKEVENT_H
2
#define RENTITYPICKEVENT_H
3
4
#include "
RInputEvent.h
"
5
#include "
REntity.h
"
6
#include "
RVector.h
"
7
8
class
RGraphicsView
;
9
class
RGraphicsScene
;
10
17
class
REntityPickEvent
:
public
RInputEvent
{
18
public
:
23
REntityPickEvent
(
REntity::Id
entityId
,
const
RVector
& position,
24
RGraphicsScene
& s,
RGraphicsView
& v);
25
29
REntity::Id
getEntityId
()
const
{
30
return
entityId
;
31
}
32
36
bool
isValid
()
const
{
37
return
entityId!=
REntity::INVALID_ID
;
38
}
39
40
private
:
41
REntity::Id
entityId
;
42
};
43
44
Q_DECLARE_METATYPE
(
REntityPickEvent
*)
45
Q_DECLARE_METATYPE
(const
REntityPickEvent
*)
46
47
#endif
src
core
REntityPickEvent.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1