mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Profile now correctly displays the planned dive.
But it doesn't move the handlers yet, and when you confirm it you also must click on the dive to select it or the profile will show garbage. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c6ad04d076
commit
f99ccc8ac2
5 changed files with 58 additions and 34 deletions
|
@ -55,7 +55,7 @@ public:
|
|||
void editStop(int row, divedatapoint newData);
|
||||
divedatapoint at(int row);
|
||||
int size();
|
||||
struct diveplan getDiveplan();
|
||||
struct diveplan& getDiveplan();
|
||||
QStringList &getGasList();
|
||||
QVector<QPair<int, int> > collectGases(dive *d);
|
||||
int lastEnteredPoint();
|
||||
|
@ -276,4 +276,7 @@ private:
|
|||
Ui::DivePlanner ui;
|
||||
};
|
||||
|
||||
QString gasToStr(const int o2Permille, const int hePermille);
|
||||
QString dpGasToStr(const divedatapoint &p);
|
||||
|
||||
#endif // DIVEPLANNER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue