Add signals for recomputed objects

This commit is contained in:
Stefan Tröger
2017-03-08 17:20:44 +01:00
committed by wmayer
parent 64e9c4ea5a
commit 2a15d8fc3a
8 changed files with 88 additions and 0 deletions

View File

@@ -69,6 +69,10 @@ private:
void slotUndoDocument(const App::Document& Doc);
/** Redoes the last undone transaction of the document */
void slotRedoDocument(const App::Document& Doc);
/** Called when a given object is recomputed */
void slotRecomputedObject(const App::DocumentObject& Obj);
/** Called when a observed document is recomputed */
void slotRecomputedDocument(const App::Document& Doc);
private:
Py::Object inst;
@@ -84,6 +88,8 @@ private:
Connection connectDocumentCreatedObject;
Connection connectDocumentDeletedObject;
Connection connectDocumentChangedObject;
Connection connectDocumentObjectRecomputed;
Connection connectDocumentRecomputed;
};
} //namespace App