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);
|
SaveDialog(domElement);
|
||||||
|
|
||||||
emit FullUpdateTree();
|
emit LiteUpdateTree();
|
||||||
emit toolhaveChange();
|
emit toolhaveChange();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,7 @@ void VDrawTool::FullUpdateFromGuiApply()
|
||||||
{
|
{
|
||||||
SaveDialog(domElement);
|
SaveDialog(domElement);
|
||||||
|
|
||||||
emit FullUpdateTree();
|
emit LiteUpdateTree();
|
||||||
emit toolhaveChange();
|
emit toolhaveChange();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,7 +79,7 @@ signals:
|
||||||
/**
|
/**
|
||||||
* @brief FullUpdateTree handle if need update pattern file.
|
* @brief FullUpdateTree handle if need update pattern file.
|
||||||
*/
|
*/
|
||||||
void FullUpdateTree();
|
void LiteUpdateTree();
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
* @brief contextMenuEvent handle context menu events.
|
* @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()));
|
doc->SetAttribute(domElement, AttrKCurve, QString().setNum(splPath.getKCurve()));
|
||||||
UpdatePathPoint(domElement, splPath);
|
UpdatePathPoint(domElement, splPath);
|
||||||
emit FullUpdateTree();
|
emit LiteUpdateTree();
|
||||||
emit toolhaveChange();
|
emit toolhaveChange();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,7 @@ VAbstractTool::VAbstractTool(VPattern *doc, VContainer *data, quint32 id, QObjec
|
||||||
SCASSERT(doc != nullptr);
|
SCASSERT(doc != nullptr);
|
||||||
connect(this, &VAbstractTool::toolhaveChange, this->doc, &VPattern::haveLiteChange);
|
connect(this, &VAbstractTool::toolhaveChange, this->doc, &VPattern::haveLiteChange);
|
||||||
connect(this->doc, &VPattern::FullUpdateFromFile, this, &VAbstractTool::FullUpdateFromFile);
|
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.
|
* @brief FullUpdateTree emit if need reparse pattern file.
|
||||||
*/
|
*/
|
||||||
void FullUpdateTree();
|
void LiteUpdateTree();
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
* @brief doc dom document container
|
* @brief doc dom document container
|
||||||
|
|
|
@ -232,7 +232,7 @@ void VToolDetail::FullUpdateFromGui(int result)
|
||||||
node->DeleteNode();
|
node->DeleteNode();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
emit FullUpdateTree();
|
emit LiteUpdateTree();
|
||||||
emit toolhaveChange();
|
emit toolhaveChange();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user