mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added support for visualization the Weigthssystems on the Equipment Tab.
This patch adds support showing and for editing weigthsystems in the equipment tab, so, now the two things that are missing are 'edit' and 'delete', wich are quite easy to do. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
126bc8cfa3
commit
be31a53b0d
3 changed files with 35 additions and 13 deletions
|
@ -70,9 +70,11 @@ public:
|
|||
void add(weightsystem_t *weight);
|
||||
void clear();
|
||||
void update();
|
||||
void setDive(struct dive *d);
|
||||
|
||||
private:
|
||||
/* Remember the number of rows in a dive */
|
||||
QMap<struct dive *, int> usedRows;
|
||||
struct dive *current;
|
||||
int rows;
|
||||
};
|
||||
|
||||
/*! An AbstractItemModel for recording dive trip information such as a list of dives.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue