blob: ff9baa46e6ae050920bb550d73bd1621a2a2d437 (
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
|