QXRD
0.11.16
|
#include <qxrdcalibrantdspacingsmodel.h>
Public Types | |
enum | { IndexColumn, FlagsColumn, HColumn, KColumn, LColumn, NColumn, DColumn, TTHColumn, NumColumns } |
Public Member Functions | |
QxrdCalibrantDSpacingsModel (QxrdCalibrantLibraryPtr cal, QxrdCalibrantDSpacingsPtr vec) | |
~QxrdCalibrantDSpacingsModel () | |
virtual QVariant | data (const QModelIndex &index, int role) const |
virtual 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 |
void | everythingChanged (int nrows) |
Private Attributes | |
QxrdCalibrantLibraryWPtr | m_CalibrantLibrary |
QxrdCalibrantDSpacingsWPtr | m_CalibrantDSpacings |
Definition at line 9 of file qxrdcalibrantdspacingsmodel.h.
anonymous enum |
Enumerator | |
---|---|
IndexColumn | |
FlagsColumn | |
HColumn | |
KColumn | |
LColumn | |
NColumn | |
DColumn | |
TTHColumn | |
NumColumns |
Definition at line 25 of file qxrdcalibrantdspacingsmodel.h.
QxrdCalibrantDSpacingsModel::QxrdCalibrantDSpacingsModel | ( | QxrdCalibrantLibraryPtr | cal, |
QxrdCalibrantDSpacingsPtr | vec | ||
) |
Definition at line 4 of file qxrdcalibrantdspacingsmodel.cpp.
QxrdCalibrantDSpacingsModel::~QxrdCalibrantDSpacingsModel | ( | ) |
Definition at line 10 of file qxrdcalibrantdspacingsmodel.cpp.
|
virtual |
Definition at line 30 of file qxrdcalibrantdspacingsmodel.cpp.
References NumColumns.
Referenced by headerData().
|
virtual |
Definition at line 78 of file qxrdcalibrantdspacingsmodel.cpp.
References DColumn, FlagsColumn, HColumn, IndexColumn, KColumn, LColumn, m_CalibrantDSpacings, m_CalibrantLibrary, NColumn, and TTHColumn.
void QxrdCalibrantDSpacingsModel::everythingChanged | ( | int | nrows | ) |
Definition at line 147 of file qxrdcalibrantdspacingsmodel.cpp.
|
virtual |
Definition at line 39 of file qxrdcalibrantdspacingsmodel.cpp.
References columnCount(), DColumn, FlagsColumn, HColumn, IndexColumn, KColumn, LColumn, NColumn, and TTHColumn.
|
virtual |
Definition at line 15 of file qxrdcalibrantdspacingsmodel.cpp.
References m_CalibrantDSpacings.
|
private |
Definition at line 38 of file qxrdcalibrantdspacingsmodel.h.
Referenced by data(), and rowCount().
|
private |
Definition at line 37 of file qxrdcalibrantdspacingsmodel.h.
Referenced by data().