#include <QString>
#include <QMap>
#include <QPixmap>
+#include <QColor>
/**
* \class HYDROGUI_DataObject
class HYDROGUI_DataObject : public LightApp_DataObject
{
public:
+ //! Column id
+ enum {
+ RefObjectId = RefEntryId + 1, //!< Ref.Object column
+ BathymetryId //!< Bathymetry column
+ };
+
/**
* Constructor.
* \param theParent parent data object
static QString dataObjectEntry( const Handle(HYDROData_Entity)& theObject,
const bool theWithPrefix = true );
+ /**
+ * Returns the text for the specified column.
+ */
+ virtual QString text( const int = NameId ) const;
+
+ /**
+ * Returns the color for the specified column.
+ */
+ virtual QColor color( const ColorRole, const int = NameId ) const;
+
protected:
Handle(HYDROData_Entity) myData; ///< object from data model
QString myParentEntry;