|
QCAD Application Framework
CAD Application Development and Automation.
|
A graphics document contains and owns entities, layers, user coordinate systems, variables, block definitions, etc. More...
#include <RDocument.h>
Public Member Functions | |
| bool | addBlockToSpatialIndex (RBlock::Id blockId, RObject::Id ignoreBlockId) |
| Add block references that point to blockId, unless they also point to ignoreBlockId. | |
| void | addToSpatialIndex (QSharedPointer< REntity > entity) |
| Adds the given entity to the spatial index by adding new entries at the position of the bouding box of the entity. | |
| bool | blockContainsReferences (RBlock::Id blockId, RBlock::Id referencedBlockId) |
| void | clear () |
| Resets this document to its initial, empty state. | |
| void | clearSelection (QSet< REntity::Id > *affectedEntities=NULL) |
| void | deselectEntities (const QSet< REntity::Id > &entityId, QSet< REntity::Id > *affectedEntities=NULL) |
| Deselects all entities with the given IDs. | |
| void | deselectEntity (REntity::Id entityId, QSet< REntity::Id > *affectedEntities=NULL) |
| Deselects the entity with the given ID. | |
| void | dump () |
| RS::AngleFormat | getAngleFormat () |
| int | getAnglePrecision () |
| RBlock::Id | getBlockId (const QString &blockName) |
| QString | getBlockName (RBlock::Id blockId) const |
| QSet< QString > | getBlockNames () |
| RBox | getBoundingBox (bool includeHiddenLayer=true) |
| | |
| RBlock::Id | getCurrentBlockId () |
| RColor | getCurrentColor () |
| RLayer::Id | getCurrentLayerId () |
| RLinetype | getCurrentLinetype () |
| RLineweight::Lineweight | getCurrentLineweight () |
| RView::Id | getCurrentViewId () |
| QString | getFileName () const |
| QString | getFileVersion () const |
| QVariant | getKnownVariable (RS::KnownVariable key, const QVariant &defaultValue=RDEFAULT_QVARIANT) |
| RLayer::Id | getLayerId (const QString &layerName) |
| QString | getLayerName (RLayer::Id layerId) |
| QSet< QString > | getLayerNames () |
| RS::LinearFormat | getLinearFormat () |
| int | getLinearPrecision () |
| RLinetype::Id | getLinetypeByLayerId () |
| RLinetype::Id | getLinetypeId (const QString &linetypeName) |
| QString | getLinetypeName (RLinetype::Id linetypeId) |
| QSet< QString > | getLinetypeNames () |
| double | getLinetypeScale () const |
| RLineweight::Lineweight | getMaxLineweight () const |
| RBlock::Id | getModelSpaceBlockId () const |
| RBox | getSelectionBox () |
| RSpatialIndex & | getSpatialIndex () |
| RStorage & | getStorage () |
| const RStorage & | getStorage () const |
| RTransactionStack & | getTransactionStack () |
| RS::Unit | getUnit () const |
| QVariant | getVariable (const QString &key, const QVariant &defaultValue=RDEFAULT_QVARIANT, bool useSettings=false) |
| QStringList | getVariables () const |
| QSet< QString > | getViewNames () |
| bool | hasBlock (const QString &blockName) |
| bool | hasLayer (const QString &layerName) |
| bool | hasLinetype (const QString &linetypeName) |
| bool | hasSelection () const |
| bool | hasView (const QString &viewName) |
| void | init () |
| bool | isBlockFrozen (RBlock::Id blockId) const |
| bool | isByBlock (RLinetype::Id linetypeId) |
| bool | isByLayer (RLinetype::Id linetypeId) |
| bool | isEntityEditable (REntity::Id entityId) const |
| bool | isEntityLayerFrozen (REntity::Id entityId) const |
| bool | isLayerFrozen (RLayer::Id layerId) const |
| bool | isLayerLocked (RLayer::Id layerId) const |
| bool | isModified () const |
| bool | isRedoAvailable () const |
| bool | isSelected (REntity::Id entityId) |
| bool | isUndoAvailable () const |
| QSet< REntity::Id > | queryAllBlockReferences () const |
| QSet< RBlock::Id > | queryAllBlocks () const |
| QSet< REntity::Id > | queryAllEntities (bool undone=false, bool allBlocks=false) const |
| Queries all entities of this document. | |
| QSet< RLayer::Id > | queryAllLayers () const |
| Queries all layers of this document. | |
| QSet< RLinetype::Id > | queryAllLinetypes () const |
| QSet< RObject::Id > | queryAllObjects () const |
| Queries all objects of this document. | |
| QSet< RUcs::Id > | queryAllUcs () const |
| Queries all UCSs of this document. | |
| QSet< RView::Id > | queryAllViews () const |
| QSharedPointer< RBlock > | queryBlock (RBlock::Id blockId) const |
| QSharedPointer< RBlock > | queryBlock (const QString &blockName) const |
| QSharedPointer< RBlock > | queryBlockDirect (RBlock::Id blockId) const |
| QSet< REntity::Id > | queryBlockEntities (RBlock::Id blockId) const |
| QSet< REntity::Id > | queryBlockReferences (RBlock::Id blockId) const |
| REntity::Id | queryClosestXY (const RVector &wcsPosition, double range, bool draft, bool includeLockedLayers=true) |
| Queries the one entity that is closest to the given position and within the given range (2d). | |
| REntity::Id | queryClosestXY (QSet< REntity::Id > &candidates, const RVector &wcsPosition, double range, bool draft) |
Queries the entity that is closest to the given position wcsPosition. | |
| QSet< REntity::Id > | queryContainedEntities (const RBox &box) |
| Queries all entities which are completely inside the given box. | |
| QSet< REntity::Id > | queryContainedEntitiesXY (const RBox &box) |
| QSharedPointer< RBlock > | queryCurrentBlock () |
| QSharedPointer< RLayer > | queryCurrentLayer () |
| QSharedPointer< RView > | queryCurrentView () |
| QSharedPointer< REntity > | queryEntity (REntity::Id entityId) const |
| Queries the entity with the given ID. | |
| QSharedPointer< REntity > | queryEntityDirect (REntity::Id entityId) const |
| Queries the entity with the given ID. | |
| QSet< REntity::Id > | queryIntersectedEntitiesXY (const RBox &box, bool checkBoundingBoxOnly=false, bool includeLockedLayers=true, RBlock::Id blockId=RBlock::INVALID_ID, const QList< RS::EntityType > &filter=RDEFAULT_QLIST_RS_ENTITYTYPE) |
| QMap< REntity::Id, QSet< int > > | queryIntersectedShapesXY (const RBox &box, bool checkBoundingBoxOnly=false, bool includeLockedLayers=true, RBlock::Id blockId=RBlock::INVALID_ID, const QList< RS::EntityType > &filter=RDEFAULT_QLIST_RS_ENTITYTYPE) |
| QSharedPointer< RLayer > | queryLayer (RLayer::Id layerId) const |
| Queries the layer with the given ID. | |
| QSharedPointer< RLayer > | queryLayer (const QString &layerName) const |
| Queries the layer with the given name. | |
| QSharedPointer< RLayer > | queryLayerDirect (RLayer::Id layerId) const |
| Queries the layer with the given ID direct (no cloning). | |
| QSet< REntity::Id > | queryLayerEntities (RLayer::Id layerId) const |
| QSharedPointer< RLinetype > | queryLinetype (RLinetype::Id linetypeId) const |
| QSharedPointer< RLinetype > | queryLinetype (const QString &linetypeName) const |
| QSharedPointer< RObject > | queryObject (RObject::Id objectId) const |
| Queries the object with the given ID. | |
| QSharedPointer< RObject > | queryObjectDirect (RObject::Id objectId) const |
| Queries the object with the given ID. | |
| QSet< REntity::Id > | querySelectedEntities () |
| Queries all selected entities. | |
| QSharedPointer< RUcs > | queryUcs (RUcs::Id ucsId) const |
| Queries the UCS with the given ID. | |
| QSharedPointer< RUcs > | queryUcs (const QString &ucsName) const |
| Queries the UCS with the given name. | |
| QSharedPointer< RView > | queryView (RView::Id viewId) const |
| QSharedPointer< RView > | queryView (const QString &viewName) const |
| RDocument (RStorage &storage, RSpatialIndex &spatialIndex) | |
| Creates a new document with the given storage as back-end. | |
| virtual void | rebuildSpatialIndex () |
| Rebuilds the entire spatial index from scratch (e.g. | |
| RTransaction | redo () |
| Redoes a previously undone transaction. | |
| void | removeBlockFromSpatialIndex (RBlock::Id blockId) |
| virtual void | removeFromSpatialIndex (QSharedPointer< REntity > entity) |
| void | resetTransactionStack () |
| void | selectAllEntites (QSet< REntity::Id > *affectedEntities=NULL) |
| Selects all not selected entities. | |
| void | selectEntities (const QSet< REntity::Id > &entityId, bool add=false, QSet< REntity::Id > *affectedEntities=NULL) |
| Selects all entities with the given IDs. | |
| void | selectEntity (REntity::Id entityId, bool add=false, QSet< REntity::Id > *affectedEntities=NULL) |
| Selects the entity with the given ID. | |
| void | setCurrentBlock (RBlock::Id blockId) |
| void | setCurrentBlock (const QString &blockName) |
| void | setCurrentColor (const RColor &color) |
| void | setCurrentLayer (RLayer::Id layerId) |
| void | setCurrentLayer (const QString &layerName) |
| void | setCurrentLinetype (RLinetype lt) |
| void | setCurrentLineweight (RLineweight::Lineweight lw) |
| void | setCurrentView (RView::Id viewId) |
| void | setCurrentView (const QString &viewName) |
| void | setFileName (const QString &fn) |
| void | setFileVersion (const QString &fv) |
| void | setKnownVariable (RS::KnownVariable key, const QVariant &value) |
| void | setKnownVariable (RS::KnownVariable key, const RVector &value) |
| void | setLinetypeScale (double v) |
| void | setModified (bool m) |
| void | setUnit (RS::Unit unit) |
| void | setVariable (const QString &key, const QVariant &value) |
| bool | showLeadingZeroes () |
| bool | showLeadingZeroesAngle () |
| bool | showTrailingZeroes () |
| bool | showTrailingZeroesAngle () |
| RTransaction | undo () |
| Undoes the last transaction. | |
| void | updateAllEntities () |
| virtual | ~RDocument () |
Public Member Functions inherited from RRequireHeap | |
| void | doDelete () |
Static Public Member Functions | |
| static RDocument & | getClipboard () |
Static Protected Attributes | |
| static RDocument * | clipboard = NULL |
Private Attributes | |
| QString | fileName |
| QString | fileVersion |
| RLinetype::Id | linetypeByBlockId |
| RLinetype::Id | linetypeByLayerId |
| RBlock::Id | modelSpaceBlockId |
| RSpatialIndex & | spatialIndex |
| RStorage & | storage |
| RTransactionStack | transactionStack |
Friends | |
| QDebug | operator<< (QDebug dbg, RDocument &d) |
| Stream operator for QDebug. | |
Additional Inherited Members | |
Protected Member Functions inherited from RRequireHeap | |
| virtual | ~RRequireHeap () |
A graphics document contains and owns entities, layers, user coordinate systems, variables, block definitions, etc.
Every document maintains a spatial index for fast entity lookups. Documents also handle transactions through a RTransactionStack. A document is backed by an RStorage implementation to store the document for the duration of the document's lifetime.
| RDocument::RDocument | ( | RStorage & | storage, |
| RSpatialIndex & | spatialIndex | ||
| ) |
Creates a new document with the given storage as back-end.
The document takes ownership of the storage and spatial index. A new document contains one layer ("0") and a number of default line types. The default unit is Millimeter.
|
virtual |
| bool RDocument::addBlockToSpatialIndex | ( | RBlock::Id | blockId, |
| RObject::Id | ignoreBlockId | ||
| ) |
Add block references that point to blockId, unless they also point to ignoreBlockId.
| void RDocument::addToSpatialIndex | ( | QSharedPointer< REntity > | entity | ) |
Adds the given entity to the spatial index by adding new entries at the position of the bouding box of the entity.
| bool RDocument::blockContainsReferences | ( | RBlock::Id | blockId, |
| RBlock::Id | referencedBlockId | ||
| ) |
| void RDocument::clear | ( | ) |
Resets this document to its initial, empty state.
| void RDocument::clearSelection | ( | QSet< REntity::Id > * | affectedEntities = NULL | ) |
Deselectes all selected entities.
| void RDocument::deselectEntities | ( | const QSet< REntity::Id > & | entityIds, |
| QSet< REntity::Id > * | affectedEntities = NULL |
||
| ) |
Deselects all entities with the given IDs.
| affected | Optional pointer to an empty set of entity IDs. After the call, this set will contain all entity IDs of entities that were affected by the call. |
| void RDocument::deselectEntity | ( | REntity::Id | entityId, |
| QSet< REntity::Id > * | affectedEntities = NULL |
||
| ) |
Deselects the entity with the given ID.
| affected | Optional pointer to an empty set of entity IDs. After the call, this set will contain all entity IDs of entities that were affected by the call. |
| void RDocument::dump | ( | ) |
| RS::AngleFormat RDocument::getAngleFormat | ( | ) |
| int RDocument::getAnglePrecision | ( | ) |
| RBlock::Id RDocument::getBlockId | ( | const QString & | blockName | ) |
| QString RDocument::getBlockName | ( | RBlock::Id | blockId | ) | const |
| QSet< QString > RDocument::getBlockNames | ( | ) |
| RBox RDocument::getBoundingBox | ( | bool | includeHiddenLayer = true | ) |
|
static |
| RBlock::Id RDocument::getCurrentBlockId | ( | ) |
| RColor RDocument::getCurrentColor | ( | ) |
| RLayer::Id RDocument::getCurrentLayerId | ( | ) |
| RLinetype RDocument::getCurrentLinetype | ( | ) |
| RLineweight::Lineweight RDocument::getCurrentLineweight | ( | ) |
| RView::Id RDocument::getCurrentViewId | ( | ) |
| QString RDocument::getFileName | ( | ) | const |
| QString RDocument::getFileVersion | ( | ) | const |
| QVariant RDocument::getKnownVariable | ( | RS::KnownVariable | key, |
| const QVariant & | defaultValue = RDEFAULT_QVARIANT |
||
| ) |
| RLayer::Id RDocument::getLayerId | ( | const QString & | layerName | ) |
| QString RDocument::getLayerName | ( | RLayer::Id | layerId | ) |
| QSet< QString > RDocument::getLayerNames | ( | ) |
| RS::LinearFormat RDocument::getLinearFormat | ( | ) |
| int RDocument::getLinearPrecision | ( | ) |
|
inline |
| RLinetype::Id RDocument::getLinetypeId | ( | const QString & | linetypeName | ) |
| QString RDocument::getLinetypeName | ( | RLinetype::Id | linetypeId | ) |
| QSet< QString > RDocument::getLinetypeNames | ( | ) |
| double RDocument::getLinetypeScale | ( | ) | const |
| RLineweight::Lineweight RDocument::getMaxLineweight | ( | ) | const |
| RBlock::Id RDocument::getModelSpaceBlockId | ( | ) | const |
| RBox RDocument::getSelectionBox | ( | ) |
| RSpatialIndex & RDocument::getSpatialIndex | ( | ) |
| RStorage & RDocument::getStorage | ( | ) |
| const RStorage & RDocument::getStorage | ( | ) | const |
| RTransactionStack & RDocument::getTransactionStack | ( | ) |
| RS::Unit RDocument::getUnit | ( | ) | const |
| QVariant RDocument::getVariable | ( | const QString & | key, |
| const QVariant & | defaultValue = RDEFAULT_QVARIANT, |
||
| bool | useSettings = false |
||
| ) |
| QStringList RDocument::getVariables | ( | ) | const |
| QSet< QString > RDocument::getViewNames | ( | ) |
| bool RDocument::hasBlock | ( | const QString & | blockName | ) |
| bool RDocument::hasLayer | ( | const QString & | layerName | ) |
| bool RDocument::hasLinetype | ( | const QString & | linetypeName | ) |
| bool RDocument::hasSelection | ( | ) | const |
| bool RDocument::hasView | ( | const QString & | viewName | ) |
| void RDocument::init | ( | ) |
| bool RDocument::isBlockFrozen | ( | RBlock::Id | blockId | ) | const |
| bool RDocument::isByBlock | ( | RLinetype::Id | linetypeId | ) |
| bool RDocument::isByLayer | ( | RLinetype::Id | linetypeId | ) |
| bool RDocument::isEntityEditable | ( | REntity::Id | entityId | ) | const |
| bool RDocument::isEntityLayerFrozen | ( | REntity::Id | entityId | ) | const |
| bool RDocument::isLayerFrozen | ( | RLayer::Id | layerId | ) | const |
| bool RDocument::isLayerLocked | ( | RLayer::Id | layerId | ) | const |
| bool RDocument::isModified | ( | ) | const |
| bool RDocument::isRedoAvailable | ( | ) | const |
| bool RDocument::isSelected | ( | REntity::Id | entityId | ) |
| bool RDocument::isUndoAvailable | ( | ) | const |
| QSet< REntity::Id > RDocument::queryAllBlockReferences | ( | ) | const |
| QSet< RBlock::Id > RDocument::queryAllBlocks | ( | ) | const |
| QSet< REntity::Id > RDocument::queryAllEntities | ( | bool | undone = false, |
| bool | allBlocks = false |
||
| ) | const |
Queries all entities of this document.
This operation can be slow, depending on the total number of entities and the storage type that is used for this document.
| QSet< RLayer::Id > RDocument::queryAllLayers | ( | ) | const |
Queries all layers of this document.
| QSet< RLinetype::Id > RDocument::queryAllLinetypes | ( | ) | const |
| QSet< RObject::Id > RDocument::queryAllObjects | ( | ) | const |
Queries all objects of this document.
| QSet< RUcs::Id > RDocument::queryAllUcs | ( | ) | const |
Queries all UCSs of this document.
| QSet< RView::Id > RDocument::queryAllViews | ( | ) | const |
| QSharedPointer< RBlock > RDocument::queryBlock | ( | RBlock::Id | blockId | ) | const |
| QSharedPointer< RBlock > RDocument::queryBlock | ( | const QString & | blockName | ) | const |
| QSharedPointer< RBlock > RDocument::queryBlockDirect | ( | RBlock::Id | blockId | ) | const |
| QSet< REntity::Id > RDocument::queryBlockEntities | ( | RBlock::Id | blockId | ) | const |
| QSet< REntity::Id > RDocument::queryBlockReferences | ( | RBlock::Id | blockId | ) | const |
| REntity::Id RDocument::queryClosestXY | ( | const RVector & | wcsPosition, |
| double | range, | ||
| bool | draft, | ||
| bool | includeLockedLayers = true |
||
| ) |
Queries the one entity that is closest to the given position and within the given range (2d).
| wcsPosition | The position to which the entity has to be close (2d). |
| range | The range in which to search. |
| REntity::Id RDocument::queryClosestXY | ( | QSet< REntity::Id > & | candidates, |
| const RVector & | wcsPosition, | ||
| double | range, | ||
| bool | draft | ||
| ) |
Queries the entity that is closest to the given position wcsPosition.
Only entities in the given set of candidates are considered. candidates is usually the result of an approximate spatial index query.
| candidates | Sets of candidates to consider. |
| wcsPosition | |
| range | Maximum distance between position and entity. |
| QSet< REntity::Id > RDocument::queryContainedEntities | ( | const RBox & | box | ) |
Queries all entities which are completely inside the given box.
| box | Query box. |
| result | Set of IDs of entities that are completely inside the given area. |
| QSet< REntity::Id > RDocument::queryContainedEntitiesXY | ( | const RBox & | box | ) |
| QSharedPointer< RBlock > RDocument::queryCurrentBlock | ( | ) |
| QSharedPointer< RLayer > RDocument::queryCurrentLayer | ( | ) |
| QSharedPointer< RView > RDocument::queryCurrentView | ( | ) |
| QSharedPointer< REntity > RDocument::queryEntity | ( | REntity::Id | entityId | ) | const |
Queries the entity with the given ID.
| QSharedPointer< REntity > RDocument::queryEntityDirect | ( | REntity::Id | entityId | ) | const |
Queries the entity with the given ID.
If the storage has the entity instantiated, the instance is returned (rather than a clone).
| QSet< REntity::Id > RDocument::queryIntersectedEntitiesXY | ( | const RBox & | box, |
| bool | checkBoundingBoxOnly = false, |
||
| bool | includeLockedLayers = true, |
||
| RBlock::Id | blockId = RBlock::INVALID_ID, |
||
| const QList< RS::EntityType > & | filter = RDEFAULT_QLIST_RS_ENTITYTYPE |
||
| ) |
| QMap< REntity::Id, QSet< int > > RDocument::queryIntersectedShapesXY | ( | const RBox & | box, |
| bool | checkBoundingBoxOnly = false, |
||
| bool | includeLockedLayers = true, |
||
| RBlock::Id | blockId = RBlock::INVALID_ID, |
||
| const QList< RS::EntityType > & | filter = RDEFAULT_QLIST_RS_ENTITYTYPE |
||
| ) |
| QSharedPointer< RLayer > RDocument::queryLayer | ( | RLayer::Id | layerId | ) | const |
Queries the layer with the given ID.
| QSharedPointer< RLayer > RDocument::queryLayer | ( | const QString & | layerName | ) | const |
Queries the layer with the given name.
| QSharedPointer< RLayer > RDocument::queryLayerDirect | ( | RLayer::Id | layerId | ) | const |
Queries the layer with the given ID direct (no cloning).
| QSet< REntity::Id > RDocument::queryLayerEntities | ( | RLayer::Id | layerId | ) | const |
| QSharedPointer< RLinetype > RDocument::queryLinetype | ( | RLinetype::Id | linetypeId | ) | const |
| QSharedPointer< RLinetype > RDocument::queryLinetype | ( | const QString & | linetypeName | ) | const |
| QSharedPointer< RObject > RDocument::queryObject | ( | RObject::Id | objectId | ) | const |
Queries the object with the given ID.
| QSharedPointer< RObject > RDocument::queryObjectDirect | ( | RObject::Id | objectId | ) | const |
Queries the object with the given ID.
If the storage has the object instantiated, the instance is returned (rather than a clone).
| QSet< REntity::Id > RDocument::querySelectedEntities | ( | ) |
Queries all selected entities.
Queries the UCS with the given ID.
| QSharedPointer< RUcs > RDocument::queryUcs | ( | const QString & | ucsName | ) | const |
Queries the UCS with the given name.
| QSharedPointer< RView > RDocument::queryView | ( | const QString & | viewName | ) | const |
|
virtual |
Rebuilds the entire spatial index from scratch (e.g.
when current block is changed).
| RTransaction RDocument::redo | ( | ) |
Redoes a previously undone transaction.
| void RDocument::removeBlockFromSpatialIndex | ( | RBlock::Id | blockId | ) |
|
virtual |
| void RDocument::resetTransactionStack | ( | ) |
| void RDocument::selectAllEntites | ( | QSet< REntity::Id > * | affectedEntities = NULL | ) |
Selects all not selected entities.
| void RDocument::selectEntities | ( | const QSet< REntity::Id > & | entityIds, |
| bool | add = false, |
||
| QSet< REntity::Id > * | affectedEntities = NULL |
||
| ) |
Selects all entities with the given IDs.
| add | True to add the entities to the current selection. False to replace the current selection with the new entities. |
| affected | Optional pointer to an empty set of entity IDs. After the call, this set will contain all entity IDs of entities that were affected by the call. |
| void RDocument::selectEntity | ( | REntity::Id | entityId, |
| bool | add = false, |
||
| QSet< REntity::Id > * | affectedEntities = NULL |
||
| ) |
Selects the entity with the given ID.
| add | True to add the entity to the current selection. False to replace the current selection with the given entity. |
| affected | Optional pointer to an empty set of entity IDs. After the call, this set will contain all entity IDs of entities that were affected by the call. |
| void RDocument::setCurrentBlock | ( | RBlock::Id | blockId | ) |
| void RDocument::setCurrentBlock | ( | const QString & | blockName | ) |
| void RDocument::setCurrentColor | ( | const RColor & | color | ) |
| void RDocument::setCurrentLayer | ( | RLayer::Id | layerId | ) |
| void RDocument::setCurrentLayer | ( | const QString & | layerName | ) |
| void RDocument::setCurrentLinetype | ( | RLinetype | lt | ) |
| void RDocument::setCurrentLineweight | ( | RLineweight::Lineweight | lw | ) |
| void RDocument::setCurrentView | ( | RView::Id | viewId | ) |
| void RDocument::setCurrentView | ( | const QString & | viewName | ) |
| void RDocument::setFileName | ( | const QString & | fn | ) |
| void RDocument::setFileVersion | ( | const QString & | fv | ) |
| void RDocument::setKnownVariable | ( | RS::KnownVariable | key, |
| const QVariant & | value | ||
| ) |
| void RDocument::setKnownVariable | ( | RS::KnownVariable | key, |
| const RVector & | value | ||
| ) |
| void RDocument::setLinetypeScale | ( | double | v | ) |
| void RDocument::setModified | ( | bool | m | ) |
| void RDocument::setUnit | ( | RS::Unit | unit | ) |
| void RDocument::setVariable | ( | const QString & | key, |
| const QVariant & | value | ||
| ) |
| bool RDocument::showLeadingZeroes | ( | ) |
| bool RDocument::showLeadingZeroesAngle | ( | ) |
| bool RDocument::showTrailingZeroes | ( | ) |
| bool RDocument::showTrailingZeroesAngle | ( | ) |
| RTransaction RDocument::undo | ( | ) |
Undoes the last transaction.
| void RDocument::updateAllEntities | ( | ) |
|
friend |
Stream operator for QDebug.
\par Non-Scriptable:
This function is not available in script environments.
|
staticprotected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |