QtHPConnect/vartablemodel.h

18 lines
472 B
C
Raw Normal View History

2019-02-10 14:43:00 +01:00
#ifndef VARTABLEMODEL_H
#define VARTABLEMODEL_H
2019-02-10 14:32:15 +01:00
2019-02-10 14:43:00 +01:00
#include <QAbstractTableModel>
2019-02-10 14:32:15 +01:00
2019-02-10 14:43:00 +01:00
class varTableModel: public QAbstractTableModel
2019-02-10 14:32:15 +01:00
{
2019-02-10 14:43:00 +01:00
Q_OBJECT
2019-02-10 14:32:15 +01:00
public:
2019-02-10 14:43:00 +01:00
varTableModel(QObject *parent = nullptr);
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
2019-02-10 14:32:15 +01:00
};
2019-02-10 14:43:00 +01:00
#endif // VARTABLEMODEL_H