Seamly2D
Code documentation
VPatternLabelData Class Reference

The VPatternLabelData class holds the information about pattern info label geometry. More...

#include <vpatternlabeldata.h>

Inheritance diagram for VPatternLabelData:
Collaboration diagram for VPatternLabelData:

Public Member Functions

 VPatternLabelData ()
 
 VPatternLabelData (const VPatternLabelData &data)
 
virtual ~VPatternLabelData ()
 
VPatternLabelDataoperator= (const VPatternLabelData &data)
 
void Swap (VPatternLabelData &data) Q_DECL_NOTHROW
 
QString GetLabelWidth () const
 
void SetLabelWidth (const QString &dLabelW)
 
QString GetLabelHeight () const
 
void SetLabelHeight (const QString &dLabelH)
 
int getFontSize () const
 
void SetFontSize (int iSize)
 
QString GetRotation () const
 
void SetRotation (const QString &dRot)
 
quint32 centerAnchorPoint () const
 
void setCenterAnchorPoint (const quint32 &centerAnchorPoint)
 
quint32 topLeftAnchorPoint () const
 
void setTopLeftAnchorPoint (const quint32 &topLeftAnchorPoint)
 
quint32 bottomRightAnchorPoint () const
 
void setBottomRightAnchorPoint (const quint32 &bottomRightAnchorPoint)
 
- Public Member Functions inherited from VAbstractFloatItemData
 VAbstractFloatItemData ()
 
 VAbstractFloatItemData (const VAbstractFloatItemData &data)
 
virtual ~VAbstractFloatItemData ()
 
VAbstractFloatItemDataoperator= (const VAbstractFloatItemData &data)
 
void Swap (VAbstractFloatItemData &data) Q_DECL_NOTHROW
 
QPointF GetPos () const
 
void SetPos (const QPointF &ptPos)
 
bool IsVisible () const
 
void SetVisible (bool bVisible)
 

Private Attributes

QSharedDataPointer< VPatternLabelDataPrivated
 

Detailed Description

The VPatternLabelData class holds the information about pattern info label geometry.

Definition at line 41 of file vpatternlabeldata.h.

Constructor & Destructor Documentation

◆ VPatternLabelData() [1/2]

VPatternLabelData::VPatternLabelData ( )

Definition at line 42 of file vpatternlabeldata.cpp.

◆ VPatternLabelData() [2/2]

VPatternLabelData::VPatternLabelData ( const VPatternLabelData data)

Definition at line 48 of file vpatternlabeldata.cpp.

◆ ~VPatternLabelData()

VPatternLabelData::~VPatternLabelData ( )
virtual

Definition at line 66 of file vpatternlabeldata.cpp.

Member Function Documentation

◆ bottomRightAnchorPoint()

quint32 VPatternLabelData::bottomRightAnchorPoint ( ) const

◆ centerAnchorPoint()

quint32 VPatternLabelData::centerAnchorPoint ( ) const

◆ getFontSize()

int VPatternLabelData::getFontSize ( ) const

◆ GetLabelHeight()

QString VPatternLabelData::GetLabelHeight ( ) const

◆ GetLabelWidth()

QString VPatternLabelData::GetLabelWidth ( ) const

◆ GetRotation()

QString VPatternLabelData::GetRotation ( ) const

◆ operator=()

VPatternLabelData & VPatternLabelData::operator= ( const VPatternLabelData data)

Definition at line 54 of file vpatternlabeldata.cpp.

References d, and VAbstractFloatItemData::operator=().

Referenced by VPieceLabelData::operator=().

◆ setBottomRightAnchorPoint()

void VPatternLabelData::setBottomRightAnchorPoint ( const quint32 &  bottomRightAnchorPoint)

◆ setCenterAnchorPoint()

void VPatternLabelData::setCenterAnchorPoint ( const quint32 &  centerAnchorPoint)

◆ SetFontSize()

◆ SetLabelHeight()

◆ SetLabelWidth()

◆ SetRotation()

void VPatternLabelData::SetRotation ( const QString &  dRot)

◆ setTopLeftAnchorPoint()

void VPatternLabelData::setTopLeftAnchorPoint ( const quint32 &  topLeftAnchorPoint)

◆ Swap()

void VPatternLabelData::Swap ( VPatternLabelData data)

Definition at line 38 of file vpatternlabeldata.cpp.

References VAbstractFloatItemData::Swap().

Referenced by VPieceLabelData::Swap().

◆ topLeftAnchorPoint()

quint32 VPatternLabelData::topLeftAnchorPoint ( ) const

Member Data Documentation

◆ d


The documentation for this class was generated from the following files: