#include <CREMultilineItemDelegate.h>
|
| virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| |
| | CREMultilineItemDelegate (QObject *parent, bool asStringList=true, bool trimEmpty=false) |
| |
| virtual void | setEditorData (QWidget *editor, const QModelIndex &index) const override |
| |
| virtual void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override |
| |
| virtual | ~CREMultilineItemDelegate () |
| |
Allow the edition of a multiline item.
Definition at line 19 of file CREMultilineItemDelegate.h.
◆ CREMultilineItemDelegate()
| CREMultilineItemDelegate::CREMultilineItemDelegate |
( |
QObject * |
parent, |
|
|
bool |
asStringList = true, |
|
|
bool |
trimEmpty = false |
|
) |
| |
Standard constructor.
- Parameters
-
| parent | ancestor of this item. |
| asStringList | if true then data is a QStringList, else a QString. |
| trimEmpty | if true then all empty items will be removed, onyl significant if asStringList is true. |
Definition at line 17 of file CREMultilineItemDelegate.cpp.
◆ ~CREMultilineItemDelegate()
| CREMultilineItemDelegate::~CREMultilineItemDelegate |
( |
| ) |
|
|
virtual |
◆ createEditor()
| QWidget * CREMultilineItemDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
◆ setEditorData()
| void CREMultilineItemDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
◆ setModelData()
| void CREMultilineItemDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
◆ myAsStringList
| bool CREMultilineItemDelegate::myAsStringList |
|
private |
◆ myTrimEmpty
| bool CREMultilineItemDelegate::myTrimEmpty |
|
private |
The documentation for this class was generated from the following files: