Fixed the 'click in close doesn't close' on KMessageWidget.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Rework on the Equipment tab to make it look more Modern.

Note that this is a WIP and it does break functionality
- ie, not possible to add Equipments, but this will be
fixed in the next commit. Removed add / edit / remove
buttons, only a single '+' icon appears on the widget
now. the edit / delete will be done in place.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Re Enable the option to add cylinders / weigthsystems.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Only enable the add buttons when there's a dive loaded

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Added a 'trash' icon on the Cylinders and Weigthsystem models

So, the Cylinders and Weigthsystems got a new Trash icon,
and the interface already intercepts the clicks ( on all
columns ) and send this to the 'remove' method on boch
models. On the model I'm just filtering the indexes that
are not 'DELETE' and creating a stub method to be filled
later.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Extend a bit the skeleton 'removes' on cylinder and weigth to help dirk.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Added basic editing functionality for Cylinders and Weigthsystems

This patch adds basic editing functionality for Cylinders and Weigthsystems,
it still doesn't use delegates to show the data to the user in a better
way, and it does not take in consideration user preferences yet, but
it's a starting point.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Merge branch 'randomFixes' of https://github.com/tcanabrava/subsurface
Shorten the 'set location' text

The old text was quite verbose and caused issues on smaller screens

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>