QmlDesigner: Refactor Effect maker nodes view

Also add node click handler

Change-Id: I4b4e327f5c69f27d64ef2f2c3d13628aea46f0af
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Mahmoud Badri
2023-08-15 15:40:46 +03:00
parent 8812c1816b
commit bf6ea8496a
5 changed files with 144 additions and 174 deletions

View File

@@ -99,6 +99,15 @@ QPointer<EffectMakerNodesModel> EffectMakerWidget::effectMakerNodesModel() const
return m_effectMakerNodesModel;
}
void EffectMakerWidget::addEffectNode(const QString &nodeName)
{
Q_UNUSED(nodeName)
// TODO: implement adding a node to the composition
// TODO: nodeName might be changed to nodeId?
// m_effectMakerModel.addNode(nodeName);
}
void EffectMakerWidget::focusSection(int section)
{
Q_UNUSED(section)