subsurface/packaging
Berthold Stoeger 1a85b0e941 mobile/summary: create DiveSummaryModel
Instead of passing the dive summary via a completely unstructured
QStringList to QML, implement a dynamic model. For potential reuse
on desktop (though somewhat unlikely) the model has two interfaces,
one for QtWidgets and one for QML. The former is based on columns,
whereas the later is based on roles. The number of columns is
set dynamically. The roles currently support access to two columns.
If more columns should be accessed from QML, more roles have to
be added manually.

This commit only creates the model and hooks it into QMLs global
context, but does not yet change the QML page.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-02-08 10:29:36 -08:00
..
android Android: update README to mention build container 2019-11-20 18:58:43 -08:00
headless Preserve wiki pages about headless Subsurface from trac wiki 2018-01-19 15:25:37 +01:00
ios mobile/summary: create DiveSummaryModel 2020-02-08 10:29:36 -08:00
macosx build-system: add backend_shared to Xcode project 2019-12-24 08:44:23 +09:00
OBS Rename README to README.md in some scripts, makefiles,... 2017-11-04 10:55:11 -07:00
ubuntu build-system: fix appdata creation on OBS 2018-09-20 10:02:54 -07:00
windows Revert "Windows build: Changesto build using mxebased hidapi,libusb and grantlee" 2019-10-14 07:31:56 -07:00