Gui::VectorTableDelegate Class Reference

#include <VectorListEditor.h>

Public Member Functions

QWidgetcreateEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void setEditorData (QWidget *editor, const QModelIndex &index) const
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
 VectorTableDelegate (int decimals, QObject *parent=nullptr)
 

Constructor & Destructor Documentation

◆ VectorTableDelegate()

VectorTableDelegate::VectorTableDelegate ( int  decimals,
QObject parent = nullptr 
)

Member Function Documentation

◆ createEditor()

QWidget * VectorTableDelegate::createEditor ( QWidget parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

◆ setEditorData()

void VectorTableDelegate::setEditorData ( QWidget editor,
const QModelIndex &  index 
) const

◆ setModelData()

void VectorTableDelegate::setModelData ( QWidget editor,
QAbstractItemModel model,
const QModelIndex &  index 
) const

◆ updateEditorGeometry()

void VectorTableDelegate::updateEditorGeometry ( QWidget editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

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