qavrg 0.0.28
qavrgresultsmodel.h
Go to the documentation of this file.
00001 #ifndef QAVRGRESULTSMODEL_H
00002 #define QAVRGRESULTSMODEL_H
00003 
00004 #include <QAbstractTableModel>
00005 
00006 class QavrgAcquisition;
00007 
00008 class QavrgResultsModel : public QAbstractTableModel
00009 {
00010   Q_OBJECT;
00011 
00012  public:
00013   QavrgResultsModel(QavrgAcquisition *acq, QObject *parent=0);
00014 
00015   int        rowCount(const QModelIndex &parent = QModelIndex()) const;
00016   int        columnCount(const QModelIndex &parent = QModelIndex()) const;
00017   QVariant   data(const QModelIndex &index, int role = Qt::DisplayRole) const;
00018   QVariant   headerData (int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
00019 
00020  public slots:
00021   void new_FittingResults();
00022 
00023  private:
00024   QavrgAcquisition   *m_Acquisition;
00025 };
00026 
00027 #endif