NDEVR
API Documentation
VertexTableDelegate

A Qt compatible ItemDelegate for showing properties around a Geometry Vertex object. More...

Public Member Functions

 VertexTableDelegate (QObject *parent=nullptr)
 Constructs a VertexTableDelegate.
bool editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override
 Handles editor events such as clicks on vertex table cells.

Detailed Description

A Qt compatible ItemDelegate for showing properties around a Geometry Vertex object.


Definition at line 45 of file QTVertexManagerView.h.

Constructor & Destructor Documentation

◆ VertexTableDelegate()

VertexTableDelegate::VertexTableDelegate ( QObject * parent = nullptr)
explicit

Constructs a VertexTableDelegate.

Parameters
[in]parentThe parent QObject.

Member Function Documentation

◆ editorEvent()

bool VertexTableDelegate::editorEvent ( QEvent * event,
QAbstractItemModel * model,
const QStyleOptionViewItem & option,
const QModelIndex & index )
override

Handles editor events such as clicks on vertex table cells.

Parameters
[in]eventThe event to process.
[in]modelThe abstract item model.
[in]optionThe style option for the item.
[in]indexThe model index of the item.
Returns
True if the event was handled.

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