diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-09-12 23:31:46 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:59:04 -0700 |
commit | fa7dfa37102fe2b0cf7518c329c3ba0273e39ab9 (patch) | |
tree | 09562030ea022630bf1306d2e0d31ad6cb21083a /desktop-widgets/tab-widgets/TabDiveComputer.ui | |
parent | faebb539091ca5550bb6b60280d692c50d547bc0 (diff) | |
download | subsurface-fa7dfa37102fe2b0cf7518c329c3ba0273e39ab9.tar.gz |
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>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveComputer.ui')
-rw-r--r-- | desktop-widgets/tab-widgets/TabDiveComputer.ui | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveComputer.ui b/desktop-widgets/tab-widgets/TabDiveComputer.ui new file mode 100644 index 000000000..e14511fd7 --- /dev/null +++ b/desktop-widgets/tab-widgets/TabDiveComputer.ui @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>TabDiveComputer</class> + <widget class="QWidget" name="TabDiveComputer"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>300</height> + </rect> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="TableView" name="table"/> + </item> + </layout> + </widget> + <customwidgets> + <customwidget> + <class>TableView</class> + <extends>QWidget</extends> + <header>desktop-widgets/tableview.h</header> + <container>1</container> + </customwidget> + </customwidgets> + <resources/> + <connections/> +</ui> |