TermNodeGraphicsItem Class Reference

#include <ArmarXGui/gui-plugins/ConditionViewerPlugin/widgets/TermNodeGraphicsItem.h>

+ Inheritance diagram for TermNodeGraphicsItem:

Public Slots

void activateNode ()
 
void activateNodeSilent ()
 
void deactivateNode ()
 
void updateNodeActivation (const QPointF &)
 

Signals

void nodeActivated ()
 
void nodeDeactivated ()
 

Public Member Functions

QRectF boundingRect () const override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
void setColor (const QColor &penColor)
 
void setPixmap (const QPixmap &pixmap)
 
void setRect (QRectF boundingBox)
 
void setText (const QString &text)
 
 TermNodeGraphicsItem (TermTreeGraphicsScene *scene, TermNode *node)
 

Detailed Description

Definition at line 33 of file TermNodeGraphicsItem.h.

Constructor & Destructor Documentation

◆ TermNodeGraphicsItem()

Definition at line 27 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ activateNode

void activateNode ( )
slot

Definition at line 116 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ activateNodeSilent

void activateNodeSilent ( )
slot

Definition at line 123 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ boundingRect()

QRectF boundingRect ( ) const
override

Definition at line 69 of file TermNodeGraphicsItem.cpp.

◆ deactivateNode

void deactivateNode ( )
slot

Definition at line 128 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nodeActivated

void nodeActivated ( )
signal
+ Here is the caller graph for this function:

◆ nodeDeactivated

void nodeDeactivated ( )
signal
+ Here is the caller graph for this function:

◆ paint()

void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
override

Definition at line 74 of file TermNodeGraphicsItem.cpp.

◆ setColor()

void setColor ( const QColor &  penColor)

Definition at line 53 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPixmap()

void setPixmap ( const QPixmap &  pixmap)

Definition at line 60 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setRect()

void setRect ( QRectF  boundingBox)

Definition at line 38 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setText()

void setText ( const QString &  text)

Definition at line 46 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateNodeActivation

void updateNodeActivation ( const QPointF &  point)
slot

Definition at line 135 of file TermNodeGraphicsItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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