DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
GraphNodeChildBoxItem Class Reference

#include <graphnodeitem.h>

Inheritance diagram for GraphNodeChildBoxItem:

Public Member Functions

 GraphNodeChildBoxItem (QRectF r, GraphNodeItem *parent, int id)
 

Protected Member Functions

virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
 
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
 

Protected Attributes

GraphNodeItemmParent
 
int mId
 

Static Protected Attributes

static QBrush mNormalBrush
 
static QBrush mHighlightBrush
 

Constructor & Destructor Documentation

◆ GraphNodeChildBoxItem()

GraphNodeChildBoxItem::GraphNodeChildBoxItem ( QRectF  r,
GraphNodeItem parent,
int  id 
)
explicit

Member Function Documentation

◆ hoverEnterEvent()

void GraphNodeChildBoxItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event)
protectedvirtual

◆ hoverLeaveEvent()

void GraphNodeChildBoxItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event)
protectedvirtual

Member Data Documentation

◆ mHighlightBrush

QBrush GraphNodeChildBoxItem::mHighlightBrush
staticprotected

◆ mId

int GraphNodeChildBoxItem::mId
protected

◆ mNormalBrush

QBrush GraphNodeChildBoxItem::mNormalBrush
staticprotected

◆ mParent

GraphNodeItem* GraphNodeChildBoxItem::mParent
protected

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