QXRD  0.11.16
qcepimagedataspreadsheetmodel.h
Go to the documentation of this file.
1 #ifndef QCEPIMAGEDATASPREADSHEETMODEL_H
2 #define QCEPIMAGEDATASPREADSHEETMODEL_H
3 
4 #include "qcepimagedata.h"
5 
6 #include "qcepspreadsheetmodel.h"
7 
9 {
10 public:
11  QcepImageDataSpreadsheetModel(QWeakPointer< QcepImageDataBase > img);
12 
13  int rowCount(const QModelIndex &parent = QModelIndex()) const;
14  int columnCount(const QModelIndex &parent = QModelIndex()) const;
15  QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
16 
17 private:
18  QWeakPointer < QcepImageDataBase > m_Image;
19 };
20 
21 #endif // QCEPIMAGEDATASPREADSHEETMODEL_H
int columnCount(const QModelIndex &parent=QModelIndex()) const
QcepImageDataSpreadsheetModel(QWeakPointer< QcepImageDataBase > img)
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
int rowCount(const QModelIndex &parent=QModelIndex()) const
QWeakPointer< QcepImageDataBase > m_Image