SpreadsheetGui::SpreadsheetDelegate Class Reference
#include <SpreadsheetDelegate.h>
Public Member Functions | |
QWidget * | createEditor (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()
|
explicit |
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:
- src/Mod/Spreadsheet/Gui/SpreadsheetDelegate.h
- src/Mod/Spreadsheet/Gui/SpreadsheetDelegate.cpp