53 #ifndef VLAYOUTPAPER_H
54 #define VLAYOUTPAPER_H
56 #include <qcompilerdetection.h>
57 #include <QSharedDataPointer>
67 class QGraphicsRectItem;
70 template <
typename T>
class QList;
71 template <
typename T>
class QVector;
83 #ifdef Q_COMPILER_RVALUE_REFS
114 Q_REQUIRED_RESULT QGraphicsRectItem *
GetPaperItem(
bool autoCrop,
bool textAsPaths)
const;
123 QSharedDataPointer<VLayoutPaperData>
d;
VLayoutPaper & operator=(const VLayoutPaper &paper)
bool arrangePiece(const VLayoutPiece &piece, std::atomic_bool &stop)
void setPieces(const QList< VLayoutPiece > &pieces)
bool SaveResult(const VBestSquare &bestResult, const VLayoutPiece &piece)
void SetRotationIncrease(int value)
void Swap(VLayoutPaper &paper) Q_DECL_NOTHROW
void SetShift(quint32 shift)
QRectF piecesBoundingRect() const
void SetSaveLength(bool value)
void SetRotate(bool value)
QVector< VLayoutPiece > getPieces() const
void SetHeight(int height)
void SetPaperIndex(quint32 index)
bool AddToSheet(const VLayoutPiece &piece, std::atomic_bool &stop)
int GetRotationIncrease() const
void SetLayoutWidth(qreal width)
Q_REQUIRED_RESULT QList< QGraphicsItem * > getPieceItems(bool textAsPaths) const
bool IsSaveLength() const
qreal GetLayoutWidth() const
Q_REQUIRED_RESULT QGraphicsRectItem * GetPaperItem(bool autoCrop, bool textAsPaths) const
QSharedDataPointer< VLayoutPaperData > d
Q_DECLARE_TYPEINFO(VLayoutPaper, Q_MOVABLE_TYPE)