|
SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
|
#include </home/runner/work/SedSat3/SedSat3/selectsampletablemodel.h>


Public Member Functions | |
| SelectSampleTableModel (SourceSinkData *Data, 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 |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| void | SetSelectedSource (const string &group) |
| Elemental_Profile * | GetProfileSet (int row) |
| Elemental_Profile * | GetProfileSet (int row) const |
| void | editCompleted (const QString &) |
Public Attributes | |
| SourceSinkData * | Data |
Private Attributes | |
| string | selectedSource |
Definition at line 12 of file selectsampletablemodel.h.
| SelectSampleTableModel::SelectSampleTableModel | ( | SourceSinkData * | Data, |
| QObject * | parent = nullptr ) |
Definition at line 6 of file selectsampletablemodel.cpp.
References Data.
|
override |
Definition at line 14 of file selectsampletablemodel.cpp.
|
override |
Definition at line 18 of file selectsampletablemodel.cpp.
References Data, Interface::GetNotes(), GetProfileSet(), Elemental_Profile::IsIncludedInAnalysis(), and selectedSource.
| void SelectSampleTableModel::editCompleted | ( | const QString & | ) |
Referenced by setData().
|
override |
Definition at line 98 of file selectsampletablemodel.cpp.
| Elemental_Profile * SelectSampleTableModel::GetProfileSet | ( | int | row | ) |
Definition at line 50 of file selectsampletablemodel.cpp.
References Data, and selectedSource.
| Elemental_Profile * SelectSampleTableModel::GetProfileSet | ( | int | row | ) | const |
Definition at line 55 of file selectsampletablemodel.cpp.
References Data, and selectedSource.
|
override |
Definition at line 59 of file selectsampletablemodel.cpp.
|
override |
Definition at line 10 of file selectsampletablemodel.cpp.
References Data, and selectedSource.
|
override |
Definition at line 80 of file selectsampletablemodel.cpp.
References editCompleted(), GetProfileSet(), and Elemental_Profile::SetIncludedInAnalysis().
|
inline |
Definition at line 27 of file selectsampletablemodel.h.
References selectedSource.
Referenced by SelectSamples::comboChanged(), and SelectSamples::SetData().
| SourceSinkData* SelectSampleTableModel::Data |
Definition at line 26 of file selectsampletablemodel.h.
Referenced by SelectSampleTableModel(), data(), GetProfileSet(), GetProfileSet(), and rowCount().
|
private |
Definition at line 16 of file selectsampletablemodel.h.
Referenced by data(), GetProfileSet(), GetProfileSet(), rowCount(), and SetSelectedSource().