blob: d0ba2f68c4c63f0befce840c903d99c6b002b3a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef NOEDITDELEGATE_H
#define NOEDITDELEGATE_H
#include <QStyledItemDelegate>
class NoEditDelegate: public QStyledItemDelegate {
public:
NoEditDelegate(QObject *parent = NULL);
virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
};
#endif // NOEDITDELEGATE_H
|