Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DependencyTree_Object Class Reference

#include <DependencyTree_Object.h>

Inheritance diagram for DependencyTree_Object:
Inheritance graph

Public Member Functions

 DependencyTree_Object (const std::string &, QGraphicsItem *=0)
 
 ~DependencyTree_Object ()
 
virtual void compute ()
 
virtual bool highlight (double, double)
 
virtual void unhighlight ()
 
virtual bool select (double, double, const QRectF &)
 
virtual void unselect ()
 
std::string getEntry () const
 
GEOM::GEOM_BaseObject_var getGeomObject () const
 
void updateName ()
 
void setColor (const QColor &)
 
void setSelectColor (const QColor &)
 
void setMainObjectColor (const QColor &)
 
void setUnpublishObjectColor (const QColor &)
 
void setIsMainObject (bool)
 

Private Member Functions

QPen getPen (const QColor &)
 

Private Attributes

QColor myColor
 
QColor mySelectColor
 
QColor myMainObjectColor
 
QColor myUnpublishObjectColor
 
QGraphicsPolygonItem * myPolygonItem
 
QGraphicsSimpleTextItem * myTextItem
 
GEOM::GEOM_BaseObject_var myGeomObject
 
std::string myEntry
 
bool myIsMainObject
 

Constructor & Destructor Documentation

DependencyTree_Object::DependencyTree_Object ( const std::string &  theEntry,
QGraphicsItem *  theParent = 0 
)
DependencyTree_Object::~DependencyTree_Object ( )

Member Function Documentation

virtual void DependencyTree_Object::compute ( )
inlinevirtual
std::string DependencyTree_Object::getEntry ( ) const

References myEntry.

GEOM::GEOM_BaseObject_var DependencyTree_Object::getGeomObject ( ) const

References myGeomObject.

QPen DependencyTree_Object::getPen ( const QColor &  theColor)
private
bool DependencyTree_Object::highlight ( double  theX,
double  theY 
)
virtual

References getName(), getPen(), and myPolygonItem.

bool DependencyTree_Object::select ( double  theX,
double  theY,
const QRectF &  theRect 
)
virtual
void DependencyTree_Object::setColor ( const QColor &  theColor)
void DependencyTree_Object::setIsMainObject ( bool  theIsMainObject)
void DependencyTree_Object::setMainObjectColor ( const QColor &  theColor)

References myMainObjectColor.

void DependencyTree_Object::setSelectColor ( const QColor &  theColor)

References mySelectColor.

void DependencyTree_Object::setUnpublishObjectColor ( const QColor &  theColor)
void DependencyTree_Object::unhighlight ( )
virtual
void DependencyTree_Object::unselect ( )
virtual
void DependencyTree_Object::updateName ( )

Member Data Documentation

QColor DependencyTree_Object::myColor
private
std::string DependencyTree_Object::myEntry
private
GEOM::GEOM_BaseObject_var DependencyTree_Object::myGeomObject
private
bool DependencyTree_Object::myIsMainObject
private
QColor DependencyTree_Object::myMainObjectColor
private
QGraphicsPolygonItem* DependencyTree_Object::myPolygonItem
private
QColor DependencyTree_Object::mySelectColor
private
QGraphicsSimpleTextItem* DependencyTree_Object::myTextItem
private
QColor DependencyTree_Object::myUnpublishObjectColor
private

The documentation for this class was generated from the following files: