26 #define COL_FAMILY_NAME 1
27 #define COL_GIVEN_NAME 2
30 #define TOTAL_COLS_CREATORS 5
38 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
39 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
40 QVariant
data(
const QModelIndex &index,
int role)
const;
41 QVariant
headerData(
int section, Qt::Orientation orientation,
42 int role = Qt::DisplayRole)
const;
43 bool setData(
const QModelIndex &index,
const QVariant &value,
44 int role = Qt::EditRole);
45 bool removeRows(QModelIndexList rows,
const QModelIndex &index = QModelIndex());
48 bool insertRows(
int position,
int rows,
const QModelIndex &index = QModelIndex());
49 bool removeRows(
int position,
int rows,
const QModelIndex &index = QModelIndex());
53 #endif //CQCreatorDM_H
CQCreatorDM(CMIRIAMInfo *MIRIAMInfo, QObject *parent=0)
CMIRIAMInfo * mpMIRIAMInfo
QVariant data(const QModelIndex &index, int role) const
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
bool insertRows(int position, int rows, const QModelIndex &index=QModelIndex())
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
bool removeRows(QModelIndexList rows, const QModelIndex &index=QModelIndex())