desktop: add tab-widget for dive computer names

If we want to include dive computer names in the undo system,
there should be visual feedback on undo/redo.

This would mean opening the divecomputer dialog, which would
appear quite strange. Therefore, add a tab. This is not ideal,
but consistent with the dive site tab, which probably shouldn't
be there either. In the future, the UI needs some rethinking.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-09-12 23:31:46 +02:00 committed by Dirk Hohndel
parent faebb53909
commit fa7dfa3710
8 changed files with 103 additions and 4 deletions

View file

@ -53,6 +53,7 @@ set (SUBSURFACE_UI
tab-widgets/TabDiveExtraInfo.ui
tab-widgets/TabDiveEquipment.ui
tab-widgets/TabDiveSite.ui
tab-widgets/TabDiveComputer.ui
)
# the interface, in C++
@ -123,6 +124,8 @@ set(SUBSURFACE_INTERFACE
tab-widgets/TabDiveStatistics.h
tab-widgets/TabDiveSite.cpp
tab-widgets/TabDiveSite.h
tab-widgets/TabDiveComputer.cpp
tab-widgets/TabDiveComputer.h
tab-widgets/maintab.cpp
tab-widgets/maintab.h
tableview.cpp