wumu
2025-04-27 20ffcfb5507daf34f81346ca3dfa4c031e7b2fe3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "noedititemdelegate.h"
 
NoEditItemDelegate::NoEditItemDelegate(QObject *p):QItemDelegate(p)
{
 
}
 
QWidget *NoEditItemDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
{
    return nullptr;
}
 
void NoEditItemDelegate::setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
{
 
}
 
void NoEditItemDelegate::setEditorData(QWidget *editor, const QModelIndex &index) const
{
 
}
 
void NoEditItemDelegate::updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
{
 
}