RDimLinearEntity
Class in Entity Module
Header: #include <src/entity/RDimLinearEntity.h>
Inherits: RDimensionEntity
Inherited by: RDimAlignedEntity, RDimRotatedEntity
Description
Section titled “Description”Linear dimension entity base class.
Scriptable: This class is available in script environments.
Shared Pointer Support: Objects can be used in QSharedPointer.
Public Functions
Section titled “Public Functions”RDimLinearEntity(RDocument *document) |
|
| virtual | ~RDimLinearEntity() |
| virtual const RDimLinearData & | getData() const =0 = 0 |
| virtual RDimLinearData & | getData()=0 = 0 |
| RVector | getExtensionPoint1() const |
| RVector | getExtensionPoint2() const |
| virtual QPair< QVariant, RPropertyAttributes > | getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false) |
| void | setExtensionPoint1(const RVector &p) |
| void | setExtensionPoint2(const RVector &p) |
| 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 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. |
Member Documentation
Section titled “Member Documentation”RDimLinearEntity
Section titled “RDimLinearEntity”RDimLinearEntity::RDimLinearEntity(RDocument *document)~RDimLinearEntity
Section titled “~RDimLinearEntity”virtual RDimLinearEntity::~RDimLinearEntity()virtual
getData
Section titled “getData”virtual const RDimLinearData & RDimLinearEntity::getData() const =0 = 0pure virtual const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
Reimplemented in getData, getData.
getData
Section titled “getData”virtual RDimLinearData & RDimLinearEntity::getData()=0 = 0pure virtual
Returns: Reference to the data object of the entity.
Reimplemented from getData.
Reimplemented in getData, getData.
getExtensionPoint1
Section titled “getExtensionPoint1”RVector RDimLinearEntity::getExtensionPoint1() constinline const
getExtensionPoint2
Section titled “getExtensionPoint2”RVector RDimLinearEntity::getExtensionPoint2() constinline const
getProperty
Section titled “getProperty”virtual QPair< QVariant, RPropertyAttributes > RDimLinearEntity::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.
Reimplemented in getProperty, getProperty.
setExtensionPoint1
Section titled “setExtensionPoint1”void RDimLinearEntity::setExtensionPoint1(const RVector &p)inline
setExtensionPoint2
Section titled “setExtensionPoint2”void RDimLinearEntity::setExtensionPoint2(const RVector &p)inline
setProperty
Section titled “setProperty”virtual bool RDimLinearEntity::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.
Reimplemented in setProperty, setProperty.
static void RDimLinearEntity::init()static
PropertyArchTick
Section titled “PropertyArchTick”static RPropertyTypeId RDimLinearEntity::PropertyArchTickstatic
PropertyArrow1Flipped
Section titled “PropertyArrow1Flipped”static RPropertyTypeId RDimLinearEntity::PropertyArrow1Flippedstatic
PropertyArrow2Flipped
Section titled “PropertyArrow2Flipped”static RPropertyTypeId RDimLinearEntity::PropertyArrow2Flippedstatic
PropertyAutoTextPos
Section titled “PropertyAutoTextPos”static RPropertyTypeId RDimLinearEntity::PropertyAutoTextPosstatic
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RDimLinearEntity::PropertyBlockstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RDimLinearEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RDimLinearEntity::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.
PropertyDimadec
Section titled “PropertyDimadec”static RPropertyTypeId RDimLinearEntity::PropertyDimadecstatic
PropertyDimasz
Section titled “PropertyDimasz”static RPropertyTypeId RDimLinearEntity::PropertyDimaszstatic
PropertyDimaunit
Section titled “PropertyDimaunit”static RPropertyTypeId RDimLinearEntity::PropertyDimaunitstatic
PropertyDimazin
Section titled “PropertyDimazin”static RPropertyTypeId RDimLinearEntity::PropertyDimazinstatic
PropertyDimBlockName
Section titled “PropertyDimBlockName”static RPropertyTypeId RDimLinearEntity::PropertyDimBlockNamestatic
PropertyDimclrt
Section titled “PropertyDimclrt”static RPropertyTypeId RDimLinearEntity::PropertyDimclrtstatic
PropertyDimdec
Section titled “PropertyDimdec”static RPropertyTypeId RDimLinearEntity::PropertyDimdecstatic
PropertyDimdsep
Section titled “PropertyDimdsep”static RPropertyTypeId RDimLinearEntity::PropertyDimdsepstatic
PropertyDimensionLinePosX
Section titled “PropertyDimensionLinePosX”static RPropertyTypeId RDimLinearEntity::PropertyDimensionLinePosXstatic
PropertyDimensionLinePosY
Section titled “PropertyDimensionLinePosY”static RPropertyTypeId RDimLinearEntity::PropertyDimensionLinePosYstatic
PropertyDimensionLinePosZ
Section titled “PropertyDimensionLinePosZ”static RPropertyTypeId RDimLinearEntity::PropertyDimensionLinePosZstatic
PropertyDimexe
Section titled “PropertyDimexe”static RPropertyTypeId RDimLinearEntity::PropertyDimexestatic
PropertyDimexo
Section titled “PropertyDimexo”static RPropertyTypeId RDimLinearEntity::PropertyDimexostatic
PropertyDimgap
Section titled “PropertyDimgap”static RPropertyTypeId RDimLinearEntity::PropertyDimgapstatic
PropertyDimlfac
Section titled “PropertyDimlfac”static RPropertyTypeId RDimLinearEntity::PropertyDimlfacstatic
PropertyDimlunit
Section titled “PropertyDimlunit”static RPropertyTypeId RDimLinearEntity::PropertyDimlunitstatic
PropertyDimscale
Section titled “PropertyDimscale”static RPropertyTypeId RDimLinearEntity::PropertyDimscalestatic
PropertyDimtad
Section titled “PropertyDimtad”static RPropertyTypeId RDimLinearEntity::PropertyDimtadstatic
PropertyDimtih
Section titled “PropertyDimtih”static RPropertyTypeId RDimLinearEntity::PropertyDimtihstatic
PropertyDimtsz
Section titled “PropertyDimtsz”static RPropertyTypeId RDimLinearEntity::PropertyDimtszstatic
PropertyDimtxt
Section titled “PropertyDimtxt”static RPropertyTypeId RDimLinearEntity::PropertyDimtxtstatic
PropertyDimzin
Section titled “PropertyDimzin”static RPropertyTypeId RDimLinearEntity::PropertyDimzinstatic
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RDimLinearEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RDimLinearEntity::PropertyDrawOrderstatic
PropertyExtensionPoint1X
Section titled “PropertyExtensionPoint1X”static RPropertyTypeId RDimLinearEntity::PropertyExtensionPoint1Xstatic
PropertyExtensionPoint1Y
Section titled “PropertyExtensionPoint1Y”static RPropertyTypeId RDimLinearEntity::PropertyExtensionPoint1Ystatic
PropertyExtensionPoint1Z
Section titled “PropertyExtensionPoint1Z”static RPropertyTypeId RDimLinearEntity::PropertyExtensionPoint1Zstatic
PropertyExtensionPoint2X
Section titled “PropertyExtensionPoint2X”static RPropertyTypeId RDimLinearEntity::PropertyExtensionPoint2Xstatic
PropertyExtensionPoint2Y
Section titled “PropertyExtensionPoint2Y”static RPropertyTypeId RDimLinearEntity::PropertyExtensionPoint2Ystatic
PropertyExtensionPoint2Z
Section titled “PropertyExtensionPoint2Z”static RPropertyTypeId RDimLinearEntity::PropertyExtensionPoint2Zstatic
PropertyExtLineFix
Section titled “PropertyExtLineFix”static RPropertyTypeId RDimLinearEntity::PropertyExtLineFixstatic
PropertyExtLineFixLength
Section titled “PropertyExtLineFixLength”static RPropertyTypeId RDimLinearEntity::PropertyExtLineFixLengthstatic
PropertyFontName
Section titled “PropertyFontName”static RPropertyTypeId RDimLinearEntity::PropertyFontNamestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RDimLinearEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RDimLinearEntity::PropertyLayerstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RDimLinearEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RDimLinearEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RDimLinearEntity::PropertyLineweightstatic
PropertyLowerTolerance
Section titled “PropertyLowerTolerance”static RPropertyTypeId RDimLinearEntity::PropertyLowerTolerancestatic
PropertyMeasuredValue
Section titled “PropertyMeasuredValue”static RPropertyTypeId RDimLinearEntity::PropertyMeasuredValuestatic
PropertyMiddleOfTextX
Section titled “PropertyMiddleOfTextX”static RPropertyTypeId RDimLinearEntity::PropertyMiddleOfTextXstatic
PropertyMiddleOfTextY
Section titled “PropertyMiddleOfTextY”static RPropertyTypeId RDimLinearEntity::PropertyMiddleOfTextYstatic
PropertyMiddleOfTextZ
Section titled “PropertyMiddleOfTextZ”static RPropertyTypeId RDimLinearEntity::PropertyMiddleOfTextZstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RDimLinearEntity::PropertyProtectedstatic
PropertyText
Section titled “PropertyText”static RPropertyTypeId RDimLinearEntity::PropertyTextstatic
PropertyType
Section titled “PropertyType”static RPropertyTypeId RDimLinearEntity::PropertyTypestatic
PropertyUpperTolerance
Section titled “PropertyUpperTolerance”static RPropertyTypeId RDimLinearEntity::PropertyUpperTolerancestatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RDimLinearEntity::PropertyWorkingSetstatic
virtual void RDimLinearEntity::print(QDebug dbg) constvirtual const protected
Stream operator for QDebug.
Reimplemented from print.