RDimRadialEntity
Class in Entity Module
Header: #include <src/entity/RDimRadialEntity.h>
Inherits: RDimensionEntity
Description
Section titled “Description”Aligned dimension entity class.
Scriptable: This class is available in script environments.
Shared Pointer Support: Objects can be used in QSharedPointer.
Public Functions
Section titled “Public Functions”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 Public Functions
Section titled “Static Public Functions”| static RS::EntityType | getRtti() |
| static QSet< RPropertyTypeId > | getStaticPropertyTypeIds() |
| static void | init() |
Static Public Attributes
Section titled “Static Public Attributes”Protected Functions
Section titled “Protected Functions”| virtual void | print(QDebug dbg) constStream operator for QDebug. |
Protected Attributes
Section titled “Protected Attributes”| RDimRadialData | data |
Member Documentation
Section titled “Member Documentation”RDimRadialEntity
Section titled “RDimRadialEntity”RDimRadialEntity::RDimRadialEntity(RDocument *document, const RDimRadialData &data)~RDimRadialEntity
Section titled “~RDimRadialEntity”virtual RDimRadialEntity::~RDimRadialEntity()virtual
virtual QSharedPointer< RObject > RDimRadialEntity::clone() constvirtual inline const
Reimplemented from clone.
cloneToDimRadialEntity
Section titled “cloneToDimRadialEntity”QSharedPointer< RDimRadialEntity > RDimRadialEntity::cloneToDimRadialEntity() constinline const
getChordPoint
Section titled “getChordPoint”RVector RDimRadialEntity::getChordPoint() constinline const
getData
Section titled “getData”virtual RDimRadialData & RDimRadialEntity::getData()virtual inline
Returns: Reference to the data object of the entity.
Reimplemented from getData.
getData
Section titled “getData”virtual const RDimRadialData & RDimRadialEntity::getData() constvirtual inline const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
getProperty
Section titled “getProperty”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.
setChordPoint
Section titled “setChordPoint”void RDimRadialEntity::setChordPoint(const RVector &p)inline
setData
Section titled “setData”void RDimRadialEntity::setData(RDimRadialData &d)inline
setProperty
Section titled “setProperty”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.
getRtti
Section titled “getRtti”static RS::EntityType RDimRadialEntity::getRtti()static inline
getStaticPropertyTypeIds
Section titled “getStaticPropertyTypeIds”static QSet< RPropertyTypeId > RDimRadialEntity::getStaticPropertyTypeIds()static inline
static void RDimRadialEntity::init()static
PropertyArchTick
Section titled “PropertyArchTick”static RPropertyTypeId RDimRadialEntity::PropertyArchTickstatic
PropertyArrow1Flipped
Section titled “PropertyArrow1Flipped”static RPropertyTypeId RDimRadialEntity::PropertyArrow1Flippedstatic
PropertyArrow2Flipped
Section titled “PropertyArrow2Flipped”static RPropertyTypeId RDimRadialEntity::PropertyArrow2Flippedstatic
PropertyAutoTextPos
Section titled “PropertyAutoTextPos”static RPropertyTypeId RDimRadialEntity::PropertyAutoTextPosstatic
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RDimRadialEntity::PropertyBlockstatic
PropertyCenterPointX
Section titled “PropertyCenterPointX”static RPropertyTypeId RDimRadialEntity::PropertyCenterPointXstatic
PropertyCenterPointY
Section titled “PropertyCenterPointY”static RPropertyTypeId RDimRadialEntity::PropertyCenterPointYstatic
PropertyCenterPointZ
Section titled “PropertyCenterPointZ”static RPropertyTypeId RDimRadialEntity::PropertyCenterPointZstatic
PropertyChordPointX
Section titled “PropertyChordPointX”static RPropertyTypeId RDimRadialEntity::PropertyChordPointXstatic
PropertyChordPointY
Section titled “PropertyChordPointY”static RPropertyTypeId RDimRadialEntity::PropertyChordPointYstatic
PropertyChordPointZ
Section titled “PropertyChordPointZ”static RPropertyTypeId RDimRadialEntity::PropertyChordPointZstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RDimRadialEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RDimRadialEntity::PropertyCustomstatic
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.
PropertyDimasz
Section titled “PropertyDimasz”static RPropertyTypeId RDimRadialEntity::PropertyDimaszstatic
PropertyDimBlockName
Section titled “PropertyDimBlockName”static RPropertyTypeId RDimRadialEntity::PropertyDimBlockNamestatic
PropertyDimclrt
Section titled “PropertyDimclrt”static RPropertyTypeId RDimRadialEntity::PropertyDimclrtstatic
PropertyDimdec
Section titled “PropertyDimdec”static RPropertyTypeId RDimRadialEntity::PropertyDimdecstatic
PropertyDimdsep
Section titled “PropertyDimdsep”static RPropertyTypeId RDimRadialEntity::PropertyDimdsepstatic
PropertyDimexe
Section titled “PropertyDimexe”static RPropertyTypeId RDimRadialEntity::PropertyDimexestatic
PropertyDimexo
Section titled “PropertyDimexo”static RPropertyTypeId RDimRadialEntity::PropertyDimexostatic
PropertyDimgap
Section titled “PropertyDimgap”static RPropertyTypeId RDimRadialEntity::PropertyDimgapstatic
PropertyDimlfac
Section titled “PropertyDimlfac”static RPropertyTypeId RDimRadialEntity::PropertyDimlfacstatic
PropertyDimlunit
Section titled “PropertyDimlunit”static RPropertyTypeId RDimRadialEntity::PropertyDimlunitstatic
PropertyDimscale
Section titled “PropertyDimscale”static RPropertyTypeId RDimRadialEntity::PropertyDimscalestatic
PropertyDimtad
Section titled “PropertyDimtad”static RPropertyTypeId RDimRadialEntity::PropertyDimtadstatic
PropertyDimtih
Section titled “PropertyDimtih”static RPropertyTypeId RDimRadialEntity::PropertyDimtihstatic
PropertyDimtsz
Section titled “PropertyDimtsz”static RPropertyTypeId RDimRadialEntity::PropertyDimtszstatic
PropertyDimtxt
Section titled “PropertyDimtxt”static RPropertyTypeId RDimRadialEntity::PropertyDimtxtstatic
PropertyDimzin
Section titled “PropertyDimzin”static RPropertyTypeId RDimRadialEntity::PropertyDimzinstatic
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RDimRadialEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RDimRadialEntity::PropertyDrawOrderstatic
PropertyExtLineFix
Section titled “PropertyExtLineFix”static RPropertyTypeId RDimRadialEntity::PropertyExtLineFixstatic
PropertyExtLineFixLength
Section titled “PropertyExtLineFixLength”static RPropertyTypeId RDimRadialEntity::PropertyExtLineFixLengthstatic
PropertyFontName
Section titled “PropertyFontName”static RPropertyTypeId RDimRadialEntity::PropertyFontNamestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RDimRadialEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RDimRadialEntity::PropertyLayerstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RDimRadialEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RDimRadialEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RDimRadialEntity::PropertyLineweightstatic
PropertyLowerTolerance
Section titled “PropertyLowerTolerance”static RPropertyTypeId RDimRadialEntity::PropertyLowerTolerancestatic
PropertyMeasuredValue
Section titled “PropertyMeasuredValue”static RPropertyTypeId RDimRadialEntity::PropertyMeasuredValuestatic
PropertyMiddleOfTextX
Section titled “PropertyMiddleOfTextX”static RPropertyTypeId RDimRadialEntity::PropertyMiddleOfTextXstatic
PropertyMiddleOfTextY
Section titled “PropertyMiddleOfTextY”static RPropertyTypeId RDimRadialEntity::PropertyMiddleOfTextYstatic
PropertyMiddleOfTextZ
Section titled “PropertyMiddleOfTextZ”static RPropertyTypeId RDimRadialEntity::PropertyMiddleOfTextZstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RDimRadialEntity::PropertyProtectedstatic
PropertyText
Section titled “PropertyText”static RPropertyTypeId RDimRadialEntity::PropertyTextstatic
PropertyType
Section titled “PropertyType”static RPropertyTypeId RDimRadialEntity::PropertyTypestatic
PropertyUpperTolerance
Section titled “PropertyUpperTolerance”static RPropertyTypeId RDimRadialEntity::PropertyUpperTolerancestatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RDimRadialEntity::PropertyWorkingSetstatic
virtual void RDimRadialEntity::print(QDebug dbg) constvirtual const protected
Stream operator for QDebug.
Reimplemented from print.
RDimRadialData RDimRadialEntity::dataprotected