QElectroTech  0.8-dev
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
DynamicTextItemDelegate Class Reference

#include <dynamicelementtextmodel.h>

Inherits QStyledItemDelegate.

Collaboration diagram for DynamicTextItemDelegate:
Collaboration graph

Public Member Functions

 DynamicTextItemDelegate (QObject *parent=Q_NULLPTR)
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
 

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event) override
 

Private Member Functions

QStringList availableInfo (DynamicElementTextItem *deti) const
 DynamicTextItemDelegate::availableInfo. More...
 

Constructor & Destructor Documentation

◆ DynamicTextItemDelegate()

DynamicTextItemDelegate::DynamicTextItemDelegate ( QObject *  parent = Q_NULLPTR)

Member Function Documentation

◆ availableInfo()

QStringList DynamicTextItemDelegate::availableInfo ( DynamicElementTextItem deti) const
private

DynamicTextItemDelegate::availableInfo.

Parameters
deti
Returns
A list of available info of element
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createEditor()

QWidget * DynamicTextItemDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override
Here is the call graph for this function:

◆ eventFilter()

bool DynamicTextItemDelegate::eventFilter ( QObject *  object,
QEvent *  event 
)
overrideprotected

◆ setModelData()

void DynamicTextItemDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
override
Here is the call graph for this function:

The documentation for this class was generated from the following files: