SemanticGraphVertexItem Class Reference

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

+ Inheritance diagram for SemanticGraphVertexItem:

Signals

void onLeftClick (SemanticGraphVertexItem *)
 

Public Member Functions

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

Public Attributes

QColor borderColor = Qt::GlobalColor::black
 
int descriptor = 0
 
QColor fillColor = Qt::GlobalColor::white
 
QColor fontColor = Qt::GlobalColor::black
 
bool selected = false
 
QString text
 

Member Function Documentation

◆ mousePressEvent()

void mousePressEvent ( QGraphicsSceneMouseEvent * event)
override

◆ onLeftClick

void onLeftClick ( SemanticGraphVertexItem * )
signal

◆ paint()

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

Member Data Documentation

◆ borderColor

QColor borderColor = Qt::GlobalColor::black

◆ descriptor

int descriptor = 0

◆ fillColor

QColor fillColor = Qt::GlobalColor::white

◆ fontColor

QColor fontColor = Qt::GlobalColor::black

◆ selected

bool selected = false

◆ text

QString text

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