Skip to content

RDimRadialEntity

Class in Entity Module
Header: #include <src/entity/RDimRadialEntity.h>
Inherits: RDimensionEntity

Aligned dimension entity class.

Scriptable: This class is available in script environments.

Shared Pointer Support: Objects can be used in QSharedPointer.

RDimRadialEntity(RDocument *document, const RDimRadialData &data)
virtual ~RDimRadialEntity()
virtual QSharedPointer< RObject > clone() const
QSharedPointer< RDimRadialEntity > cloneToDimRadialEntity() const
RVector getChordPoint() const
virtual RDimRadialData & getData()
virtual const RDimRadialData & getData() const
virtual QPair< QVariant, RPropertyAttributes > getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)
void setChordPoint(const RVector &p)
void setData(RDimRadialData &d)
virtual bool setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)
Sets the given property to the given value.
static RS::EntityType getRtti()
static QSet< RPropertyTypeId > getStaticPropertyTypeIds()
static void init()
static RPropertyTypeId PropertyArchTick
static RPropertyTypeId PropertyArrow1Flipped
static RPropertyTypeId PropertyArrow2Flipped
static RPropertyTypeId PropertyAutoTextPos
static RPropertyTypeId PropertyBlock
static RPropertyTypeId PropertyCenterPointX
static RPropertyTypeId PropertyCenterPointY
static RPropertyTypeId PropertyCenterPointZ
static RPropertyTypeId PropertyChordPointX
static RPropertyTypeId PropertyChordPointY
static RPropertyTypeId PropertyChordPointZ
static RPropertyTypeId PropertyColor
static RPropertyTypeId PropertyCustom
static RPropertyTypeId PropertyDimasz
static RPropertyTypeId PropertyDimBlockName
static RPropertyTypeId PropertyDimclrt
static RPropertyTypeId PropertyDimdec
static RPropertyTypeId PropertyDimdsep
static RPropertyTypeId PropertyDimexe
static RPropertyTypeId PropertyDimexo
static RPropertyTypeId PropertyDimgap
static RPropertyTypeId PropertyDimlfac
static RPropertyTypeId PropertyDimlunit
static RPropertyTypeId PropertyDimscale
static RPropertyTypeId PropertyDimtad
static RPropertyTypeId PropertyDimtih
static RPropertyTypeId PropertyDimtsz
static RPropertyTypeId PropertyDimtxt
static RPropertyTypeId PropertyDimzin
static RPropertyTypeId PropertyDisplayedColor
static RPropertyTypeId PropertyDrawOrder
static RPropertyTypeId PropertyExtLineFix
static RPropertyTypeId PropertyExtLineFixLength
static RPropertyTypeId PropertyFontName
static RPropertyTypeId PropertyHandle
static RPropertyTypeId PropertyLayer
static RPropertyTypeId PropertyLinetype
static RPropertyTypeId PropertyLinetypeScale
static RPropertyTypeId PropertyLineweight
static RPropertyTypeId PropertyLowerTolerance
static RPropertyTypeId PropertyMeasuredValue
static RPropertyTypeId PropertyMiddleOfTextX
static RPropertyTypeId PropertyMiddleOfTextY
static RPropertyTypeId PropertyMiddleOfTextZ
static RPropertyTypeId PropertyProtected
static RPropertyTypeId PropertyText
static RPropertyTypeId PropertyType
static RPropertyTypeId PropertyUpperTolerance
static RPropertyTypeId PropertyWorkingSet
virtual void print(QDebug dbg) const
Stream operator for QDebug.
RDimRadialData data

RDimRadialEntity::RDimRadialEntity(RDocument *document, const RDimRadialData &data)

virtual RDimRadialEntity::~RDimRadialEntity()

virtual

virtual QSharedPointer< RObject > RDimRadialEntity::clone() const

virtual inline const

Reimplemented from clone.

QSharedPointer< RDimRadialEntity > RDimRadialEntity::cloneToDimRadialEntity() const

inline const

RVector RDimRadialEntity::getChordPoint() const

inline const

virtual RDimRadialData & RDimRadialEntity::getData()

virtual inline

Returns: Reference to the data object of the entity.

Reimplemented from getData.

virtual const RDimRadialData & RDimRadialEntity::getData() const

virtual inline const

Returns: Const reference to the data object of the entity.

Reimplemented from getData.

virtual QPair< QVariant, RPropertyAttributes > RDimRadialEntity::getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)

virtual

Returns: The value and attributes of the given property or an invalid property if this property owner has no property with the given ID.

Reimplemented from getProperty.

void RDimRadialEntity::setChordPoint(const RVector &p)

inline

void RDimRadialEntity::setData(RDimRadialData &d)

inline

virtual bool RDimRadialEntity::setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)

virtual

Sets the given property to the given value.

If this property owner does not know a property with that ID, it is up to the property owner what happens. The property might be added into a list of dynamic properties or dropped.

Returns: True if the property owner was modified in any way, false otherwise.

Reimplemented from setProperty.

static RS::EntityType RDimRadialEntity::getRtti()

static inline

static QSet< RPropertyTypeId > RDimRadialEntity::getStaticPropertyTypeIds()

static inline

static void RDimRadialEntity::init()

static

static RPropertyTypeId RDimRadialEntity::PropertyArchTick

static

static RPropertyTypeId RDimRadialEntity::PropertyArrow1Flipped

static

static RPropertyTypeId RDimRadialEntity::PropertyArrow2Flipped

static

static RPropertyTypeId RDimRadialEntity::PropertyAutoTextPos

static

static RPropertyTypeId RDimRadialEntity::PropertyBlock

static

static RPropertyTypeId RDimRadialEntity::PropertyCenterPointX

static

static RPropertyTypeId RDimRadialEntity::PropertyCenterPointY

static

static RPropertyTypeId RDimRadialEntity::PropertyCenterPointZ

static

static RPropertyTypeId RDimRadialEntity::PropertyChordPointX

static

static RPropertyTypeId RDimRadialEntity::PropertyChordPointY

static

static RPropertyTypeId RDimRadialEntity::PropertyChordPointZ

static

static RPropertyTypeId RDimRadialEntity::PropertyColor

static

static RPropertyTypeId RDimRadialEntity::PropertyCustom

static

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

static RPropertyTypeId RDimRadialEntity::PropertyDimasz

static

static RPropertyTypeId RDimRadialEntity::PropertyDimBlockName

static

static RPropertyTypeId RDimRadialEntity::PropertyDimclrt

static

static RPropertyTypeId RDimRadialEntity::PropertyDimdec

static

static RPropertyTypeId RDimRadialEntity::PropertyDimdsep

static

static RPropertyTypeId RDimRadialEntity::PropertyDimexe

static

static RPropertyTypeId RDimRadialEntity::PropertyDimexo

static

static RPropertyTypeId RDimRadialEntity::PropertyDimgap

static

static RPropertyTypeId RDimRadialEntity::PropertyDimlfac

static

static RPropertyTypeId RDimRadialEntity::PropertyDimlunit

static

static RPropertyTypeId RDimRadialEntity::PropertyDimscale

static

static RPropertyTypeId RDimRadialEntity::PropertyDimtad

static

static RPropertyTypeId RDimRadialEntity::PropertyDimtih

static

static RPropertyTypeId RDimRadialEntity::PropertyDimtsz

static

static RPropertyTypeId RDimRadialEntity::PropertyDimtxt

static

static RPropertyTypeId RDimRadialEntity::PropertyDimzin

static

static RPropertyTypeId RDimRadialEntity::PropertyDisplayedColor

static

static RPropertyTypeId RDimRadialEntity::PropertyDrawOrder

static

static RPropertyTypeId RDimRadialEntity::PropertyExtLineFix

static

static RPropertyTypeId RDimRadialEntity::PropertyExtLineFixLength

static

static RPropertyTypeId RDimRadialEntity::PropertyFontName

static

static RPropertyTypeId RDimRadialEntity::PropertyHandle

static

static RPropertyTypeId RDimRadialEntity::PropertyLayer

static

static RPropertyTypeId RDimRadialEntity::PropertyLinetype

static

static RPropertyTypeId RDimRadialEntity::PropertyLinetypeScale

static

static RPropertyTypeId RDimRadialEntity::PropertyLineweight

static

static RPropertyTypeId RDimRadialEntity::PropertyLowerTolerance

static

static RPropertyTypeId RDimRadialEntity::PropertyMeasuredValue

static

static RPropertyTypeId RDimRadialEntity::PropertyMiddleOfTextX

static

static RPropertyTypeId RDimRadialEntity::PropertyMiddleOfTextY

static

static RPropertyTypeId RDimRadialEntity::PropertyMiddleOfTextZ

static

static RPropertyTypeId RDimRadialEntity::PropertyProtected

static

static RPropertyTypeId RDimRadialEntity::PropertyText

static

static RPropertyTypeId RDimRadialEntity::PropertyType

static

static RPropertyTypeId RDimRadialEntity::PropertyUpperTolerance

static

static RPropertyTypeId RDimRadialEntity::PropertyWorkingSet

static

virtual void RDimRadialEntity::print(QDebug dbg) const

virtual const protected

Stream operator for QDebug.

Reimplemented from print.

RDimRadialData RDimRadialEntity::data

protected