Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the bug #42: point C is not activated, but point C is shown in preview in...
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_DataObject.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_DataObject.cxx
b/src/HYDROGUI/HYDROGUI_DataObject.cxx
index b54120e1db8c83b479857063a5d3cf6496647594..bab5e03975076149e87011eed432c43cba875f6a 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_DataObject.cxx
+++ b/
src/HYDROGUI/HYDROGUI_DataObject.cxx
@@
-63,8
+63,8
@@
QFont HYDROGUI_DataObject::font( const int theId ) const
QFont aFont = LightApp_DataObject::font( theId );
if( theId == NameId )
{
QFont aFont = LightApp_DataObject::font( theId );
if( theId == NameId )
{
- Handle(HYDROData_
Image) anImage = Handle(HYDROData_Image)::DownCast( modelObject()
);
- if( !a
nImage.IsNull() && anImage->
MustBeUpdated() )
+ Handle(HYDROData_
Entity) aDataObject = modelObject(
);
+ if( !a
DataObject.IsNull() && aDataObject->Is
MustBeUpdated() )
aFont.setItalic( true );
}
return aFont;
aFont.setItalic( true );
}
return aFont;
@@
-107,3
+107,11
@@
QString HYDROGUI_NamedObject::name() const
{
return myName;
}
{
return myName;
}
+
+HYDROGUI_DropTargetObject::HYDROGUI_DropTargetObject( SUIT_DataObject* theParent,
+ const QString& theName,
+ const QString& theParentEntry )
+: HYDROGUI_NamedObject( theParent, theName, theParentEntry ), CAM_DataObject( theParent )
+{
+}
+