Change signal name to LiteUpdateTree.
--HG-- branch : feature
This commit is contained in:
parent
8491248f02
commit
43935b95c9
|
@ -116,7 +116,7 @@ void VDrawTool::FullUpdateFromGui(int result)
|
|||
{
|
||||
SaveDialog(domElement);
|
||||
|
||||
emit FullUpdateTree();
|
||||
emit LiteUpdateTree();
|
||||
emit toolhaveChange();
|
||||
}
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ void VDrawTool::FullUpdateFromGuiApply()
|
|||
{
|
||||
SaveDialog(domElement);
|
||||
|
||||
emit FullUpdateTree();
|
||||
emit LiteUpdateTree();
|
||||
emit toolhaveChange();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ signals:
|
|||
/**
|
||||
* @brief FullUpdateTree handle if need update pattern file.
|
||||
*/
|
||||
void FullUpdateTree();
|
||||
void LiteUpdateTree();
|
||||
protected:
|
||||
/**
|
||||
* @brief contextMenuEvent handle context menu events.
|
||||
|
|
|
@ -149,7 +149,7 @@ void VToolSplinePath::ControlPointChangePosition(const qint32 &indexSpline, cons
|
|||
{
|
||||
doc->SetAttribute(domElement, AttrKCurve, QString().setNum(splPath.getKCurve()));
|
||||
UpdatePathPoint(domElement, splPath);
|
||||
emit FullUpdateTree();
|
||||
emit LiteUpdateTree();
|
||||
emit toolhaveChange();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ VAbstractTool::VAbstractTool(VPattern *doc, VContainer *data, quint32 id, QObjec
|
|||
SCASSERT(doc != nullptr);
|
||||
connect(this, &VAbstractTool::toolhaveChange, this->doc, &VPattern::haveLiteChange);
|
||||
connect(this->doc, &VPattern::FullUpdateFromFile, this, &VAbstractTool::FullUpdateFromFile);
|
||||
connect(this, &VAbstractTool::FullUpdateTree, this->doc, &VPattern::LiteParseTree);
|
||||
connect(this, &VAbstractTool::LiteUpdateTree, this->doc, &VPattern::LiteParseTree);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -163,7 +163,7 @@ signals:
|
|||
/**
|
||||
* @brief FullUpdateTree emit if need reparse pattern file.
|
||||
*/
|
||||
void FullUpdateTree();
|
||||
void LiteUpdateTree();
|
||||
protected:
|
||||
/**
|
||||
* @brief doc dom document container
|
||||
|
|
|
@ -232,7 +232,7 @@ void VToolDetail::FullUpdateFromGui(int result)
|
|||
node->DeleteNode();
|
||||
}
|
||||
}
|
||||
emit FullUpdateTree();
|
||||
emit LiteUpdateTree();
|
||||
emit toolhaveChange();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user