mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/divelist: add first version of new MobileListModel proxy model
Create a model which represents all top-level items and, potentially, one expanded trip as a flat list. Pass down roles to the source model and let the source model handle that. We'll have to do some ifdef-ery, but so be it. Additionally, compile the base model on mobile as well. This contains a couple of hacks to make things compile at all. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
90f8c1138e
commit
35b33b8c6a
6 changed files with 656 additions and 1 deletions
|
@ -128,6 +128,8 @@ SOURCES += ../../subsurface-mobile-main.cpp \
|
|||
../../qt-models/diveimportedmodel.cpp \
|
||||
../../qt-models/messagehandlermodel.cpp \
|
||||
../../qt-models/diveplannermodel.cpp \
|
||||
../../qt-models/divetripmodel.cpp \
|
||||
../../qt-models/mobilelistmodel.cpp \
|
||||
../../qt-models/cylindermodel.cpp \
|
||||
../../qt-models/cleanertablemodel.cpp \
|
||||
../../qt-models/tankinfomodel.cpp \
|
||||
|
@ -267,6 +269,8 @@ HEADERS += \
|
|||
../../qt-models/diveimportedmodel.h \
|
||||
../../qt-models/messagehandlermodel.h \
|
||||
../../qt-models/diveplannermodel.h \
|
||||
../../qt-models/divetripmodel.h \
|
||||
../../qt-models/mobilelistmodel.h \
|
||||
../../qt-models/cylindermodel.h \
|
||||
../../qt-models/cleanertablemodel.h \
|
||||
../../qt-models/tankinfomodel.h \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue