Seamly2D
Code documentation
PatternPieceDialog Class Reference

#include <pattern_piece_dialog.h>

Inheritance diagram for PatternPieceDialog:
Collaboration diagram for PatternPieceDialog:

Public Slots

virtual void ChosenObject (quint32 id, const SceneObject &type) Q_DECL_OVERRIDE
 ChosenObject adds selected object of id and type to list of path items. More...
 
virtual void ShowDialog (bool click) Q_DECL_OVERRIDE
 
- Public Slots inherited from DialogTool
virtual void ChosenObject (quint32 id, const SceneObject &type)
 ChosenObject gets id and type of selected object. Save right data and ignore wrong. More...
 
virtual void SelectedObject (bool selected, quint32 object, quint32 tool)
 
void NamePointChanged ()
 NamePointChanged check name of point. More...
 
virtual void DialogAccepted ()
 DialogAccepted save data and emit signal about closed dialog. More...
 
virtual void DialogApply ()
 DialogApply save data and emit signal DialogApplied. More...
 
virtual void DialogRejected ()
 DialogRejected emit signal dialog rejected. More...
 
void FormulaChanged ()
 formula check formula More...
 
void FormulaChangedPlainText ()
 FormulaChangedPlainText check formula (plain text editor editor) More...
 
void ArrowUp ()
 ArrowUp set angle value 90 degree. More...
 
void ArrowDown ()
 ArrowDown set angle value 270 degree. More...
 
void ArrowLeft ()
 ArrowLeft set angle value 180 degree. More...
 
void ArrowRight ()
 ArrowRight set angle value 0 degree. More...
 
void ArrowLeftUp ()
 ArrowLeftUp set angle value 135 degree. More...
 
void ArrowLeftDown ()
 ArrowLeftDown set angle value 225 degree. More...
 
void ArrowRightUp ()
 ArrowRightUp set angle value 45 degree. More...
 
void ArrowRightDown ()
 ArrowRightDown set angle value 315 degree. More...
 
virtual void EvalFormula ()
 EvalFormula evaluate formula. More...
 
virtual void PointNameChanged ()
 

