Crossfire Server, Trunk  R20513
CREMultilineItemDelegate.h
Go to the documentation of this file.
1 #ifndef _CREMULTILINEITEMDELEGATE_H
2 #define _CREMULTILINEITEMDELEGATE_H
3 
4 class CREMultilineItemDelegate : public QStyledItemDelegate
5 {
6  public:
7  CREMultilineItemDelegate(QObject* parent);
9 
10  virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const;
11  virtual void setEditorData(QWidget* editor, const QModelIndex& index) const;
12  virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const;
13 
14  private:
15 };
16 
17 #endif /* _CREMULTILINEITEMDELEGATE_H */
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const