The VGrainlineData class holds information about a grainline like position, size, rotation and visibility. More...
#include <vgrainlinedata.h>
Private Attributes | |
QSharedDataPointer< VGrainlineDataPrivate > | d |
The VGrainlineData class holds information about a grainline like position, size, rotation and visibility.
Definition at line 44 of file vgrainlinedata.h.
VGrainlineData::VGrainlineData | ( | ) |
Definition at line 42 of file vgrainlinedata.cpp.
VGrainlineData::VGrainlineData | ( | const VGrainlineData & | data | ) |
Definition at line 48 of file vgrainlinedata.cpp.
|
virtual |
Definition at line 66 of file vgrainlinedata.cpp.
quint32 VGrainlineData::bottomAnchorPoint | ( | ) | const |
Definition at line 130 of file vgrainlinedata.cpp.
References d.
Referenced by anonymous_namespace{vlayoutpiece.cpp}::FindGrainlineGeometry(), setBottomAnchorPoint(), and PatternPieceDialog::SetPiece().
quint32 VGrainlineData::centerAnchorPoint | ( | ) | const |
Definition at line 106 of file vgrainlinedata.cpp.
References d.
Referenced by anonymous_namespace{vlayoutpiece.cpp}::FindGrainlineGeometry(), and PatternPieceDialog::SetPiece().
ArrowType VGrainlineData::GetArrowType | ( | ) | const |
Definition at line 94 of file vgrainlinedata.cpp.
References d.
Referenced by VLayoutPiece::setGrainline(), and PatternPieceDialog::SetPiece().
QString VGrainlineData::GetLength | ( | ) | const |
Definition at line 70 of file vgrainlinedata.cpp.
References d.
Referenced by QT_WARNING_POP::createUnion(), anonymous_namespace{vlayoutpiece.cpp}::FindGrainlineGeometry(), and PatternPieceDialog::SetPiece().
QString VGrainlineData::GetRotation | ( | ) | const |
Definition at line 82 of file vgrainlinedata.cpp.
References d.
Referenced by anonymous_namespace{vlayoutpiece.cpp}::FindGrainlineGeometry(), and PatternPieceDialog::SetPiece().
VGrainlineData & VGrainlineData::operator= | ( | const VGrainlineData & | data | ) |
Definition at line 54 of file vgrainlinedata.cpp.
References d, and VAbstractFloatItemData::operator=().
void VGrainlineData::SetArrowType | ( | ArrowType | eAT | ) |
Definition at line 100 of file vgrainlinedata.cpp.
References d.
Referenced by PatternPieceDialog::CreatePiece(), and VPattern::ParsePieceGrainline().
void VGrainlineData::setBottomAnchorPoint | ( | quint32 | bottomAnchorPoint | ) |
Definition at line 136 of file vgrainlinedata.cpp.
References bottomAnchorPoint(), and d.
Referenced by PatternPieceDialog::CreatePiece(), and VPattern::ParsePieceGrainline().
void VGrainlineData::setCenterAnchorPoint | ( | quint32 | centerAnchor | ) |
Definition at line 112 of file vgrainlinedata.cpp.
References d.
Referenced by PatternPieceDialog::CreatePiece(), and VPattern::ParsePieceGrainline().
void VGrainlineData::SetLength | ( | const QString & | qsLen | ) |
Definition at line 76 of file vgrainlinedata.cpp.
References d.
Referenced by PatternPieceDialog::CreatePiece(), QT_WARNING_POP::createUnion(), VPattern::ParsePieceGrainline(), and PatternPieceTool::SaveResizeGrainline().
void VGrainlineData::SetRotation | ( | const QString & | qsRot | ) |
Definition at line 88 of file vgrainlinedata.cpp.
References d.
Referenced by PatternPieceDialog::CreatePiece(), VPattern::ParsePieceGrainline(), and PatternPieceTool::SaveRotateGrainline().
void VGrainlineData::setTopAnchorPoint | ( | quint32 | topAnchorPoint | ) |
Definition at line 124 of file vgrainlinedata.cpp.
References d, and topAnchorPoint().
Referenced by PatternPieceDialog::CreatePiece(), and VPattern::ParsePieceGrainline().
void VGrainlineData::Swap | ( | VGrainlineData & | data | ) |
Definition at line 38 of file vgrainlinedata.cpp.
References VAbstractFloatItemData::Swap().
quint32 VGrainlineData::topAnchorPoint | ( | ) | const |
Definition at line 118 of file vgrainlinedata.cpp.
References d.
Referenced by anonymous_namespace{vlayoutpiece.cpp}::FindGrainlineGeometry(), PatternPieceDialog::SetPiece(), and setTopAnchorPoint().
|
private |
Definition at line 79 of file vgrainlinedata.h.
Referenced by bottomAnchorPoint(), centerAnchorPoint(), GetArrowType(), GetLength(), GetRotation(), operator=(), SetArrowType(), setBottomAnchorPoint(), setCenterAnchorPoint(), SetLength(), SetRotation(), setTopAnchorPoint(), and topAnchorPoint().