forked from qt-creator/qt-creator
QmlDesigner: Move implementation code in the node instances
updateDirtyNodeRecursive and renderPreviewImage belongs to quick image and not in the node instance server. Change-Id: I629b89c748036c0614e78bcfa0c837cb16ca6374 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
f021ec50cd
commit
359ef53280
@@ -85,6 +85,7 @@ public:
|
||||
virtual void initialize(const Pointer &objectNodeInstance);
|
||||
virtual void paint(QPainter *painter);
|
||||
virtual QImage renderImage() const;
|
||||
virtual QImage renderPreviewImage(const QSize &previewImageSize) const;
|
||||
|
||||
virtual QObject *parent() const;
|
||||
|
||||
@@ -179,6 +180,8 @@ public:
|
||||
|
||||
static QVariant fixResourcePaths(const QVariant &value);
|
||||
|
||||
virtual void updateDirtyNodeRecursive();
|
||||
|
||||
protected:
|
||||
void doResetProperty(const PropertyName &propertyName);
|
||||
void removeFromOldProperty(QObject *object, QObject *oldParent, const PropertyName &oldParentProperty);
|
||||
|
||||
Reference in New Issue
Block a user