SemanticGraphGlobalItem Class Reference

#include <VisionX/gui-plugins/SemanticRelationViewer/SemanticGraphGlobalItem.h>

+ Inheritance diagram for SemanticGraphGlobalItem:

Signals

void onLeftClick (SemanticGraphGlobalItem *)
 

Public Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
 SemanticGraphGlobalItem ()
 

Public Attributes

QColor borderColor = Qt::GlobalColor::black
 
QColor fillColor = Qt::GlobalColor::white
 
QColor fontColor = Qt::GlobalColor::black
 
bool selected = false
 
QString text = "Global"
 

Constructor & Destructor Documentation

◆ SemanticGraphGlobalItem()

Member Function Documentation

◆ mousePressEvent()

void mousePressEvent ( QGraphicsSceneMouseEvent * event)
override

◆ onLeftClick

void onLeftClick ( SemanticGraphGlobalItem * )
signal

◆ paint()

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

Member Data Documentation

◆ borderColor

QColor borderColor = Qt::GlobalColor::black

◆ fillColor

QColor fillColor = Qt::GlobalColor::white

◆ fontColor

QColor fontColor = Qt::GlobalColor::black

◆ selected

bool selected = false

◆ text

QString text = "Global"

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