19 lines
349 B
C
19 lines
349 B
C
|
#ifndef QTGUI_FIELDDELEGATE_H
|
||
|
#define QTGUI_FIELDDELEGATE_H
|
||
|
|
||
|
#include <QStyledItemDelegate>
|
||
|
|
||
|
namespace QtGui {
|
||
|
|
||
|
class FieldDelegate : public QStyledItemDelegate
|
||
|
{
|
||
|
public:
|
||
|
FieldDelegate(QObject *parent = nullptr);
|
||
|
|
||
|
void setEditorData(QWidget *editor, const QModelIndex &index) const;
|
||
|
};
|
||
|
|
||
|
} // namespace QtGui
|
||
|
|
||
|
#endif // QTGUI_FIELDDELEGATE_H
|