|
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 9 of file selectsampletablemodel.h.
| SelectSampleTableModel::SelectSampleTableModel | ( | SourceSinkData * | Data, |
| QObject * | parent = nullptr |
||
| ) |
Definition at line 3 of file selectsampletablemodel.cpp.
References Data.
|
override |
Definition at line 11 of file selectsampletablemodel.cpp.
|
override |
Definition at line 15 of file selectsampletablemodel.cpp.
References Data, Interface::GetNotes(), GetProfileSet(), SourceSinkData::GetSampleNames(), Elemental_Profile::IsIncludedInAnalysis(), and selectedSource.
| void SelectSampleTableModel::editCompleted | ( | const QString & | ) |
Referenced by setData().
|
override |
Definition at line 95 of file selectsampletablemodel.cpp.
| Elemental_Profile * SelectSampleTableModel::GetProfileSet | ( | int | row | ) |
Definition at line 47 of file selectsampletablemodel.cpp.
References Data, SourceSinkData::GetSampleNames(), and selectedSource.
| Elemental_Profile * SelectSampleTableModel::GetProfileSet | ( | int | row | ) | const |
Definition at line 52 of file selectsampletablemodel.cpp.
References Data, SourceSinkData::GetSampleNames(), and selectedSource.
|
override |
Definition at line 56 of file selectsampletablemodel.cpp.
|
override |
Definition at line 7 of file selectsampletablemodel.cpp.
References Data, and selectedSource.
|
override |
Definition at line 77 of file selectsampletablemodel.cpp.
References editCompleted(), GetProfileSet(), and Elemental_Profile::SetIncludedInAnalysis().
|
inline |
Definition at line 24 of file selectsampletablemodel.h.
References selectedSource.
Referenced by SelectSamples::comboChanged(), and SelectSamples::SetData().
| SourceSinkData* SelectSampleTableModel::Data |
Definition at line 23 of file selectsampletablemodel.h.
Referenced by SelectSampleTableModel(), data(), GetProfileSet(), GetProfileSet(), and rowCount().
|
private |
Definition at line 13 of file selectsampletablemodel.h.
Referenced by data(), GetProfileSet(), GetProfileSet(), rowCount(), and SetSelectedSource().