forked from qt-creator/qt-creator
Move the change notifiers in the property editor to the protected
section
This commit is contained in:
@@ -291,6 +291,7 @@ void PropertyEditor::anyPropertyChanged(const QmlObjectNode &fxObjectNode)
|
||||
void PropertyEditor::otherPropertyChanged(const QmlObjectNode &fxObjectNode)
|
||||
{
|
||||
QmlModelView::transformChanged(fxObjectNode);
|
||||
|
||||
anyPropertyChanged(fxObjectNode);
|
||||
}
|
||||
|
||||
|
||||
@@ -81,13 +81,11 @@ public:
|
||||
|
||||
ModelState modelState() const;
|
||||
|
||||
void otherPropertyChanged(const QmlObjectNode &);
|
||||
void transformChanged(const QmlObjectNode &qmlObjectNode);
|
||||
|
||||
|
||||
void anyPropertyChanged(const QmlObjectNode &qmlObjectNode);
|
||||
|
||||
|
||||
void stateChanged(const QmlModelState &newQmlModelState, const QmlModelState &oldQmlModelState);
|
||||
|
||||
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList);
|
||||
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange);
|
||||
@@ -97,6 +95,9 @@ public:
|
||||
|
||||
protected:
|
||||
void timerEvent(QTimerEvent *event);
|
||||
void otherPropertyChanged(const QmlObjectNode &);
|
||||
void transformChanged(const QmlObjectNode &qmlObjectNode);
|
||||
void stateChanged(const QmlModelState &newQmlModelState, const QmlModelState &oldQmlModelState);
|
||||
|
||||
private slots:
|
||||
void reloadQml();
|
||||
|
||||
Reference in New Issue
Block a user