GraphVisualizerGraphicsLineItem Class Reference

Required to override the double click event. More...

#include <MemoryX/gui-plugins/GraphVisualizerPlugin/GraphVisualizerGuiPlugin.h>

+ Inheritance diagram for GraphVisualizerGraphicsLineItem:

Public Types

using EdgeId = GraphVisualizerWidget::EdgeId
 

Public Member Functions

 GraphVisualizerGraphicsLineItem (GraphVisualizerWidget &visuWidget, EdgeId name, qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem *parent=0)
 
 ~GraphVisualizerGraphicsLineItem () override
 

Protected Member Functions

void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *) override
 

Detailed Description

Required to override the double click event.

This is required to toggle the select state.

Definition at line 557 of file GraphVisualizerGuiPlugin.h.

Member Typedef Documentation

◆ EdgeId

Constructor & Destructor Documentation

◆ GraphVisualizerGraphicsLineItem()

GraphVisualizerGraphicsLineItem ( GraphVisualizerWidget visuWidget,
EdgeId  name,
qreal  x1,
qreal  y1,
qreal  x2,
qreal  y2,
QGraphicsItem *  parent = 0 
)
inline

Definition at line 562 of file GraphVisualizerGuiPlugin.h.

◆ ~GraphVisualizerGraphicsLineItem()

~GraphVisualizerGraphicsLineItem ( )
inlineoverride

Definition at line 569 of file GraphVisualizerGuiPlugin.h.

Member Function Documentation

◆ mouseDoubleClickEvent()

void mouseDoubleClickEvent ( QGraphicsSceneMouseEvent *  )
inlineoverrideprotected

Definition at line 574 of file GraphVisualizerGuiPlugin.h.


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