Crossfire Server, Trunk
CREPlayerRepliesDelegate.h
Go to the documentation of this file.
1 #ifndef CREPLAYERREPLIESDELEGATE_H
2 #define CREPLAYERREPLIESDELEGATE_H
3 
4 #include <QStyledItemDelegate>
5 
9 class CREPlayerRepliesDelegate : public QStyledItemDelegate
10 {
11 public:
12  CREPlayerRepliesDelegate(QObject* parent);
13  virtual ~CREPlayerRepliesDelegate();
14 
15  virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
16  virtual void setEditorData(QWidget* editor, const QModelIndex& index) const override;
17  virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override;
18  virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
19 
20 private:
21 
22 };
23 
24 #endif /* CREPLAYERREPLIESDELEGATE_H */
25 
CREPlayerRepliesDelegate::~CREPlayerRepliesDelegate
virtual ~CREPlayerRepliesDelegate()
Definition: CREPlayerRepliesDelegate.cpp:10
CREPlayerRepliesDelegate::createEditor
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: CREPlayerRepliesDelegate.cpp:14
CREPlayerRepliesDelegate::updateEditorGeometry
virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: CREPlayerRepliesDelegate.cpp:35
CREPlayerRepliesDelegate
Definition: CREPlayerRepliesDelegate.h:9
CFweardisguise.option
option
Definition: CFweardisguise.py:16
npc_dialog.index
int index
Definition: npc_dialog.py:102
CREPlayerRepliesDelegate::setModelData
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
Definition: CREPlayerRepliesDelegate.cpp:27
CREPlayerRepliesDelegate::CREPlayerRepliesDelegate
CREPlayerRepliesDelegate(QObject *parent)
Definition: CREPlayerRepliesDelegate.cpp:6
CREPlayerRepliesDelegate::setEditorData
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const override
Definition: CREPlayerRepliesDelegate.cpp:19