This method now can be virtual.
--HG-- branch : feature
This commit is contained in:
parent
4f91c69127
commit
25691639d4
|
@ -74,16 +74,6 @@ void VDrawTool::ShowTool(quint32 id, Qt::GlobalColor color, bool enable)
|
||||||
Q_UNUSED(enable);
|
Q_UNUSED(enable);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
|
||||||
/**
|
|
||||||
* @brief ChangedActivDraw disable or enable context menu after change active pattern peace.
|
|
||||||
* @param newName new name active pattern peace. name new active pattern peace.
|
|
||||||
*/
|
|
||||||
void VDrawTool::ChangedActivDraw(const QString &newName)
|
|
||||||
{
|
|
||||||
enabled = nameActivDraw == newName;
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
* @brief ChangedNameDraw save new name active pattern peace.
|
* @brief ChangedNameDraw save new name active pattern peace.
|
||||||
|
|
|
@ -64,7 +64,7 @@ public:
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
virtual void ShowTool(quint32 id, Qt::GlobalColor color, bool enable);
|
virtual void ShowTool(quint32 id, Qt::GlobalColor color, bool enable);
|
||||||
virtual void ChangedActivDraw(const QString &newName);
|
virtual void ChangedActivDraw(const QString &newName) = 0;
|
||||||
void ChangedNameDraw(const QString &oldName, const QString &newName);
|
void ChangedNameDraw(const QString &oldName, const QString &newName);
|
||||||
virtual void FullUpdateFromGuiOk(int result);
|
virtual void FullUpdateFromGuiOk(int result);
|
||||||
virtual void FullUpdateFromGuiApply();
|
virtual void FullUpdateFromGuiApply();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user