00001 #ifndef QSEGRAPHSCANSMODEL_H 00002 #define QSEGRAPHSCANSMODEL_H 00003 00004 #include <QAbstractTableModel> 00005 00006 class QseDataSet; 00007 00008 class QseGraphScansModel : public QAbstractTableModel 00009 { 00010 Q_OBJECT; 00011 00012 typedef QAbstractTableModel inherited; 00013 00014 public: 00015 QseGraphScansModel(QseDataSet *dataSet, QObject *parent=0); 00016 00017 int rowCount(const QModelIndex &parent = QModelIndex()) const; 00018 int columnCount(const QModelIndex &parent = QModelIndex()) const; 00019 00020 QVariant data(const QModelIndex &index, int role) const; 00021 QVariant headerData(int section, Qt::Orientation orientation, 00022 int role = Qt::DisplayRole) const; 00023 00024 public slots: 00025 void dataChanged(); 00026 00027 private: 00028 QseDataSet *m_DataSet; 00029 }; 00030 00031 #endif 00032 00033
1.5.5