1 #ifndef QXRDDETECTORPROXYLISTMODEL_H
2 #define QXRDDETECTORPROXYLISTMODEL_H
4 #include <QAbstractListModel>
14 int rowCount(
const QModelIndex &parent)
const;
17 QVariant
data(
const QModelIndex &index,
int role)
const;
18 QVariant
headerData(
int section, Qt::Orientation orientation,
int role)
const;
20 Qt::ItemFlags
flags(
const QModelIndex &index)
const;
22 bool setData(
const QModelIndex &index,
const QVariant &value,
int role);
41 #endif // QXRDDETECTORPROXYLISTMODEL_H
QSharedPointer< QxrdDetectorProxy > QxrdDetectorProxyPtr
void append(QxrdDetectorProxyPtr proxy)
void moveDetectorUp(int row)
void removeDetector(int row)
int rowCount(const QModelIndex &parent) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const
bool setData(const QModelIndex &index, const QVariant &value, int role)
QVariant data(const QModelIndex &index, int role) const
QVector< QxrdDetectorProxyPtr > m_DetectorProxies
QxrdDetectorProxyListModel()
void moveDetectorDown(int row)
Qt::ItemFlags flags(const QModelIndex &index) const
QxrdDetectorProxyPtr detectorProxy(int i)
void configureDetector(int row)
int columnCount(const QModelIndex &parent) const