58 #include <QSharedDataPointer>
59 #include <QSharedPointer>
61 #include "../vlayout/vabstractpiece.h"
77 template <
class T>
class QVector;
97 #ifdef Q_COMPILER_RVALUE_REFS
160 QSharedDataPointer<VPieceData>
d;
180 QPointF &point)
const;
The VContainer class container of all variables.
The VGrainlineData class holds information about a grainline like position, size, rotation and visibi...
The VPatternLabelData class holds the information about pattern info label geometry.
The VPieceLabelData class holds some information about a single piece like letter,...
QVector< CustomSARecord > FilterRecords(QVector< CustomSARecord > records) const
void setIsLocked(bool isLocked)
QPainterPath SeamAllowancePath(const VContainer *data) const
bool isNotchVisible(const QVector< VPieceNode > &path, int notchIndex) const
QVector< VPieceNode > GetUnitedPath(const VContainer *data) const
bool getSeamNotchSAPoint(const VSAPoint &previousSAPoint, const VSAPoint ¬chSAPoint, const VSAPoint &nextSAPoint, const VContainer *data, QPointF &point) const
VPieceLabelData & GetPatternPieceData()
Returns full access to the pattern piece data object.
QVector< CustomSARecord > GetCustomSARecords() const
bool getNotchSAPoint(const QVector< VPieceNode > &path, int index, const VContainer *data, VSAPoint &point) const
bool getNotchPreviousSAPoints(const QVector< VPieceNode > &path, int index, const VSAPoint ¬chSAPoint, const VContainer *data, VSAPoint &point) const
QString getSeamAllowanceWidthFormula() const
QSharedDataPointer< VPieceData > d
QVector< QLineF > createNotchLines(const VContainer *data, const QVector< QPointF > &seamAllowance=QVector< QPointF >()) const
QVector< VSAPoint > getNodeSAPoints(const QVector< VPieceNode > &path, int index, const VContainer *data) const
void Swap(VPiece &piece) Q_DECL_NOTHROW
QPainterPath getNotchesPath(const VContainer *data, const QVector< QPointF > &seamAllowance=QVector< QPointF >()) const
QVector< QLineF > createBuiltInSaNotch(const QVector< VPieceNode > &path, const VSAPoint &previousSAPoint, const VSAPoint ¬chSAPoint, const VSAPoint &nextSAPoint, const VContainer *data, int notchIndex, const QVector< QPointF > &pathPoints) const
QVector< quint32 > GetInternalPaths() const
QVector< QLineF > createTNotch(NotchData notchData, const QVector< QPointF > &pathPoints) const
QVector< QLineF > createNotch(const QVector< VPieceNode > &path, int previousIndex, int notchIndex, int nextIndex, const VContainer *data, const QVector< QPointF > &pathPoints=QVector< QPointF >()) const
QVector< QLineF > createSlitNotch(NotchData notchData, const QVector< QPointF > &seamAllowance) const
void SetPath(const VPiecePath &path)
void SetInLayout(bool inLayout)
QVector< quint32 > missingAnchors(const VPiece &piece) const
QVector< quint32 > getAnchors() const
VPiece & operator=(const VPiece &piece)
void setAnchors(const QVector< quint32 > &anchors)
QVector< QPointF > SeamAllowancePoints(const VContainer *data) const
QVector< QLineF > createVExternalNotch(NotchData notchData, const QVector< QPointF > &seamAllowance) const
static int IsCSAStart(const QVector< CustomSARecord > &records, quint32 id)
QPainterPath MainPathPath(const VContainer *data) const
QVector< QLineF > createDiamondNotch(NotchData notchData, const QVector< QPointF > &seamAllowance) const
QVector< quint32 > MissingInternalPaths(const VPiece &piece) const
void SetPatternPieceData(const VPieceLabelData &data)
QVector< VPointF > MainPathNodePoints(const VContainer *data, bool showExcluded=false) const
QVector< quint32 > MissingNodes(const VPiece &piece) const
MissingNodes find missing nodes in piece. When we deleted object in piece and return this piece need ...
void SetCustomSARecords(const QVector< CustomSARecord > &records)
QVector< QLineF > createVInternalNotch(NotchData notchData, const QVector< QPointF > &pathPoints) const
void setSeamAllowanceWidthFormula(const QString &formula, qreal value)
void SetInternalPaths(const QVector< quint32 > &iPaths)
QVector< QLineF > createUNotch(const NotchData notchData, const QVector< QPointF > &seamAllowance) const
QVector< QLineF > createSeamAllowanceNotch(const QVector< VPieceNode > &path, VSAPoint &previousSAPoint, const VSAPoint ¬chSAPoint, VSAPoint &nextSAPoint, const VContainer *data, int notchIndex, const QVector< QPointF > &pathPoints=QVector< QPointF >()) const
void SetUnited(bool united)
QLineF findIntersection(const QVector< QPointF > &seamAllowance, const QLineF &line) const
QVector< QPointF > MainPathPoints(const VContainer *data) const
QVector< CustomSARecord > GetValidRecords() const
QVector< QLineF > createCastleNotch(const NotchData notchData, const QVector< QPointF > &seamAllowance) const
void SetPatternInfo(const VPatternLabelData &info)
VGrainlineData & GetGrainlineGeometry()
VDetail::GetGrainlineGeometry full access to the grainline geometry object.
QVector< QLineF > createNotches(NotchData notchData, const QVector< QPointF > &seamAllowance) const
VPatternLabelData & GetPatternInfo()
Returns full access to the pattern info geometry object.
int getNextNotchSAPoints(const QVector< VPieceNode > &path, int index, const VSAPoint ¬chSAPoint, const VContainer *data, VSAPoint &point) const
QVector< quint32 > MissingCSAPath(const VPiece &piece) const
VPiecePath GetPath() const
The VPointF class keep data of point.
The VSAPoint class seam allowance point.
Q_DECLARE_TYPEINFO(VPiece, Q_MOVABLE_TYPE)