ezEngine Release 26.3
Loading...
Searching...
No Matches
ezQtVisualGraphNode Class Reference

#include <Node.h>

Inheritance diagram for ezQtVisualGraphNode:

Public Member Functions

virtual int type () const override
 
const ezDocumentObjectGetObject () const
 
virtual void InitNode (const ezVisualGraphObjectManager *pManager, const ezDocumentObject *pObject)
 
virtual void UpdateGeometry ()
 
void CreatePins ()
 
ezQtVisualGraphPinGetInputPin (const ezVisualGraphPin &pin)
 
ezQtVisualGraphPinGetOutputPin (const ezVisualGraphPin &pin)
 
ezBitflags< ezQtVisualGraphNodeFlagsGetFlags () const
 
void ResetFlags ()
 
void EnableDropShadow (bool bEnable)
 
virtual void UpdateState ()
 
const ezHybridArray< ezQtVisualGraphPin *, 6 > & GetInputPins () const
 
const ezHybridArray< ezQtVisualGraphPin *, 6 > & GetOutputPins () const
 
void SetActive (bool bActive)
 
virtual void ExtendContextMenu (QMenu &ref_menu)
 

Protected Member Functions

virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 

Protected Attributes

QColor m_HeaderColor
 
QRectF m_HeaderRect
 
QGraphicsTextItem * m_pTitleLabel = nullptr
 
QGraphicsTextItem * m_pSubtitleLabel = nullptr
 
QGraphicsPixmapItem * m_pIcon = nullptr
 

Detailed Description

Qt graphics item representing a single node in a visual graph.

Displays the node's title, optional subtitle, icon, and manages its pins. Handles rendering, selection, and user interaction for the node. Derive from this class to customize node appearance for specific graph types.


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