The VToolRecord class record about tool in history. More...
#include <vtoolrecord.h>
Public Member Functions | |
| VToolRecord () | |
| VToolRecord default constructor. More... | |
| VToolRecord (const quint32 &id, const Tool &typeTool, const QString &nameDraw) | |
| VToolRecord constructor. More... | |
| bool | operator== (const VToolRecord &record) const |
| VToolRecord & | operator= (const VToolRecord &record) |
| VToolRecord (const VToolRecord &record) | |
| quint32 | getId () const |
| getId return tool id. More... | |
| void | setId (const quint32 &value) |
| setId set tool id. More... | |
| Tool | getTypeTool () const |
| getTypeTool return tool type. More... | |
| void | setTypeTool (const Tool &value) |
| setTypeTool set tool type. More... | |
| QString | getDraftBlockName () const |
| getDraftBlockName return pattern peace name. More... | |
| void | setNameDraw (const QString &value) |
| setNameDraw set pattern peace name. More... | |
| ~VToolRecord () Q_DECL_EQ_DEFAULT | |
Private Attributes | |
| quint32 | id |
| id tool id. More... | |
| Tool | typeTool |
| typeTool tool type. More... | |
| QString | nameDraw |
| nameDraw pattern peace name. More... | |
The VToolRecord class record about tool in history.
Definition at line 63 of file vtoolrecord.h.
| VToolRecord::VToolRecord | ( | ) |
| VToolRecord::VToolRecord | ( | const quint32 & | id, |
| const Tool & | typeTool, | ||
| const QString & | nameDraw | ||
| ) |
VToolRecord constructor.
| id | tool id. |
| typeTool | tool type. |
| nameDraw | pattern peace name. |
Definition at line 70 of file vtoolrecord.cpp.
| VToolRecord::VToolRecord | ( | const VToolRecord & | record | ) |
Definition at line 89 of file vtoolrecord.cpp.
| VToolRecord::~VToolRecord | ( | ) |
|
inline |
getDraftBlockName return pattern peace name.
Definition at line 134 of file vtoolrecord.h.
References nameDraw.
Referenced by VPattern::ActiveDrawBoundingRect(), VAbstractPattern::getBlockHistory(), VAbstractPattern::getGroupObjHistory(), operator=(), and VPattern::setCurrentData().
|
inline |
getId return tool id.
Definition at line 94 of file vtoolrecord.h.
References id.
Referenced by VPattern::ActiveDrawBoundingRect(), VAbstractTool::AddRecord(), VAbstractPattern::getGroupObjHistory(), VToolOptionsPropertyBrowser::getObjectList(), operator=(), operator==(), VPattern::setCurrentData(), and VAbstractPattern::SiblingNodeId().
|
inline |
getTypeTool return tool type.
Definition at line 114 of file vtoolrecord.h.
References typeTool.
Referenced by VPattern::ActiveDrawBoundingRect(), VAbstractPattern::getGroupObjHistory(), VToolOptionsPropertyBrowser::getObjectList(), operator=(), and VAbstractPattern::SiblingNodeId().
| VToolRecord & VToolRecord::operator= | ( | const VToolRecord & | record | ) |
Definition at line 75 of file vtoolrecord.cpp.
References getDraftBlockName(), getId(), getTypeTool(), nameDraw, and typeTool.
|
inline |
Definition at line 150 of file vtoolrecord.h.
References getId().
|
inline |
|
inline |
setNameDraw set pattern peace name.
| value | pattern peace name. |
Definition at line 144 of file vtoolrecord.h.
References nameDraw.
|
inline |
setTypeTool set tool type.
| value | tool type. |
Definition at line 124 of file vtoolrecord.h.
References typeTool.
|
private |
|
private |
nameDraw pattern peace name.
Definition at line 86 of file vtoolrecord.h.
Referenced by getDraftBlockName(), operator=(), and setNameDraw().
|
private |
typeTool tool type.
Definition at line 83 of file vtoolrecord.h.
Referenced by getTypeTool(), operator=(), and setTypeTool().