Refactoring. More correct name for method.
--HG-- branch : develop
This commit is contained in:
parent
4e92968f36
commit
768a5df031
|
@ -219,7 +219,7 @@ void VAbstractSpline::ReadToolAttributes(const QDomElement &domElement)
|
|||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VAbstractSpline::ShowFoot(bool show)
|
||||
void VAbstractSpline::ShowHandles(bool show)
|
||||
{
|
||||
for (int i = 0; i < controlPoints.size(); ++i)
|
||||
{
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
virtual int type() const {return Type;}
|
||||
enum { Type = UserType + static_cast<int>(Tool::AbstractSpline)};
|
||||
virtual QString getTagName() const;
|
||||
void ShowFoot(bool show);
|
||||
void ShowHandles(bool show);
|
||||
|
||||
void setEnabled(bool enabled);
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ void VToolCutSpline::ShowVisualization(bool show)
|
|||
}
|
||||
if (VAbstractSpline *parentCurve = qobject_cast<VAbstractSpline *>(doc->getTool(curveCutId)))
|
||||
{
|
||||
parentCurve->ShowFoot(show);
|
||||
parentCurve->ShowHandles(show);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -271,7 +271,7 @@ void VToolCutSplinePath::ShowVisualization(bool show)
|
|||
}
|
||||
if (VAbstractSpline *parentCurve = qobject_cast<VAbstractSpline *>(doc->getTool(curveCutId)))
|
||||
{
|
||||
parentCurve->ShowFoot(show);
|
||||
parentCurve->ShowHandles(show);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ VToolSpline::VToolSpline(VPattern *doc, VContainer *data, quint32 id, const QStr
|
|||
connect(controlPoint2, &VControlPointSpline::ShowContextMenu, this, &VToolSpline::contextMenuEvent);
|
||||
controlPoints.append(controlPoint2);
|
||||
|
||||
ShowFoot(false);
|
||||
ShowHandles(false);
|
||||
|
||||
if (typeCreation == Source::FromGui)
|
||||
{
|
||||
|
@ -261,7 +261,7 @@ void VToolSpline::ShowVisualization(bool show)
|
|||
delete vis;
|
||||
vis = nullptr;
|
||||
}
|
||||
ShowFoot(show);
|
||||
ShowHandles(show);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -85,7 +85,7 @@ VToolSplinePath::VToolSplinePath(VPattern *doc, VContainer *data, quint32 id, co
|
|||
controlPoints.append(controlPoint);
|
||||
}
|
||||
|
||||
ShowFoot(false);
|
||||
ShowHandlers(false);
|
||||
|
||||
if (typeCreation == Source::FromGui)
|
||||
{
|
||||
|
@ -333,7 +333,7 @@ void VToolSplinePath::ShowVisualization(bool show)
|
|||
delete vis;
|
||||
vis = nullptr;
|
||||
}
|
||||
ShowFoot(show);
|
||||
ShowHandlers(show);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user