const Handle(HYDROData_Entity)& theRefObject,
const QString& theMethod ) const;
+ bool checkObjectPythonDefinition( MapOfTreatedObjects& theTreatedObjects,
+ QStringList& theScript,
+ const Handle(HYDROData_Entity)& theRefObject ) const;
+
+ void setPythonObjectColor( QStringList& theScript,
+ const QColor& theColor,
+ const QColor& theDefaultColor,
+ const QString& theMethod ) const;
+
/**
* Dump the initial object creation to a Python script.
* You should call it from DumpToPython implementation before
* dumping fields of the object.
*/
- QStringList dumpObjectCreation( MapOfTreatedObjects& theTreatedObjects ) const;
+ HYDRODATA_EXPORT virtual QStringList dumpObjectCreation( MapOfTreatedObjects& theTreatedObjects ) const;
/**
* Returns an object type name as a string for dumping to Python.
*/
- QString HYDROData_Entity::getPyTypeID() const;
+ QString getPyTypeID() const;
protected: