1 #ifndef QXRDCALIBRANTLIBRARYMODEL_H
2 #define QXRDCALIBRANTLIBRARYMODEL_H
4 #include <QAbstractTableModel>
15 virtual int rowCount (
const QModelIndex & parent = QModelIndex() )
const;
16 virtual int columnCount (
const QModelIndex & parent = QModelIndex() )
const;
18 virtual QVariant
data (
const QModelIndex & index,
int role )
const;
19 virtual QVariant
headerData (
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const;
40 #endif // QXRDCALIBRANTLIBRARYMODEL_H
void setIsUsed(int n, int v)
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
QSharedPointer< QxrdCalibrantLibrary > QxrdCalibrantLibraryPtr
QxrdCalibrantLibraryModel(QxrdCalibrantLibraryPtr cal)
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
~QxrdCalibrantLibraryModel()
void calibrantChanged(int n)
virtual QVariant data(const QModelIndex &index, int role) const
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
QxrdCalibrantLibraryPtr m_CalibrantLibrary