EdgeTableWidget Class Reference

#include <armarx/navigation/gui-plugins/LocationGraphEditor/widgets/EdgeTableWidget.h>

+ Inheritance diagram for EdgeTableWidget:

Public Slots

void makeContextMenu (QPoint pos)
 

Signals

void edgeRemovalRequested (QList< QTableWidgetItem * > edgeItems)
 

Public Member Functions

QTableWidgetItem * addEdge (const core::VertexAttribs &sourceAttrib, const core::VertexAttribs &targetAttrib)
 
template<class EdgeT>
QTableWidgetItem * addEdge (const EdgeT &edge)
 
void clearEdges ()
 
 EdgeTableWidget ()
 
void removeEdge (GuiGraph::Edge &edge)
 
QList< QTableWidgetItem * > selectedEdgeItems ()
 
void updateEdge (GuiGraph::Edge edge)
 

Public Attributes

QColor bgColorDefault = default_colors::tableBackgroundDefault
 
QColor bgColorSelected = default_colors::tableBackgroundSelected
 

Constructor & Destructor Documentation

◆ EdgeTableWidget()

Member Function Documentation

◆ addEdge() [1/2]

QTableWidgetItem * addEdge ( const core::VertexAttribs & sourceAttrib,
const core::VertexAttribs & targetAttrib )

◆ addEdge() [2/2]

template<class EdgeT>
QTableWidgetItem * addEdge ( const EdgeT & edge)
inline

◆ clearEdges()

void clearEdges ( )

◆ edgeRemovalRequested

void edgeRemovalRequested ( QList< QTableWidgetItem * > edgeItems)
signal

◆ makeContextMenu

void makeContextMenu ( QPoint pos)
slot

◆ removeEdge()

void removeEdge ( GuiGraph::Edge & edge)

◆ selectedEdgeItems()

QList< QTableWidgetItem * > selectedEdgeItems ( )

◆ updateEdge()

void updateEdge ( GuiGraph::Edge edge)

Member Data Documentation

◆ bgColorDefault

QColor bgColorDefault = default_colors::tableBackgroundDefault

◆ bgColorSelected

QColor bgColorSelected = default_colors::tableBackgroundSelected

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