SemanticGraphVertexItem Class Reference

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

+ Inheritance diagram for SemanticGraphVertexItem:


void onLeftClick (SemanticGraphVertexItem *)

Public Member Functions

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

Data Fields

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

Detailed Description

Definition at line 9 of file SemanticGraphVertexItem.h.

Member Function Documentation

◆ mousePressEvent()

void mousePressEvent ( QGraphicsSceneMouseEvent *  event)

Definition at line 42 of file SemanticGraphVertexItem.cpp.

◆ onLeftClick

void onLeftClick ( SemanticGraphVertexItem )
+ Here is the caller graph for this function:

◆ paint()

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

Definition at line 11 of file SemanticGraphVertexItem.cpp.

Field Documentation

◆ borderColor

QColor borderColor = Qt::GlobalColor::black

Definition at line 27 of file SemanticGraphVertexItem.h.

◆ descriptor

int descriptor = 0

Definition at line 24 of file SemanticGraphVertexItem.h.

◆ fillColor

QColor fillColor = Qt::GlobalColor::white

Definition at line 26 of file SemanticGraphVertexItem.h.

◆ fontColor

QColor fontColor = Qt::GlobalColor::black

Definition at line 28 of file SemanticGraphVertexItem.h.

◆ selected

bool selected = false

Definition at line 21 of file SemanticGraphVertexItem.h.

◆ text

QString text

Definition at line 20 of file SemanticGraphVertexItem.h.

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