mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Connect cylinders entered in planner with the gases available
Now the gases for which we have cylinders are offered in the gas selection list and correctly recognized and added for the plan. Still tons of work to be done to make this work the way it is designed, but we are getting closer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9ead871d64
commit
0a8892379d
3 changed files with 42 additions and 14 deletions
|
@ -14,7 +14,7 @@ class QStringListModel;
|
|||
class QModelIndex;
|
||||
|
||||
// Return a Model containing the air types.
|
||||
QStringListModel *airTypes();
|
||||
QStringListModel *gasSelectionModel();
|
||||
|
||||
class DivePlannerPointsModel : public QAbstractTableModel{
|
||||
Q_OBJECT
|
||||
|
@ -41,6 +41,7 @@ public:
|
|||
divedatapoint at(int row);
|
||||
int size();
|
||||
struct diveplan getDiveplan();
|
||||
QStringList &getGasList();
|
||||
public slots:
|
||||
int addStop(int meters = 0, int minutes = 0, int o2 = 0, int he = 0, int ccpoint = 0 );
|
||||
void addCylinder_clicked();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue