GraphView Class Reference

A view for the graph scene. More...

#include <GraphView.hh>

Inherits QGraphicsView.

Signals

void customContextMenuRequested (QString _id)
 Qt signal emitted when a context menu event is triggered. More...
 
void itemDoubleClicked (QString _id)
 Qt signal emitted when an item is double clicked. More...
 

Public Member Functions

 GraphView (QWidget *_parent=0)
 Constructor. More...
 
virtual ~GraphView ()=default
 Destructor. More...
 

Detailed Description

A view for the graph scene.

Constructor & Destructor Documentation

GraphView ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent Widget.
virtual ~GraphView ( )
virtualdefault

Destructor.

Member Function Documentation

void customContextMenuRequested ( QString  _id)
signal

Qt signal emitted when a context menu event is triggered.

Parameters
[in]_idUnique id of an item.
void itemDoubleClicked ( QString  _id)
signal

Qt signal emitted when an item is double clicked.

Parameters
[in]_idUnique id of an item.

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