QmlDesigner: Prepare composition model for adding a node

Change-Id: If4d7fda3956ce4e7f6060e827329b1e8698d5b2f
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
Mahmoud Badri
2023-08-17 13:41:27 +03:00
parent b4d153562b
commit d11f3202a2
8 changed files with 45 additions and 30 deletions

View File

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