okteta
structviewitemdelegate.cpp
Go to the documentation of this file.
38 QWidget* StructViewItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option,
Interface that must be implemented by all datatypes.
Definition: datainformation.h:67
virtual ~StructViewItemDelegate()
Definition: structviewitemdelegate.cpp:34
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const
Definition: structviewitemdelegate.cpp:66
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: structviewitemdelegate.cpp:38
virtual bool isTopLevel() const =0
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: structviewitemdelegate.cpp:78
virtual QVariant dataFromWidget(const QWidget *w) const =0
get the needed data from the widget
DataInformation * asDataInformation()
Definition: datainformationbase.h:107
Definition: datainformationbase.h:44
virtual void setWidgetData(QWidget *w) const =0
initialize the delegate widget with the correct data
virtual QWidget * createEditWidget(QWidget *parent) const =0
create a QWidget for the QItemDelegate
StructViewItemDelegate(QObject *parent=0)
Definition: structviewitemdelegate.cpp:29
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
Definition: structviewitemdelegate.cpp:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.