SpreadsheetGui::SpreadsheetDelegate Class Reference

#include <SpreadsheetDelegate.h>

Public Member Functions

QWidgetcreateEditor (QWidget *parent, const QStyleOptionViewItem &, const QModelIndex &index) const
void setEditorData (QWidget *editor, const QModelIndex &index) const
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 SpreadsheetDelegate (Spreadsheet::Sheet *sheet, QWidget *parent=0)

Constructor & Destructor Documentation

◆ SpreadsheetDelegate()

SpreadsheetDelegate::SpreadsheetDelegate ( Spreadsheet::Sheet sheet,
QWidget parent = 0 

Member Function Documentation

◆ createEditor()

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

◆ setEditorData()

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

◆ setModelData()

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

◆ sizeHint()

QSize SpreadsheetDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/Spreadsheet/Gui/SpreadsheetDelegate.h
  • Sources/FreeCAD/src/Mod/Spreadsheet/Gui/SpreadsheetDelegate.cpp