26 #ifndef SALOMEAPP_DATAOBJECT_H
27 #define SALOMEAPP_DATAOBJECT_H
31 #include <SALOMEDSClient.hxx>
41 ValueId = RefEntryId + 1,
51 virtual QString
name()
const;
52 virtual QString
entry()
const;
54 virtual QString
text(
const int = NameId )
const;
55 virtual QPixmap
icon(
const int = NameId )
const;
56 virtual QColor
color(
const ColorRole,
const int = NameId )
const;
57 virtual QString
toolTip(
const int = NameId )
const;
58 virtual QFont
font(
const int = NameId )
const;
62 virtual QString refEntry() const;
63 virtual
bool isReference() const;
64 _PTR(SObject) referencedObject() const;
66 bool hasChildren() const;
67 bool expandable() const;
69 virtual
bool isVisible() const;
71 virtual QString componentDataType() const;
73 virtual
bool customSorting( const
int = NameId ) const;
74 virtual
bool compare( const QVariant&, const QVariant&, const
int = NameId ) const;
77 virtual
void updateItem();
80 QString ior( const
_PTR(SObject)& ) const;
81 QString entry( const
_PTR(SObject)& ) const;
82 QString value( const
_PTR(SObject)& ) const;
85 _PTR(SObject) myObject;
97 virtual QString
name()
const;
98 QPixmap
icon(
const int = NameId )
const;
99 QString
toolTip(
const int = NameId )
const;
109 QString name()
const;
110 QString entry()
const;
111 QString text(
const int = NameId )
const;
112 QPixmap icon(
const int = NameId )
const;
114 QString toolTip(
const int = NameId )
const;
127 virtual QString name()
const;
128 virtual QString entry()
const;
130 virtual QPixmap icon(
const int = NameId )
const;
131 virtual QString toolTip(
const int = NameId )
const;
145 virtual QString name()
const;
146 virtual QString toolTip(
const int = NameId )
const;