mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add the gas presssure profile texts.
This just adds the texts for the gas profile. I've also added a method on the dataModel() to return the diveId of the last used dive in a way that the other methods can use it. This code is almost 1-to-1 with the old one, a bit of thinkering can be used to merge this loop with the upper one. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
21d34db3a9
commit
9d33640bea
4 changed files with 66 additions and 9 deletions
|
|
@ -19,9 +19,11 @@ public:
|
|||
void clear();
|
||||
void setDive(struct dive *d, const plot_info& pInfo);
|
||||
plot_data* data();
|
||||
int id() const;
|
||||
private:
|
||||
int sampleCount;
|
||||
plot_data *plotData;
|
||||
int diveId;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue