|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
20 #ifndef RPOINTENTITY_H
21 #define RPOINTENTITY_H
75 virtual QPair<QVariant, RPropertyAttributes>
getProperty(
77 bool humanReadable =
false,
bool noAttributes =
false,
bool showOnRequest =
false);
90 return data.getPosition();
94 virtual void print(QDebug dbg)
const;
static RPropertyTypeId PropertyDrawOrder
Definition: RPointEntity.h:53
static RPropertyTypeId PropertyLinetypeScale
Definition: RPointEntity.h:49
static RPropertyTypeId PropertyColor
Definition: RPointEntity.h:51
static RPropertyTypeId PropertyPositionX
Definition: RPointEntity.h:54
virtual RPointData & getData()
Definition: RPointEntity.h:81
Represents a 3d vector (x/y/z).
Definition: RVector.h:46
static RPropertyTypeId PropertyHandle
Definition: RPointEntity.h:42
#define QCADENTITY_EXPORT
Definition: entity_global.h:10
virtual void exportEntity(RExporter &e, bool preview=false, bool forceSelected=false) const =0
Exports the entity to the given exporter.
static RPropertyTypeId PropertyWorkingSet
Definition: RPointEntity.h:44
static RPropertyTypeId PropertyBlock
Definition: RPointEntity.h:46
static RPropertyTypeId PropertyLayer
Definition: RPointEntity.h:47
Point entity.
Definition: RPointEntity.h:38
static RPropertyTypeId PropertyCustom
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RPointEntity.h:41
Base class for all entity classes.
Definition: REntity.h:65
RPointData data
Definition: RPointEntity.h:97
Q_DECLARE_METATYPE(RMath *)
static RPropertyTypeId PropertyPositionY
Definition: RPointEntity.h:55
static QSet< RPropertyTypeId > getStaticPropertyTypeIds()
Definition: RPointEntity.h:65
static void init()
Definition: REntity.cpp:88
virtual void print(QDebug dbg) const
Stream operator for QDebug.
Definition: REntity.cpp:455
static RPropertyTypeId PropertyLineweight
Definition: RPointEntity.h:50
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RPropertyTypeId.h:59
static RPropertyTypeId PropertyPositionZ
Definition: RPointEntity.h:56
Abstract base class for exporters.
Definition: RExporter.h:72
virtual bool setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)
Sets the given property to the given value.
Definition: REntity.cpp:323
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition: RDocument.h:72
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RPointData.h:40
RVector getPosition() const
Definition: RPointEntity.h:89
virtual RPointEntity * clone() const
Definition: RPointEntity.h:69
static RPropertyTypeId PropertyDisplayedColor
Definition: RPointEntity.h:52
virtual QPair< QVariant, RPropertyAttributes > getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)
Definition: REntity.cpp:230
Transaction implementation.
Definition: RTransaction.h:74
static QSet< RPropertyTypeId > getPropertyTypeIds(const std::type_info &classInfo, RPropertyAttributes::Option=RPropertyAttributes::NoOptions)
Gets all property type IDs that where registered for the given class.
Definition: RPropertyTypeId.cpp:273
static RPropertyTypeId PropertyLinetype
Definition: RPointEntity.h:48
static RPropertyTypeId PropertyType
Definition: RPointEntity.h:45
virtual const RPointData & getData() const
Definition: RPointEntity.h:85
static RPropertyTypeId PropertyProtected
Definition: RPointEntity.h:43