Public Member Functions

 PatternPieceDialog (const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
 
virtual ~PatternPieceDialog ()
 
void pageChanged (QListWidgetItem *current, QListWidgetItem *previous)
 
void enableApply (bool enable)
 
VPiece GetPiece () const
 
void SetPiece (const VPiece &piece)
 
QString getSeamAllowanceWidthFormula () const
 
- Public Member Functions inherited from DialogTool
 DialogTool (const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
 DialogTool create dialog. More...
 
virtual ~DialogTool () Q_DECL_OVERRIDE
 
VAbstractToolGetAssociatedTool ()
 
void SetAssociatedTool (VAbstractTool *tool)
 
virtual void ShowDialog (bool click)
 
virtual void Build (const Tool &type)
 
virtual void SetPiecesList (const QVector< quint32 > &list)
 
quint32 GetToolId () const
 
void SetToolId (const quint32 &value)
 
QString getPointName () const
 

Protected Member Functions

virtual void SaveData () Q_DECL_OVERRIDE
 SaveData Put dialog data in local variables. More...
 
virtual void CheckState () Q_DECL_FINAL
 SaveData Put dialog data in local variables. More...
 
virtual bool eventFilter (QObject *object, QEvent *event) Q_DECL_OVERRIDE
 
virtual void closeEvent (QCloseEvent *event) Q_DECL_OVERRIDE
 closeEvent handle when dialog cloded More...
 
virtual void showEvent (QShowEvent *event) Q_DECL_OVERRIDE
 showEvent handle when window show More...
 
virtual void resizeEvent (QResizeEvent *event) Q_DECL_OVERRIDE
 
- Protected Member Functions inherited from DialogTool
virtual void keyPressEvent (QKeyEvent *event) Q_DECL_OVERRIDE
 
void FillComboBoxPiecesList (QComboBox *box, const QVector< quint32 > &list)
 
void FillComboBoxPoints (QComboBox *box, FillComboBox rule=FillComboBox::Whole, const quint32 &ch1=NULL_ID, const quint32 &ch2=NULL_ID) const
 FillComboBoxPoints fill comboBox list of points. More...
 
void FillComboBoxArcs (QComboBox *box, FillComboBox rule=FillComboBox::Whole, const quint32 &ch1=NULL_ID, const quint32 &ch2=NULL_ID) const
 
void FillComboBoxSplines (QComboBox *box) const
 
void FillComboBoxSplinesPath (QComboBox *box) const
 
void FillComboBoxCurves (QComboBox *box) const
 
void FillComboBoxTypeLine (QComboBox *box, const QMap< QString, QIcon > &stylesPics) const
 FillComboBoxTypeLine fill comboBox list of type lines. More...
 
void FillComboBoxLineColors (QComboBox *box) const
 
void FillComboBoxCrossCirclesPoints (QComboBox *box) const
 
void FillComboBoxVCrossCurvesPoint (QComboBox *box) const
 
void FillComboBoxHCrossCurvesPoint (QComboBox *box) const
 
QString GetComboBoxCurrentData (const QComboBox *box, const QString &def) const
 
void ChangeCurrentData (QComboBox *box, const QVariant &value) const
 ChangeCurrentData select item in combobox by id. More...
 
void ValFormulaChanged (bool &flag, QLineEdit *edit, QTimer *timer, const QString &postfix=QString())
 ValFormulaChanged handle change formula. More...
 
void ValFormulaChanged (bool &flag, QPlainTextEdit *edit, QTimer *timer, const QString &postfix=QString())
 
qreal Eval (const QString &text, bool &flag, QLabel *label, const QString &postfix, bool checkZero=true, bool checkLessThanZero=false)
 Eval evaluate formula and show result. More...
 
qreal normalize (const qreal value, const qreal start, const qreal end)
 
void setCurrentPointId (QComboBox *box, const quint32 &value, FillComboBox rule=FillComboBox::NoChildren, const quint32 &ch1=NULL_ID, const quint32 &ch2=NULL_ID) const
 
void setCurrentSplineId (QComboBox *box, const quint32 &value) const
 setCurrentSplineId set current spline id in combobox More...
 
void setCurrentArcId (QComboBox *box, const quint32 &value, FillComboBox rule=FillComboBox::NoChildren, const quint32 &ch1=NULL_ID, const quint32 &ch2=NULL_ID) const
 setCurrentArcId More...
 
void setCurrentSplinePathId (QComboBox *box, const quint32 &value) const
 setCurrentSplinePathId set current splinePath id in combobox More...
 
void setCurrentCurveId (QComboBox *box, const quint32 &value) const
 
quint32 getCurrentObjectId (QComboBox *box) const
 getCurrentPointId return current point id stored in combobox More...
 
template<typename T >
getCurrentCrossPoint (QComboBox *box) const
 
bool SetObject (const quint32 &id, QComboBox *box, const QString &toolTip)
 
void DeployFormula (QPlainTextEdit *formula, QPushButton *buttonGrowLength, int formulaBaseHeight)
 
template<typename T >
void initializeOkCancelApply (T *ui)
 initializeOkCancelApply initialize OK / Cancel and Apply buttons More...
 
template<typename T >
void initializeOkCancel (T *ui)
 initializeOkCancel initialize OK and Cancel buttons More...
 
template<typename T >
void initializeFormulaUi (T *ui)
 initializeFormulaUi initialize ui object for the formula field More...
 
template<typename T >
void AddVisualization ()
 
template<typename T >
QVector< T > GetListInternals (const QListWidget *list) const
 
void ChangeColor (QWidget *widget, const QColor &color)
 
virtual void ShowVisualization ()
 
void MoveCursorToEnd (QPlainTextEdit *plainTextEdit) const
 
quint32 DNumber (const QString &baseName) const
 
NodeInfo getNodeInfo (const VPieceNode &node, bool showNotch=false) const
 
void newNodeItem (QListWidget *listWidget, const VPieceNode &node, bool nodeExcluded=true, bool isDuplicate=false)
 
void initializeNodeAngles (QComboBox *box)
 

Private Slots

void setErrorText (TabOrder tab, QString text)
 
void clearErrorText (TabOrder tab, QString text)
 
void pieceNameChanged ()
 
void pieceColorChanged ()
 
void showMainPathContextMenu (const QPoint &pos)
 
void showCustomSAContextMenu (const QPoint &pos)
 
void showInternalPathsContextMenu (const QPoint &pos)
 
void showAnchorsContextMenu (const QPoint &pos)
 
void nodeListChanged ()
 
void enableSeamAllowance (bool enable)
 
void enableBuiltIn (bool enable)
 
void nodeChanged (int index)
 
void notchChanged (int index)
 
void customSAStartPointChanged (int index)
 
void customSAEndPointChanged (int index)
 
void customSAIncludeTypeChanged (int index)
 
void nodeAngleChanged (int index)
 
void enableDefaultBeforeButton ()
 
void enableDefaultAfterButton ()
 
void customSeamAllowanceChanged (int row)
 
void pathDialogClosed (int result)
 
void notchTypeChanged (int id)
 
void notchSubTypeChanged (int id)
 
void showNotchChanged (int state)
 
void showSeamlineNotchChanged (int state)
 
void notchLengthChanged (qreal value)
 
void resetNotchLength ()
 
void notchWidthChanged (qreal value)
 
void resetNotchWidth ()
 
void notchAngleChanged (qreal value)
 
void resetNotchAngle ()
 
void notchCountChanged (int value)
 
void updateGrainlineValues ()
 
void updatePieceLabelValues ()
 
void updatePatternLabelValues ()
 
void editGrainlineFormula ()
 
void editPieceLabelFormula ()
 
void editPatternLabelFormula ()
 
void expandGrainlineRotation ()
 
void expandGrainlineLength ()
 
void expandPieceLabelWidth ()
 
void expandPieceLabelHeight ()
 
void expandPieceLabelAngle ()
 
void expandPatternLabelWidth ()
 
void expandPatternLabelHeight ()
 
void expandPatternLabelAngle ()
 
void resetGrainlineWarning ()
 
void resetLabelsWarning ()
 
void enabledGrainline ()
 
void enabledPieceLabel ()
 
void enabledPatternLabel ()
 
void evaluateDefaultWidth ()
 
void evaluateBeforeWidth ()
 
void evaluateAfterWidth ()
 
void editDefaultSeamAllowanceWidth ()
 
void editBeforeSeamAllowanceWidth ()
 
void editAfterSeamAllowanceWidth ()
 
void defaultWidthChanged ()
 
void beforeWidthChanged ()
 
void afterWidthChanged ()
 
void expandWidthFormulaTextEdit ()
 
void expandWidthBeforeFormulaTextEdit ()
 
void expandWidthAfterFormulaTextEdit ()
 
void grainlineAnchorChanged ()
 
void pieceLabelAnchorChanged ()
 
void patternLabelAnchorChanged ()
 
void editPieceLabel ()
 
void editPatternLabel ()
 

Private Member Functions

VPiece CreatePiece () const
 
void newMainPathItem (const VPieceNode &node)
 
void newCustomSeamAllowance (const CustomSARecord &record)
 
void newInternalPath (quint32 path)
 
void newAnchorPoint (quint32 anchorPoint)
 
QString getPathName (quint32 path, bool reverse=false) const
 
QString getPieceColor () const
 
void setPieceColor (const QString &value)
 
QString getPieceFill () const
 
void setPieceFill (const QString &value)
 
bool isInLayout () const
 
void setInLayout (const bool &state)
 
bool getPieceLock () const
 
void setPieceLock (const bool &state)
 
bool isMainPathValid () const
 
void validateObjects (bool value)
 
bool isMainPathClockwise () const
 
void updateCurrentCustomSARecord ()
 
void updateCurrentInternalPathRecord ()
 
QListWidgetItem * getItemById (quint32 id)
 
quint32 getPreviousId () const
 
VPieceNode getLastNode () const
 
bool pointNodesExist () const
 
void setCurrentBeforeSeamAllowance (const QString &formula)
 
void setCurrentAfterSeamAllowance (const QString &formula)
 
void updateNodeBeforeSeamAllowance (const QString &formula)
 
void updateNodeAfterSeamAllowance (const QString &formula)
 
void initializeMainPathTab ()
 
void initializeSeamAllowanceTab ()
 
void initializeNodesList ()
 
void initializeNotchesList ()
 
void initializeCSAPoint (QComboBox *box)
 
void initAnchorPoint (QComboBox *box)
 
void initializeSAIncludeType ()
 
void initializeInternalPathsTab ()
 
void initializePropertiesTab ()
 
void initializeLabelsTab ()
 
void initializeGrainlineTab ()
 
void initializeAnchorsTab ()
 
void initializeNotchesTab ()
 
void initAnchorPointComboboxes ()
 
void setSeamAllowanceWidthFormula (const QString &formula)
 
void setGrainlineAngle (QString angleFormula)
 
void setGrainlineLength (QString lengthFormula)
 
void setPieceLabelWidth (QString widthFormula)
 
void setPieceLabelHeight (QString heightFormula)
 
void setPieceLabelAngle (QString angleFormula)
 
void setPatternLabelWidth (QString widthFormula)
 
void setPatternLabelHeight (QString heightFormula)
 
void setPatternLabelAngle (QString angleFormula)
 
void showAnchorPoints ()
 
void setMoveExclusions ()
 
QString createPieceName () const
 
void reverseNode (QListWidgetItem *rowItem)
 
void duplicateNode (QListWidgetItem *rowItem)
 
void excludeNode (QListWidgetItem *rowItem)
 
void setNotch (QListWidgetItem *rowItem, bool isNotch, NotchType notchType)
 
void setCurrentText (QComboBox *box, const QString &text) const
 
qreal getFormulaValue (QPlainTextEdit *text) const
 

Private Attributes

Ui::PatternPieceDialog * ui
 
bool applyAllowed
 
bool flagGrainlineAnchor
 
bool flagPieceLabelAnchor
 
bool flagPatternLabelAnchor
 
bool flagGrainlineFormula
 
bool flagPieceLabelAngle
 
bool flagPieceLabelFormula
 
bool flagPatternLabelAngle
 
bool flagPatternLabelFormula
 
bool flagBeforeFormula
 
bool flagAfterFormula
 
bool flagMainPath
 
bool m_bAddMode
 
qreal m_mx
 
qreal m_my
 
bool m_inLayout
 
bool m_isLocked
 
QPointer< DialogToolm_dialog
 
QPointer< PieceAnchorPointVisualm_anchorPoints
 
VPieceLabelData m_oldData
 
VPatternLabelData m_oldGeom
 
VGrainlineData m_oldGrainline
 
int m_rotationBaseHeight
 
int m_lengthBaseHeight
 
int m_pieceLabelWidthBaseHeight
 
int m_pieceLabelHeightBaseHeight
 
int m_pieceLabelAngleBaseHeight
 
int m_patternLabelWidthBaseHeight
 
int m_patternLabelHeightBaseHeight
 
int m_patternLabelAngleBaseHeight
 
int m_widthFormula
 
int m_beforeWidthFormula
 
int m_afterWidthFormula
 
QTimer * m_timerWidth
 
QTimer * m_timerWidthBefore
 
QTimer * m_timerWidthAfter
 
qreal m_saWidth
 
QVector< VLabelTemplateLinem_patternLabelLines
 
QVector< VLabelTemplateLinem_pieceLabelLines
 
QSound * m_beep
 

Additional Inherited Members

- Signals inherited from DialogTool
void DialogClosed (int result)
 DialogClosed signal dialog closed. More...
 
void DialogApplied ()
 DialogApplied emit signal dialog apply changes. More...
 
void ToolTip (const QString &toolTip)
 ToolTip emit tooltipe for tool. More...
 
- Static Public Member Functions inherited from DialogTool
static void moveListRowTop (QListWidget *list)
 
static void moveListRowUp (QListWidget *list)
 
static void moveListRowDown (QListWidget *list)
 
static void moveListRowBottom (QListWidget *list)
 
- Static Protected Member Functions inherited from DialogTool
static int FindNotExcludedNodeDown (QListWidget *listWidget, int candidate)
 
static int FindNotExcludedNodeUp (QListWidget *listWidget, int candidate)
 
static bool isFirstPointSameAsLast (QListWidget *listWidget)
 
static bool doublePointsExist (QListWidget *listWidget)
 
static bool isEachPointNameUnique (QListWidget *listWidget)
 
static QString DialogWarningIcon ()
 
static QFont NodeFont (bool nodeExcluded)
 
- Protected Attributes inherited from DialogTool
const VContainerdata
 data container with data More...
 
bool isInitialized
 isInitialized true if window is initialized More...
 
bool flagName
 flagName true if name is correct More...
 
bool flagFormula
 flagFormula true if formula correct More...
 
bool flagError
 flagError use this flag if for you do not enought More...
 
QTimer * timerFormula
 timerFormula timer for check formula More...
 
QPushButton * ok_Button
 ok_Button button ok More...
 
QPushButton * apply_Button
 apply_Button button apply More...
 
QDoubleSpinBox * spinBoxAngle
 spinBoxAngle spinbox for angle More...
 
QPlainTextEdit * plainTextEditFormula
 plainTextEditFormula formula More...
 
QLabel * labelResultCalculation
 labelResultCalculation label with result of calculation More...
 
QLabel * labelEditNamePoint
 labelEditNamePoint label used when need show wrong name of point More...
 
QLabel * labelEditFormula
 labelEditFormula label used when need show wrong formula More...
 
const QColor okColor
 
const QColor errorColor
 
VAbstractToolassociatedTool
 associatedTool vdrawtool associated with opened dialog. More...
 
quint32 toolId
 
bool prepare
 prepare show if we prepare. Show dialog after finish working with visual part of tool More...
 
QString pointName
 pointName name of point More...
 
qint32 number
 number number of handled objects More...
 
QPointer< Visualizationvis
 

Detailed Description

Definition at line 78 of file pattern_piece_dialog.h.

Constructor & Destructor Documentation

◆ PatternPieceDialog()

◆ ~PatternPieceDialog()

PatternPieceDialog::~PatternPieceDialog ( )
virtual

Definition at line 191 of file pattern_piece_dialog.cpp.

References m_anchorPoints, and ui.

Member Function Documentation

◆ afterWidthChanged

void PatternPieceDialog::afterWidthChanged ( )
privateslot

◆ beforeWidthChanged

void PatternPieceDialog::beforeWidthChanged ( )
privateslot

◆ CheckState()

◆ ChosenObject

void PatternPieceDialog::ChosenObject ( quint32  id,
const SceneObject type 
)
virtualslot

◆ clearErrorText

void PatternPieceDialog::clearErrorText ( TabOrder  tab,
QString  text 
)
privateslot

◆ closeEvent()

void PatternPieceDialog::closeEvent ( QCloseEvent *  event)
protectedvirtual

closeEvent handle when dialog cloded

Parameters
eventevent

Reimplemented from DialogTool.

Definition at line 695 of file pattern_piece_dialog.cpp.

References DialogTool::closeEvent(), and ui.

◆ CreatePiece()

VPiece PatternPieceDialog::CreatePiece ( ) const
private

Definition at line 2457 of file pattern_piece_dialog.cpp.

References applyAllowed, DialogTool::data, DialogTool::getCurrentObjectId(), VPatternLabelData::getFontSize(), anonymous_namespace{pattern_piece_dialog.cpp}::getFormulaFromUser(), getFormulaValue(), VPiece::GetGrainlineGeometry(), VPiece::GetPath(), VPiece::GetPatternInfo(), VPiece::GetPatternPieceData(), getPieceColor(), getPieceFill(), getPieceLock(), isInLayout(), m_mx, m_my, m_oldData, m_oldGeom, m_oldGrainline, m_pieceLabelLines, m_saWidth, VPiecePath::PathPoints(), VPiece::setAnchors(), VPieceLabelData::SetAnnotation(), VGrainlineData::SetArrowType(), VGrainlineData::setBottomAnchorPoint(), VPatternLabelData::setBottomRightAnchorPoint(), VPatternLabelData::setCenterAnchorPoint(), VGrainlineData::setCenterAnchorPoint(), VAbstractPiece::setColor(), VPiece::SetCustomSARecords(), VAbstractPiece::setFill(), VPieceLabelData::SetFoldPosition(), VPatternLabelData::SetFontSize(), VAbstractPiece::SetForbidFlipping(), VAbstractPiece::setHideSeamLine(), VPiece::SetInLayout(), VPiece::SetInternalPaths(), VPiece::setIsLocked(), VPatternLabelData::SetLabelHeight(), VPieceLabelData::SetLabelTemplate(), VPatternLabelData::SetLabelWidth(), VGrainlineData::SetLength(), VPieceLabelData::SetLetter(), VAbstractPiece::SetMx(), VAbstractPiece::SetMy(), VAbstractPiece::SetName(), VPiecePath::SetNodes(), VPieceLabelData::SetOnFold(), VPieceLabelData::SetOrientation(), VAbstractFloatItemData::SetPos(), VPieceLabelData::SetQuantity(), VPatternLabelData::SetRotation(), VGrainlineData::SetRotation(), VPieceLabelData::SetRotationWay(), VAbstractPiece::SetSeamAllowance(), VAbstractPiece::SetSeamAllowanceBuiltIn(), VPiece::setSeamAllowanceWidthFormula(), VPieceLabelData::SetTilt(), VGrainlineData::setTopAnchorPoint(), VPatternLabelData::setTopLeftAnchorPoint(), VAbstractFloatItemData::SetVisible(), and ui.

Referenced by ChosenObject(), GetPiece(), isMainPathClockwise(), isMainPathValid(), nodeChanged(), nodeListChanged(), notchChanged(), and setSeamAllowanceWidthFormula().

◆ createPieceName()

QString PatternPieceDialog::createPieceName ( ) const
private

Definition at line 3599 of file pattern_piece_dialog.cpp.

References DialogTool::data, and VContainer::DataPieces().

Referenced by initializeLabelsTab().

◆ customSAEndPointChanged

void PatternPieceDialog::customSAEndPointChanged ( int  index)
privateslot

Definition at line 1263 of file pattern_piece_dialog.cpp.

References CustomSARecord::endPoint, SCASSERT, and ui.

Referenced by initializeSeamAllowanceTab().

◆ customSAIncludeTypeChanged

void PatternPieceDialog::customSAIncludeTypeChanged ( int  index)
privateslot

Definition at line 1281 of file pattern_piece_dialog.cpp.

References CustomSARecord::includeType, SCASSERT, and ui.

Referenced by initializeSeamAllowanceTab().

◆ customSAStartPointChanged

void PatternPieceDialog::customSAStartPointChanged ( int  index)
privateslot

Definition at line 1245 of file pattern_piece_dialog.cpp.

References SCASSERT, CustomSARecord::startPoint, and ui.

Referenced by initializeSeamAllowanceTab().

◆ customSeamAllowanceChanged

void PatternPieceDialog::customSeamAllowanceChanged ( int  row)
privateslot

◆ defaultWidthChanged

void PatternPieceDialog::defaultWidthChanged ( )
privateslot

◆ duplicateNode()

void PatternPieceDialog::duplicateNode ( QListWidgetItem *  rowItem)
private

◆ editAfterSeamAllowanceWidth

◆ editBeforeSeamAllowanceWidth

◆ editDefaultSeamAllowanceWidth

◆ editGrainlineFormula

◆ editPatternLabel

void PatternPieceDialog::editPatternLabel ( )
privateslot

◆ editPatternLabelFormula

◆ editPieceLabel

void PatternPieceDialog::editPieceLabel ( )
privateslot

◆ editPieceLabelFormula

◆ enableApply()

void PatternPieceDialog::enableApply ( bool  enable)

Definition at line 221 of file pattern_piece_dialog.cpp.

References DialogTool::apply_Button, applyAllowed, Count, SCASSERT, SeamAllowance, and ui.

Referenced by PatternPieceDialog().

◆ enableBuiltIn

void PatternPieceDialog::enableBuiltIn ( bool  enable)
privateslot

Definition at line 1042 of file pattern_piece_dialog.cpp.

References initializeNodesList(), and ui.

Referenced by initializeSeamAllowanceTab().

◆ enableDefaultAfterButton

void PatternPieceDialog::enableDefaultAfterButton ( )
privateslot

Definition at line 1328 of file pattern_piece_dialog.cpp.

References currentSeamAllowance, qApp, and ui.

Referenced by initializeSeamAllowanceTab().

◆ enableDefaultBeforeButton

void PatternPieceDialog::enableDefaultBeforeButton ( )
privateslot

Definition at line 1317 of file pattern_piece_dialog.cpp.

References currentSeamAllowance, qApp, and ui.

Referenced by initializeSeamAllowanceTab().

◆ enabledGrainline

void PatternPieceDialog::enabledGrainline ( )
privateslot

◆ enabledPatternLabel

void PatternPieceDialog::enabledPatternLabel ( )
privateslot

◆ enabledPieceLabel

void PatternPieceDialog::enabledPieceLabel ( )
privateslot

◆ enableSeamAllowance

void PatternPieceDialog::enableSeamAllowance ( bool  enable)
privateslot

Definition at line 1025 of file pattern_piece_dialog.cpp.

References ui.

Referenced by initializeSeamAllowanceTab().

◆ evaluateAfterWidth

◆ evaluateBeforeWidth

◆ evaluateDefaultWidth

◆ eventFilter()

bool PatternPieceDialog::eventFilter ( QObject *  object,
QEvent *  event 
)
protectedvirtual

◆ excludeNode()

void PatternPieceDialog::excludeNode ( QListWidgetItem *  rowItem)
private

◆ expandGrainlineLength

void PatternPieceDialog::expandGrainlineLength ( )
privateslot

◆ expandGrainlineRotation

void PatternPieceDialog::expandGrainlineRotation ( )
privateslot

◆ expandPatternLabelAngle

void PatternPieceDialog::expandPatternLabelAngle ( )
privateslot

◆ expandPatternLabelHeight

void PatternPieceDialog::expandPatternLabelHeight ( )
privateslot

◆ expandPatternLabelWidth

void PatternPieceDialog::expandPatternLabelWidth ( )
privateslot

◆ expandPieceLabelAngle

void PatternPieceDialog::expandPieceLabelAngle ( )
privateslot

◆ expandPieceLabelHeight

void PatternPieceDialog::expandPieceLabelHeight ( )
privateslot

◆ expandPieceLabelWidth

void PatternPieceDialog::expandPieceLabelWidth ( )
privateslot

◆ expandWidthAfterFormulaTextEdit

void PatternPieceDialog::expandWidthAfterFormulaTextEdit ( )
privateslot

◆ expandWidthBeforeFormulaTextEdit

void PatternPieceDialog::expandWidthBeforeFormulaTextEdit ( )
privateslot

◆ expandWidthFormulaTextEdit

void PatternPieceDialog::expandWidthFormulaTextEdit ( )
privateslot

◆ getFormulaValue()

qreal PatternPieceDialog::getFormulaValue ( QPlainTextEdit *  text) const
private

◆ getItemById()

◆ getLastNode()

VPieceNode PatternPieceDialog::getLastNode ( ) const
private

Definition at line 2819 of file pattern_piece_dialog.cpp.

References ui.

Referenced by ChosenObject().

◆ getPathName()

QString PatternPieceDialog::getPathName ( quint32  path,
bool  reverse = false 
) const
private

◆ GetPiece()

VPiece PatternPieceDialog::GetPiece ( ) const

◆ getPieceColor()

QString PatternPieceDialog::getPieceColor ( ) const
private

Definition at line 2604 of file pattern_piece_dialog.cpp.

References ui.

Referenced by CreatePiece().

◆ getPieceFill()

QString PatternPieceDialog::getPieceFill ( ) const
private

Definition at line 2618 of file pattern_piece_dialog.cpp.

References FillNone, DialogTool::GetComboBoxCurrentData(), and ui.

Referenced by CreatePiece().

◆ getPieceLock()

bool PatternPieceDialog::getPieceLock ( ) const
private

Definition at line 2643 of file pattern_piece_dialog.cpp.

References m_isLocked.

Referenced by CreatePiece().

◆ getPreviousId()

quint32 PatternPieceDialog::getPreviousId ( ) const
private

Definition at line 2803 of file pattern_piece_dialog.cpp.

References VPieceNode::GetId(), NULL_ID, and ui.

Referenced by ChosenObject().

◆ getSeamAllowanceWidthFormula()

QString PatternPieceDialog::getSeamAllowanceWidthFormula ( ) const

Definition at line 3329 of file pattern_piece_dialog.cpp.

References qApp, and ui.

Referenced by editDefaultSeamAllowanceWidth(), and showCustomSAContextMenu().

◆ grainlineAnchorChanged

◆ initAnchorPoint()

void PatternPieceDialog::initAnchorPoint ( QComboBox *  box)
private

◆ initAnchorPointComboboxes()

void PatternPieceDialog::initAnchorPointComboboxes ( )
private

Definition at line 3313 of file pattern_piece_dialog.cpp.

References initAnchorPoint(), and ui.

Referenced by SetPiece(), and showAnchorsContextMenu().

◆ initializeAnchorsTab()

void PatternPieceDialog::initializeAnchorsTab ( )
private

Definition at line 3261 of file pattern_piece_dialog.cpp.

References showAnchorsContextMenu(), and ui.

Referenced by PatternPieceDialog().

◆ initializeCSAPoint()

void PatternPieceDialog::initializeCSAPoint ( QComboBox *  box)
private

◆ initializeGrainlineTab()

◆ initializeInternalPathsTab()

void PatternPieceDialog::initializeInternalPathsTab ( )
private

Definition at line 3073 of file pattern_piece_dialog.cpp.

References showInternalPathsContextMenu(), and ui.

Referenced by PatternPieceDialog().

◆ initializeLabelsTab()

◆ initializeMainPathTab()

void PatternPieceDialog::initializeMainPathTab ( )
private

Definition at line 2898 of file pattern_piece_dialog.cpp.

References qApp, setMoveExclusions(), showMainPathContextMenu(), and ui.

Referenced by PatternPieceDialog().

◆ initializeNodesList()

◆ initializeNotchesList()

void PatternPieceDialog::initializeNotchesList ( )
private

◆ initializeNotchesTab()

◆ initializePropertiesTab()

void PatternPieceDialog::initializePropertiesTab ( )
private

Definition at line 3081 of file pattern_piece_dialog.cpp.

References pieceColorChanged(), pieceNameChanged(), and ui.

Referenced by PatternPieceDialog().

◆ initializeSAIncludeType()

void PatternPieceDialog::initializeSAIncludeType ( )
private

Definition at line 3062 of file pattern_piece_dialog.cpp.

References AsCustomSA, AsMainPath, and ui.

Referenced by customSeamAllowanceChanged().

◆ initializeSeamAllowanceTab()

◆ isInLayout()

bool PatternPieceDialog::isInLayout ( ) const
private

Definition at line 2631 of file pattern_piece_dialog.cpp.

References m_inLayout.

Referenced by CreatePiece().

◆ isMainPathClockwise()

bool PatternPieceDialog::isMainPathClockwise ( ) const
private

◆ isMainPathValid()

◆ newAnchorPoint()

void PatternPieceDialog::newAnchorPoint ( quint32  anchorPoint)
private

Definition at line 2572 of file pattern_piece_dialog.cpp.

References DialogTool::data, VContainer::GetGObject(), NULL_ID, and ui.

Referenced by SetPiece().

◆ newCustomSeamAllowance()

void PatternPieceDialog::newCustomSeamAllowance ( const CustomSARecord record)
private

Definition at line 2544 of file pattern_piece_dialog.cpp.

References getPathName(), NULL_ID, CustomSARecord::path, CustomSARecord::reverse, and ui.

Referenced by SetPiece().

◆ newInternalPath()

void PatternPieceDialog::newInternalPath ( quint32  path)
private

Definition at line 2558 of file pattern_piece_dialog.cpp.

References getPathName(), NULL_ID, and ui.

Referenced by SetPiece().

◆ newMainPathItem()

void PatternPieceDialog::newMainPathItem ( const VPieceNode node)
private

Definition at line 2538 of file pattern_piece_dialog.cpp.

References DialogTool::newNodeItem(), and ui.

Referenced by ChosenObject(), and SetPiece().

◆ nodeAngleChanged

void PatternPieceDialog::nodeAngleChanged ( int  index)
privateslot

◆ nodeChanged

◆ nodeListChanged

◆ notchAngleChanged

void PatternPieceDialog::notchAngleChanged ( qreal  value)
privateslot

◆ notchChanged

◆ notchCountChanged

void PatternPieceDialog::notchCountChanged ( int  value)
privateslot

◆ notchLengthChanged

void PatternPieceDialog::notchLengthChanged ( qreal  value)
privateslot

◆ notchSubTypeChanged

void PatternPieceDialog::notchSubTypeChanged ( int  id)
privateslot

◆ notchTypeChanged

void PatternPieceDialog::notchTypeChanged ( int  id)
privateslot

◆ notchWidthChanged

void PatternPieceDialog::notchWidthChanged ( qreal  value)
privateslot

◆ pageChanged()

void PatternPieceDialog::pageChanged ( QListWidgetItem *  current,
QListWidgetItem *  previous 
)

Definition at line 198 of file pattern_piece_dialog.cpp.

References AnchorPoints, Grainline, Labels, m_anchorPoints, showAnchorPoints(), and ui.

Referenced by PatternPieceDialog().

◆ pathDialogClosed

◆ patternLabelAnchorChanged

◆ pieceColorChanged

void PatternPieceDialog::pieceColorChanged ( )
privateslot

Definition at line 758 of file pattern_piece_dialog.cpp.

References CheckState(), and ui.

Referenced by initializePropertiesTab().

◆ pieceLabelAnchorChanged

◆ pieceNameChanged

void PatternPieceDialog::pieceNameChanged ( )
privateslot

◆ pointNodesExist()

bool PatternPieceDialog::pointNodesExist ( ) const
private

◆ resetGrainlineWarning

void PatternPieceDialog::resetGrainlineWarning ( )
privateslot

◆ resetLabelsWarning

◆ resetNotchAngle

void PatternPieceDialog::resetNotchAngle ( )
privateslot

Definition at line 1617 of file pattern_piece_dialog.cpp.

References ui.

Referenced by initializeNotchesTab().

◆ resetNotchLength

void PatternPieceDialog::resetNotchLength ( )
privateslot

Definition at line 1570 of file pattern_piece_dialog.cpp.

References qApp, and ui.

Referenced by initializeNotchesTab().

◆ resetNotchWidth

void PatternPieceDialog::resetNotchWidth ( )
privateslot

Definition at line 1594 of file pattern_piece_dialog.cpp.

References qApp, and ui.

Referenced by initializeNotchesTab().

◆ resizeEvent()

void PatternPieceDialog::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Definition at line 724 of file pattern_piece_dialog.cpp.

References DialogTool::isInitialized, and qApp.

◆ reverseNode()

void PatternPieceDialog::reverseNode ( QListWidgetItem *  rowItem)
private

◆ SaveData()

void PatternPieceDialog::SaveData ( )
protectedvirtual

SaveData Put dialog data in local variables.

Reimplemented from DialogTool.

Definition at line 529 of file pattern_piece_dialog.cpp.

◆ setCurrentAfterSeamAllowance()

void PatternPieceDialog::setCurrentAfterSeamAllowance ( const QString &  formula)
private

◆ setCurrentBeforeSeamAllowance()

void PatternPieceDialog::setCurrentBeforeSeamAllowance ( const QString &  formula)
private

◆ setCurrentText()

void PatternPieceDialog::setCurrentText ( QComboBox *  box,
const QString &  text 
) const
private

Definition at line 3692 of file pattern_piece_dialog.cpp.

References SCASSERT.

◆ setErrorText

void PatternPieceDialog::setErrorText ( TabOrder  tab,
QString  text 
)
privateslot

◆ setGrainlineAngle()

void PatternPieceDialog::setGrainlineAngle ( QString  angleFormula)
private

◆ setGrainlineLength()

void PatternPieceDialog::setGrainlineLength ( QString  lengthFormula)
private

◆ setInLayout()

void PatternPieceDialog::setInLayout ( const bool &  state)
private

Definition at line 2637 of file pattern_piece_dialog.cpp.

References m_inLayout.

Referenced by SetPiece().

◆ setMoveExclusions()

void PatternPieceDialog::setMoveExclusions ( )
private

Definition at line 3569 of file pattern_piece_dialog.cpp.

References ui.

Referenced by initializeMainPathTab(), and nodeListChanged().

◆ setNotch()

void PatternPieceDialog::setNotch ( QListWidgetItem *  rowItem,
bool  isNotch,
NotchType  notchType 
)
private

◆ setPatternLabelAngle()

void PatternPieceDialog::setPatternLabelAngle ( QString  angleFormula)
private

◆ setPatternLabelHeight()

void PatternPieceDialog::setPatternLabelHeight ( QString  heightFormula)
private

◆ setPatternLabelWidth()

void PatternPieceDialog::setPatternLabelWidth ( QString  widthFormula)
private

◆ SetPiece()

void PatternPieceDialog::SetPiece ( const VPiece piece)

Definition at line 255 of file pattern_piece_dialog.cpp.

References VPiecePath::at(), VGrainlineData::bottomAnchorPoint(), VPatternLabelData::bottomRightAnchorPoint(), VGrainlineData::centerAnchorPoint(), VPatternLabelData::centerAnchorPoint(), DialogTool::ChangeCurrentData(), customSeamAllowanceChanged(), enabledGrainline(), enabledPatternLabel(), enabledPieceLabel(), VPiece::getAnchors(), VPieceLabelData::GetAnnotation(), VGrainlineData::GetArrowType(), VAbstractPiece::getColor(), VPiece::GetCustomSARecords(), VAbstractPiece::getFill(), VPieceLabelData::GetFoldPosition(), VPiece::GetGrainlineGeometry(), VPiece::GetInternalPaths(), VPatternLabelData::GetLabelHeight(), VPieceLabelData::GetLabelTemplate(), VPatternLabelData::GetLabelWidth(), VGrainlineData::GetLength(), VPieceLabelData::GetLetter(), VAbstractPiece::GetMx(), VAbstractPiece::GetMy(), VAbstractPiece::GetName(), VPieceLabelData::GetOrientation(), VPiece::GetPath(), VPiece::GetPatternInfo(), VPiece::GetPatternPieceData(), VPieceLabelData::GetQuantity(), VGrainlineData::GetRotation(), VPatternLabelData::GetRotation(), VPieceLabelData::GetRotationWay(), VAbstractPiece::GetSAWidth(), VPiece::getSeamAllowanceWidthFormula(), VPieceLabelData::GetTilt(), initAnchorPointComboboxes(), VAbstractPiece::IsForbidFlipping(), VAbstractPiece::isHideSeamLine(), VPiece::isInLayout(), VPiece::isLocked(), isMainPathValid(), VPieceLabelData::IsOnFold(), VAbstractPiece::IsSeamAllowance(), VAbstractPiece::IsSeamAllowanceBuiltIn(), VAbstractFloatItemData::IsVisible(), m_mx, m_my, m_oldData, m_oldGeom, m_oldGrainline, m_pieceLabelLines, m_saWidth, newAnchorPoint(), newCustomSeamAllowance(), newInternalPath(), newMainPathItem(), nodeListChanged(), qApp, setGrainlineAngle(), setGrainlineLength(), setInLayout(), setPatternLabelAngle(), setPatternLabelHeight(), setPatternLabelWidth(), setPieceColor(), setPieceFill(), setPieceLabelAngle(), setPieceLabelHeight(), setPieceLabelWidth(), setPieceLock(), VGrainlineData::topAnchorPoint(), VPatternLabelData::topLeftAnchorPoint(), ui, and validateObjects().

◆ setPieceColor()

void PatternPieceDialog::setPieceColor ( const QString &  value)
private

Definition at line 2611 of file pattern_piece_dialog.cpp.

References ui.

Referenced by SetPiece().

◆ setPieceFill()

void PatternPieceDialog::setPieceFill ( const QString &  value)
private

Definition at line 2625 of file pattern_piece_dialog.cpp.

References DialogTool::ChangeCurrentData(), and ui.

Referenced by SetPiece().

◆ setPieceLabelAngle()

void PatternPieceDialog::setPieceLabelAngle ( QString  angleFormula)
private

◆ setPieceLabelHeight()

void PatternPieceDialog::setPieceLabelHeight ( QString  heightFormula)
private

◆ setPieceLabelWidth()

void PatternPieceDialog::setPieceLabelWidth ( QString  widthFormula)
private

◆ setPieceLock()

void PatternPieceDialog::setPieceLock ( const bool &  state)
private

Definition at line 2649 of file pattern_piece_dialog.cpp.

References m_isLocked.

Referenced by SetPiece().

◆ setSeamAllowanceWidthFormula()

void PatternPieceDialog::setSeamAllowanceWidthFormula ( const QString &  formula)
private

◆ showAnchorPoints()

void PatternPieceDialog::showAnchorPoints ( )
private

◆ showAnchorsContextMenu

void PatternPieceDialog::showAnchorsContextMenu ( const QPoint &  pos)
privateslot

Definition at line 988 of file pattern_piece_dialog.cpp.

References initAnchorPointComboboxes(), and ui.

Referenced by initializeAnchorsTab().

◆ showCustomSAContextMenu

◆ ShowDialog

void PatternPieceDialog::ShowDialog ( bool  click)
virtualslot

◆ showEvent()

void PatternPieceDialog::showEvent ( QShowEvent *  event)
protectedvirtual

showEvent handle when window show

Parameters
eventevent

Reimplemented from DialogTool.

Definition at line 706 of file pattern_piece_dialog.cpp.

References DialogTool::isInitialized, and qApp.

◆ showInternalPathsContextMenu

void PatternPieceDialog::showInternalPathsContextMenu ( const QPoint &  pos)
privateslot

◆ showMainPathContextMenu

◆ showNotchChanged

void PatternPieceDialog::showNotchChanged ( int  state)
privateslot

◆ showSeamlineNotchChanged

void PatternPieceDialog::showSeamlineNotchChanged ( int  state)
privateslot

◆ updateCurrentCustomSARecord()

void PatternPieceDialog::updateCurrentCustomSARecord ( )
private

◆ updateCurrentInternalPathRecord()

void PatternPieceDialog::updateCurrentInternalPathRecord ( )
private

Definition at line 3371 of file pattern_piece_dialog.cpp.

References getPathName(), SCASSERT, and ui.

Referenced by pathDialogClosed().

◆ updateGrainlineValues

◆ updateNodeAfterSeamAllowance()

void PatternPieceDialog::updateNodeAfterSeamAllowance ( const QString &  formula)
private

◆ updateNodeBeforeSeamAllowance()

void PatternPieceDialog::updateNodeBeforeSeamAllowance ( const QString &  formula)
private

◆ updatePatternLabelValues

◆ updatePieceLabelValues

◆ validateObjects()

void PatternPieceDialog::validateObjects ( bool  value)
private

Definition at line 2697 of file pattern_piece_dialog.cpp.

References CheckState(), and flagMainPath.

Referenced by ChosenObject(), SetPiece(), and showMainPathContextMenu().

Member Data Documentation

◆ applyAllowed

bool PatternPieceDialog::applyAllowed
private

◆ flagAfterFormula

bool PatternPieceDialog::flagAfterFormula
private

Definition at line 209 of file pattern_piece_dialog.h.

Referenced by afterWidthChanged(), CheckState(), and evaluateAfterWidth().

◆ flagBeforeFormula

bool PatternPieceDialog::flagBeforeFormula
private

Definition at line 208 of file pattern_piece_dialog.h.

Referenced by beforeWidthChanged(), CheckState(), and evaluateBeforeWidth().

◆ flagGrainlineAnchor

bool PatternPieceDialog::flagGrainlineAnchor
private

◆ flagGrainlineFormula

bool PatternPieceDialog::flagGrainlineFormula
private

◆ flagMainPath

bool PatternPieceDialog::flagMainPath
private

Definition at line 210 of file pattern_piece_dialog.h.

Referenced by CheckState(), PatternPieceDialog(), and validateObjects().

◆ flagPatternLabelAnchor

bool PatternPieceDialog::flagPatternLabelAnchor
private

◆ flagPatternLabelAngle

bool PatternPieceDialog::flagPatternLabelAngle
private

◆ flagPatternLabelFormula

bool PatternPieceDialog::flagPatternLabelFormula
private

◆ flagPieceLabelAnchor

bool PatternPieceDialog::flagPieceLabelAnchor
private

◆ flagPieceLabelAngle

bool PatternPieceDialog::flagPieceLabelAngle
private

◆ flagPieceLabelFormula

bool PatternPieceDialog::flagPieceLabelFormula
private

◆ m_afterWidthFormula

int PatternPieceDialog::m_afterWidthFormula
private

◆ m_anchorPoints

QPointer<PieceAnchorPointVisual> PatternPieceDialog::m_anchorPoints
private

Definition at line 218 of file pattern_piece_dialog.h.

Referenced by pageChanged(), showAnchorPoints(), and ~PatternPieceDialog().

◆ m_bAddMode

bool PatternPieceDialog::m_bAddMode
private

Definition at line 211 of file pattern_piece_dialog.h.

◆ m_beep

QSound* PatternPieceDialog::m_beep
private

Definition at line 240 of file pattern_piece_dialog.h.

Referenced by ChosenObject().

◆ m_beforeWidthFormula

int PatternPieceDialog::m_beforeWidthFormula
private

◆ m_dialog

QPointer<DialogTool> PatternPieceDialog::m_dialog
private

◆ m_inLayout

bool PatternPieceDialog::m_inLayout
private

Definition at line 214 of file pattern_piece_dialog.h.

Referenced by isInLayout(), and setInLayout().

◆ m_isLocked

bool PatternPieceDialog::m_isLocked
private

Definition at line 215 of file pattern_piece_dialog.h.

Referenced by getPieceLock(), and setPieceLock().

◆ m_lengthBaseHeight

int PatternPieceDialog::m_lengthBaseHeight
private

Definition at line 224 of file pattern_piece_dialog.h.

Referenced by expandGrainlineLength(), and initializeGrainlineTab().

◆ m_mx

qreal PatternPieceDialog::m_mx
private

Definition at line 212 of file pattern_piece_dialog.h.

Referenced by CreatePiece(), and SetPiece().

◆ m_my

qreal PatternPieceDialog::m_my
private

Definition at line 213 of file pattern_piece_dialog.h.

Referenced by CreatePiece(), and SetPiece().

◆ m_oldData

VPieceLabelData PatternPieceDialog::m_oldData
private

Definition at line 220 of file pattern_piece_dialog.h.

Referenced by CreatePiece(), and SetPiece().

◆ m_oldGeom

VPatternLabelData PatternPieceDialog::m_oldGeom
private

Definition at line 221 of file pattern_piece_dialog.h.

Referenced by CreatePiece(), and SetPiece().

◆ m_oldGrainline

VGrainlineData PatternPieceDialog::m_oldGrainline
private

Definition at line 222 of file pattern_piece_dialog.h.

Referenced by CreatePiece(), and SetPiece().

◆ m_patternLabelAngleBaseHeight

int PatternPieceDialog::m_patternLabelAngleBaseHeight
private

Definition at line 230 of file pattern_piece_dialog.h.

Referenced by expandPatternLabelAngle(), and initializeLabelsTab().

◆ m_patternLabelHeightBaseHeight

int PatternPieceDialog::m_patternLabelHeightBaseHeight
private

Definition at line 229 of file pattern_piece_dialog.h.

Referenced by expandPatternLabelHeight(), and initializeLabelsTab().

◆ m_patternLabelLines

QVector<VLabelTemplateLine> PatternPieceDialog::m_patternLabelLines
private

Definition at line 238 of file pattern_piece_dialog.h.

Referenced by initializeLabelsTab().

◆ m_patternLabelWidthBaseHeight

int PatternPieceDialog::m_patternLabelWidthBaseHeight
private

Definition at line 228 of file pattern_piece_dialog.h.

Referenced by expandPatternLabelWidth(), and initializeLabelsTab().

◆ m_pieceLabelAngleBaseHeight

int PatternPieceDialog::m_pieceLabelAngleBaseHeight
private

Definition at line 227 of file pattern_piece_dialog.h.

Referenced by expandPieceLabelAngle(), and initializeLabelsTab().

◆ m_pieceLabelHeightBaseHeight

int PatternPieceDialog::m_pieceLabelHeightBaseHeight
private

Definition at line 226 of file pattern_piece_dialog.h.

Referenced by expandPieceLabelHeight(), and initializeLabelsTab().

◆ m_pieceLabelLines

QVector<VLabelTemplateLine> PatternPieceDialog::m_pieceLabelLines
private

Definition at line 239 of file pattern_piece_dialog.h.

Referenced by CreatePiece(), editPieceLabel(), initializeLabelsTab(), and SetPiece().

◆ m_pieceLabelWidthBaseHeight

int PatternPieceDialog::m_pieceLabelWidthBaseHeight
private

Definition at line 225 of file pattern_piece_dialog.h.

Referenced by expandPieceLabelWidth(), and initializeLabelsTab().

◆ m_rotationBaseHeight

int PatternPieceDialog::m_rotationBaseHeight
private

Definition at line 223 of file pattern_piece_dialog.h.

Referenced by expandGrainlineRotation(), and initializeGrainlineTab().

◆ m_saWidth

qreal PatternPieceDialog::m_saWidth
private

◆ m_timerWidth

QTimer* PatternPieceDialog::m_timerWidth
private

Definition at line 234 of file pattern_piece_dialog.h.

Referenced by defaultWidthChanged(), and initializeSeamAllowanceTab().

◆ m_timerWidthAfter

QTimer* PatternPieceDialog::m_timerWidthAfter
private

Definition at line 236 of file pattern_piece_dialog.h.

Referenced by afterWidthChanged(), and initializeSeamAllowanceTab().

◆ m_timerWidthBefore

QTimer* PatternPieceDialog::m_timerWidthBefore
private

Definition at line 235 of file pattern_piece_dialog.h.

Referenced by beforeWidthChanged(), and initializeSeamAllowanceTab().

◆ m_widthFormula

int PatternPieceDialog::m_widthFormula
private

◆ ui

Ui::PatternPieceDialog* PatternPieceDialog::ui
private

Definition at line 198 of file pattern_piece_dialog.h.

Referenced by afterWidthChanged(), beforeWidthChanged(), CheckState(), ChosenObject(), clearErrorText(), closeEvent(), CreatePiece(), customSAEndPointChanged(), customSAIncludeTypeChanged(), customSAStartPointChanged(), customSeamAllowanceChanged(), defaultWidthChanged(), duplicateNode(), editAfterSeamAllowanceWidth(), editBeforeSeamAllowanceWidth(), editGrainlineFormula(), editPatternLabelFormula(), editPieceLabelFormula(), enableApply(), enableBuiltIn(), enableDefaultAfterButton(), enableDefaultBeforeButton(), enabledGrainline(), enabledPatternLabel(), enabledPieceLabel(), enableSeamAllowance(), evaluateAfterWidth(), evaluateBeforeWidth(), evaluateDefaultWidth(), eventFilter(), expandGrainlineLength(), expandGrainlineRotation(), expandPatternLabelAngle(), expandPatternLabelHeight(), expandPatternLabelWidth(), expandPieceLabelAngle(), expandPieceLabelHeight(), expandPieceLabelWidth(), expandWidthAfterFormulaTextEdit(), expandWidthBeforeFormulaTextEdit(), expandWidthFormulaTextEdit(), getItemById(), getLastNode(), getPieceColor(), getPieceFill(), getPreviousId(), getSeamAllowanceWidthFormula(), grainlineAnchorChanged(), initAnchorPoint(), initAnchorPointComboboxes(), initializeAnchorsTab(), initializeCSAPoint(), initializeGrainlineTab(), initializeInternalPathsTab(), initializeLabelsTab(), initializeMainPathTab(), initializeNodesList(), initializeNotchesList(), initializeNotchesTab(), initializePropertiesTab(), initializeSAIncludeType(), initializeSeamAllowanceTab(), isMainPathValid(), newAnchorPoint(), newCustomSeamAllowance(), newInternalPath(), newMainPathItem(), nodeAngleChanged(), nodeChanged(), nodeListChanged(), notchAngleChanged(), notchChanged(), notchCountChanged(), notchLengthChanged(), notchSubTypeChanged(), notchTypeChanged(), notchWidthChanged(), pageChanged(), patternLabelAnchorChanged(), PatternPieceDialog(), pieceColorChanged(), pieceLabelAnchorChanged(), pieceNameChanged(), pointNodesExist(), resetLabelsWarning(), resetNotchAngle(), resetNotchLength(), resetNotchWidth(), setErrorText(), setGrainlineAngle(), setGrainlineLength(), setMoveExclusions(), setPatternLabelAngle(), setPatternLabelHeight(), setPatternLabelWidth(), SetPiece(), setPieceColor(), setPieceFill(), setPieceLabelAngle(), setPieceLabelHeight(), setPieceLabelWidth(), setSeamAllowanceWidthFormula(), showAnchorPoints(), showAnchorsContextMenu(), showCustomSAContextMenu(), showInternalPathsContextMenu(), showMainPathContextMenu(), showNotchChanged(), showSeamlineNotchChanged(), updateCurrentCustomSARecord(), updateCurrentInternalPathRecord(), updateGrainlineValues(), updateNodeAfterSeamAllowance(), updateNodeBeforeSeamAllowance(), updatePatternLabelValues(), updatePieceLabelValues(), and ~PatternPieceDialog().


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