The TextareaDelegate class.
More...
#include <textareadelegate.h>
The TextareaDelegate class.
- Author
- Antoine de Roquemaurel
| Gui::Widgets::Delegates::TextareaDelegate::TextareaDelegate |
( |
QWidget * |
parent = 0 | ) |
|
| QWidget * Gui::Widgets::Delegates::TextareaDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
, |
|
|
const QModelIndex & |
|
|
) |
| const |
TextareaDelegate::createEditor Return a QTextEdit specified by index item defined by the parent widget and style option which are used to control how the editor widgets appears.
- Parameters
-
| parent | Widget parent |
| option | Option style |
| index | Index for editing |
- Returns
- TextareaDelegate
| void Gui::Widgets::Delegates::TextareaDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
TextareaDelegate::setEditorData Sets the data to be displayed and edited by the editor from the data model item specified by the model index
- Parameters
-
| editor | Data edited |
| index | Index of the model to edit |
| void Gui::Widgets::Delegates::TextareaDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
| void Gui::Widgets::Delegates::TextareaDelegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
|
|
) |
| const |
TextareaDelegate::updateEditorGeometry Update the editor for the item specified by index according to the style option given.
- Parameters
-
| editor | Editor widget to update |
| option | Style option |
| index | Item index |
The documentation for this class was generated from the following files:
- /home/travis/build/FACT-Team/FactDev/src/gui/widgets/delegates/textareadelegate.h
- /home/travis/build/FACT-Team/FactDev/src/gui/widgets/delegates/textareadelegate.cpp