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
 

Detailed Description

Definition at line 35 of file EdgeTableWidget.h.

Constructor & Destructor Documentation

◆ EdgeTableWidget()

Definition at line 34 of file EdgeTableWidget.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ addEdge() [1/2]

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

Definition at line 58 of file EdgeTableWidget.cpp.

+ Here is the call graph for this function:

◆ addEdge() [2/2]

QTableWidgetItem* addEdge ( const EdgeT &  edge)
inline

Definition at line 47 of file EdgeTableWidget.h.

◆ clearEdges()

void clearEdges ( )

◆ edgeRemovalRequested

void edgeRemovalRequested ( QList< QTableWidgetItem * >  edgeItems)
signal

◆ makeContextMenu

void makeContextMenu ( QPoint  pos)
slot

Definition at line 123 of file EdgeTableWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeEdge()

void removeEdge ( GuiGraph::Edge &  edge)

Definition at line 103 of file EdgeTableWidget.cpp.

◆ selectedEdgeItems()

QList< QTableWidgetItem * > selectedEdgeItems ( )

Definition at line 116 of file EdgeTableWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateEdge()

void updateEdge ( GuiGraph::Edge  edge)

Definition at line 80 of file EdgeTableWidget.cpp.

Member Data Documentation

◆ bgColorDefault

QColor bgColorDefault = default_colors::tableBackgroundDefault

Definition at line 77 of file EdgeTableWidget.h.

◆ bgColorSelected

QColor bgColorSelected = default_colors::tableBackgroundSelected

Definition at line 78 of file EdgeTableWidget.h.


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