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"
 

Detailed Description

Definition at line 9 of file SemanticGraphGlobalItem.h.

Constructor & Destructor Documentation

◆ SemanticGraphGlobalItem()

Definition at line 11 of file SemanticGraphGlobalItem.cpp.

Member Function Documentation

◆ mousePressEvent()

void mousePressEvent ( QGraphicsSceneMouseEvent *  event)
override

Definition at line 46 of file SemanticGraphGlobalItem.cpp.

◆ onLeftClick

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

◆ paint()

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

Definition at line 15 of file SemanticGraphGlobalItem.cpp.

Member Data Documentation

◆ borderColor

QColor borderColor = Qt::GlobalColor::black

Definition at line 26 of file SemanticGraphGlobalItem.h.

◆ fillColor

QColor fillColor = Qt::GlobalColor::white

Definition at line 25 of file SemanticGraphGlobalItem.h.

◆ fontColor

QColor fontColor = Qt::GlobalColor::black

Definition at line 27 of file SemanticGraphGlobalItem.h.

◆ selected

bool selected = false

Definition at line 23 of file SemanticGraphGlobalItem.h.

◆ text

QString text = "Global"

Definition at line 22 of file SemanticGraphGlobalItem.h.


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