-// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
/// Returns the node representation according to theRole.
virtual QVariant data(int theColumn, int theRole) const;
+
+ // Returns color of the Item when it is active
+ virtual QColor activeItemColor() const;
};
/**
virtual ObjectPtr subObject(int theId) const;
+ // Returns color of the Item when it is active
+ virtual QColor activeItemColor() const;
+
protected:
ObjectPtr myObject;
};
/// \param theDoc a document where objects were deleted
/// \param theGroup a name of group where objects were deleted
virtual QTreeNodesList objectsDeleted(const DocumentPtr& theDoc, const QString& theGroup);
+
+ /// Returns the node representation according to theRole.
+ virtual QVariant data(int theColumn, int theRole) const;
};