4 #ifndef BPSTABLEDELEGATE_H
5 #define BPSTABLEDELEGATE_H
9 #include <QStyledItemDelegate>
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
Public include file for BpsTable.
Model/view delegate for editing of table fields.
Definition: bpstabledelegate.h:15
BpsTableDelegate(BpsTable *aTable, QObject *aParent=nullptr)
Database table descriptor.
Definition: bpstable.h:19
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const const override
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const const override
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const const override