Version: 8.3.0
StdMeshersGUI_DistrTableFrame::SpinBoxDelegate Class Reference

Custom item delegate (uses double spin box to edit table item) More...

Inheritance diagram for StdMeshersGUI_DistrTableFrame::SpinBoxDelegate:

Public Member Functions

 SpinBoxDelegate (StdMeshersGUI_DistrTableFrame::Table *)
 
 ~SpinBoxDelegate ()
 
QWidgetcreateEditor (QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const
 
void setEditorData (QWidget *, const QModelIndex &) const
 
void setModelData (QWidget *, QAbstractItemModel *, const QModelIndex &) const
 
void updateEditorGeometry (QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const
 

Private Attributes

StdMeshersGUI_DistrTableFrame::TablemyTable
 

Detailed Description

Custom item delegate (uses double spin box to edit table item)

Constructor & Destructor Documentation

StdMeshersGUI_DistrTableFrame::SpinBoxDelegate::SpinBoxDelegate ( StdMeshersGUI_DistrTableFrame::Table parent)
StdMeshersGUI_DistrTableFrame::SpinBoxDelegate::~SpinBoxDelegate ( )

Member Function Documentation

void StdMeshersGUI_DistrTableFrame::SpinBoxDelegate::setEditorData ( QWidget editor,
const QModelIndex &  index 
) const
void StdMeshersGUI_DistrTableFrame::SpinBoxDelegate::setModelData ( QWidget editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
void StdMeshersGUI_DistrTableFrame::SpinBoxDelegate::updateEditorGeometry ( QWidget editor,
const QStyleOptionViewItem &  option,
const QModelIndex &   
) const

Field Documentation

StdMeshersGUI_DistrTableFrame::Table* StdMeshersGUI_DistrTableFrame::SpinBoxDelegate::myTable
private