1 #ifndef QXRDCALIBRANTDSPACINGSMODEL_H
2 #define QXRDCALIBRANTDSPACINGSMODEL_H
4 #include <QAbstractTableModel>
17 virtual QVariant
data (
const QModelIndex & index,
int role )
const;
18 virtual QVariant
headerData (
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const;
20 virtual int rowCount (
const QModelIndex & parent = QModelIndex() )
const;
21 virtual int columnCount (
const QModelIndex & parent = QModelIndex() )
const;
41 #endif // QXRDCALIBRANTDSPACINGSMODEL_H
QxrdCalibrantLibraryWPtr m_CalibrantLibrary
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
QSharedPointer< QxrdCalibrantLibrary > QxrdCalibrantLibraryPtr
QxrdCalibrantDSpacingsWPtr m_CalibrantDSpacings
~QxrdCalibrantDSpacingsModel()
virtual QVariant data(const QModelIndex &index, int role) const
QWeakPointer< QxrdCalibrantDSpacings > QxrdCalibrantDSpacingsWPtr
QxrdCalibrantDSpacingsModel(QxrdCalibrantLibraryPtr cal, QxrdCalibrantDSpacingsPtr vec)
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QSharedPointer< QxrdCalibrantDSpacings > QxrdCalibrantDSpacingsPtr
QWeakPointer< QxrdCalibrantLibrary > QxrdCalibrantLibraryWPtr
void everythingChanged(int nrows)
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const