SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
omsizecorrectiontablemodel.h
Go to the documentation of this file.
1// SedSAT3 – Sediment Source Assessment Tool, version 3
2// U.S. Geological Survey. See LICENSE.md and DISCLAIMER.md in the repository root.
3
4#ifndef OMSIZECORRECTIONTABLEMODEL_H
5#define OMSIZECORRECTIONTABLEMODEL_H
6
7#include <QObject>
8#include <QAbstractTableModel>
10
11class OmSizeCorrectionTableModel: public QAbstractTableModel
12{
13private:
14 Q_OBJECT
15
16
17public:
19 int rowCount(const QModelIndex &parent = QModelIndex()) const override;
20 int columnCount(const QModelIndex &parent = QModelIndex()) const override;
21 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
22 QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
23 bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole) override;
24 Qt::ItemFlags flags(const QModelIndex & index) const override;
26signals:
27 void editCompleted(const QString &);
28
29};
30
31#endif // OMSIZECORRECTIONTABLEMODEL_H
32
33
34
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
int rowCount(const QModelIndex &parent=QModelIndex()) const override
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
void editCompleted(const QString &)
int columnCount(const QModelIndex &parent=QModelIndex()) const override
Qt::ItemFlags flags(const QModelIndex &index) const override
OmSizeCorrectionTableModel(MultipleLinearRegressionSet *MLRset, QObject *parent=nullptr)
MultipleLinearRegressionSet * MLRset
QVariant headerData(int section, Qt::Orientation orientation, int role) const override