Seamly2D
Code documentation
VLayoutPiecePath Class Reference

#include <vlayoutpiecepath.h>

Collaboration diagram for VLayoutPiecePath:

Public Member Functions

 VLayoutPiecePath ()
 
 VLayoutPiecePath (const QVector< QPointF > &points, bool cut, Qt::PenStyle penStyle=Qt::SolidLine)
 
 VLayoutPiecePath (const VLayoutPiecePath &path)
 
virtual ~VLayoutPiecePath ()
 
VLayoutPiecePathoperator= (const VLayoutPiecePath &path)
 
void Swap (VLayoutPiecePath &path) Q_DECL_NOTHROW
 
QPainterPath GetPainterPath () const
 
QVector< QPointF > Points () const
 
void SetPoints (const QVector< QPointF > &points)
 
Qt::PenStyle PenStyle () const
 
void SetPenStyle (const Qt::PenStyle &penStyle)
 
bool IsCutPath () const
 
void SetCutPath (bool cut)
 

Private Attributes

QSharedDataPointer< VLayoutPiecePathDatad
 

Detailed Description

Definition at line 61 of file vlayoutpiecepath.h.

Constructor & Destructor Documentation

◆ VLayoutPiecePath() [1/3]

VLayoutPiecePath::VLayoutPiecePath ( )

Definition at line 66 of file vlayoutpiecepath.cpp.

◆ VLayoutPiecePath() [2/3]

VLayoutPiecePath::VLayoutPiecePath ( const QVector< QPointF > &  points,
bool  cut,
Qt::PenStyle  penStyle = Qt::SolidLine 
)

Definition at line 72 of file vlayoutpiecepath.cpp.

◆ VLayoutPiecePath() [3/3]

VLayoutPiecePath::VLayoutPiecePath ( const VLayoutPiecePath path)

Definition at line 78 of file vlayoutpiecepath.cpp.

◆ ~VLayoutPiecePath()

VLayoutPiecePath::~VLayoutPiecePath ( )
virtual

Definition at line 95 of file vlayoutpiecepath.cpp.

Member Function Documentation

◆ GetPainterPath()

QPainterPath VLayoutPiecePath::GetPainterPath ( ) const

Definition at line 100 of file vlayoutpiecepath.cpp.

References d.

◆ IsCutPath()

bool VLayoutPiecePath::IsCutPath ( ) const

Definition at line 136 of file vlayoutpiecepath.cpp.

References d.

◆ operator=()

VLayoutPiecePath & VLayoutPiecePath::operator= ( const VLayoutPiecePath path)

Definition at line 84 of file vlayoutpiecepath.cpp.

References d.

◆ PenStyle()

Qt::PenStyle VLayoutPiecePath::PenStyle ( ) const

Definition at line 124 of file vlayoutpiecepath.cpp.

References d.

◆ Points()

QVector< QPointF > VLayoutPiecePath::Points ( ) const

Definition at line 112 of file vlayoutpiecepath.cpp.

References d.

◆ SetCutPath()

void VLayoutPiecePath::SetCutPath ( bool  cut)

Definition at line 142 of file vlayoutpiecepath.cpp.

References d.

◆ SetPenStyle()

void VLayoutPiecePath::SetPenStyle ( const Qt::PenStyle &  penStyle)

Definition at line 130 of file vlayoutpiecepath.cpp.

References d.

◆ SetPoints()

void VLayoutPiecePath::SetPoints ( const QVector< QPointF > &  points)

Definition at line 118 of file vlayoutpiecepath.cpp.

References d.

◆ Swap()

void VLayoutPiecePath::Swap ( VLayoutPiecePath path)

Definition at line 62 of file vlayoutpiecepath.cpp.

Member Data Documentation

◆ d

QSharedDataPointer<VLayoutPiecePathData> VLayoutPiecePath::d
private

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