QXRD
0.11.16
|
#include <qxrdacquisitionscalermodel.h>
Public Types | |
enum | { NumCol, ValueCol, DescriptionCol, ColCount } |
Public Slots | |
void | forceFullUpdate () |
Public Member Functions | |
QxrdAcquisitionScalerModel (QxrdAcquisitionWPtr acq) | |
int | rowCount (const QModelIndex &parent) const |
int | columnCount (const QModelIndex &parent) const |
QVariant | data (const QModelIndex &index, int role) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
Private Attributes | |
QxrdAcquisitionWPtr | m_Acquisition |
Definition at line 7 of file qxrdacquisitionscalermodel.h.
anonymous enum |
Enumerator | |
---|---|
NumCol | |
ValueCol | |
DescriptionCol | |
ColCount |
Definition at line 20 of file qxrdacquisitionscalermodel.h.
QxrdAcquisitionScalerModel::QxrdAcquisitionScalerModel | ( | QxrdAcquisitionWPtr | acq | ) |
Definition at line 9 of file qxrdacquisitionscalermodel.cpp.
References QxrdAcquisition::detectorStateChanged(), QxrdAcquisition::extraInputsChanged(), forceFullUpdate(), m_Acquisition, and QcepDoubleVectorProperty::valueChanged().
int QxrdAcquisitionScalerModel::columnCount | ( | const QModelIndex & | parent | ) | const |
QVariant QxrdAcquisitionScalerModel::data | ( | const QModelIndex & | index, |
int | role | ||
) | const |
Definition at line 67 of file qxrdacquisitionscalermodel.cpp.
References DescriptionCol, m_Acquisition, NumCol, QxrdROICoordinates::OutputCount, QxrdROICoordinates::outputName(), and ValueCol.
|
slot |
Definition at line 188 of file qxrdacquisitionscalermodel.cpp.
Referenced by QxrdAcquisitionScalerModel().
QVariant QxrdAcquisitionScalerModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role | ||
) | const |
Definition at line 171 of file qxrdacquisitionscalermodel.cpp.
References DescriptionCol, NumCol, and ValueCol.
int QxrdAcquisitionScalerModel::rowCount | ( | const QModelIndex & | parent | ) | const |
Definition at line 26 of file qxrdacquisitionscalermodel.cpp.
References m_Acquisition, and QxrdROICoordinates::OutputCount.
|
private |
Definition at line 32 of file qxrdacquisitionscalermodel.h.
Referenced by data(), QxrdAcquisitionScalerModel(), and rowCount().