blob: 6fd5ba76edcc9b16d8092daf0d33f83e079ad60e (
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 = nullptr);
virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
};
#endif // NOEDITDELEGATE_H
|