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
RPropertyEvent.h
Go to the documentation of this file.
1
#ifndef RPROPERTYEVENT_H
2
#define RPROPERTYEVENT_H
3
4
#include <QVariant>
5
6
#include "
RPropertyTypeId.h
"
7
#include "
RPropertyAttributes.h
"
8
9
10
19
class
RPropertyEvent
{
20
public
:
21
RPropertyEvent
() :
22
propertyTypeId
(-1) {
23
}
24
29
RPropertyEvent
(
RPropertyTypeId
propertyTypeId
,
const
QVariant&
value
,
30
RS::EntityType
entityTypeFilter
=
RS::EntityAll
)
31
: propertyTypeId(propertyTypeId),
32
value(value),
33
entityTypeFilter
(
entityTypeFilter
) {
34
}
35
39
RPropertyTypeId
getPropertyTypeId
()
const
{
40
return
propertyTypeId
;
41
}
42
46
QVariant
getValue
()
const
{
47
return
value
;
48
}
49
53
RS::EntityType
getEntityTypeFilter
()
const
{
54
return
entityTypeFilter
;
55
}
56
57
private
:
58
RPropertyTypeId
propertyTypeId
;
59
QVariant
value
;
60
RS::EntityType
entityTypeFilter
;
61
};
62
63
Q_DECLARE_METATYPE
(
RPropertyEvent
)
64
Q_DECLARE_METATYPE
(
RPropertyEvent
*)
65
Q_DECLARE_METATYPE
(const
RPropertyEvent
*)
66
67
#endif
src
core
RPropertyEvent.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1