summaryrefslogtreecommitdiff
path: root/src/plugins/ctfvisualizer/ctfvisualizerplugin.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-10-18 16:55:08 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-10-21 12:47:28 +0000
commit49379bfda7324c6ec0222c0f0c5ee6e40d98b222 (patch)
tree1042de859b5cbfa8b84c291e71d7f3c0c473dcbd /src/plugins/ctfvisualizer/ctfvisualizerplugin.cpp
parentb4bc204a7d3b36f0d40e368ceb9f359622a41e2c (diff)
downloadqt-creator-49379bfda7324c6ec0222c0f0c5ee6e40d98b222.tar.gz
QmlDesigner: Add and dispatch ValuesModifiedCommand
We already have valuesChanged() which notifies that a property of the C++ QObject has changed. This patch adds valuesModified() which notifies that values in the data model should be changed. While valuesChanged() only changes the so called instance value, valuesModified() does change the internal data model and as a result the QML code. This is done in NodeInstanceView::valuesModified(). This enabled the qml2puppet to acutally change values, like a property editor would. Change-Id: I2493b9e626c4b194e332a7a096de3dbf2195514a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/ctfvisualizer/ctfvisualizerplugin.cpp')
0 files changed, 0 insertions, 0 deletions