mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
filter: add filter constraint model
Add a model that keeps track of a list of filter constraint and makes them accessible from Qt. Sadly, this is mostly repetitive boiler-plate code, but this is due to Qt's model/view-API, which is a perfect example of how *not* to design a reasonable modern API. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
634152ae43
commit
af9d379a41
6 changed files with 261 additions and 2 deletions
|
|
@ -144,6 +144,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \
|
|||
../../qt-models/tankinfomodel.cpp \
|
||||
../../qt-models/models.cpp \
|
||||
../../qt-models/weightsysteminfomodel.cpp \
|
||||
../../qt-models/filterconstraintmodel.cpp \
|
||||
../../profile-widget/qmlprofile.cpp \
|
||||
../../profile-widget/divecartesianaxis.cpp \
|
||||
../../profile-widget/diveeventitem.cpp \
|
||||
|
|
@ -293,6 +294,7 @@ HEADERS += \
|
|||
../../qt-models/tankinfomodel.h \
|
||||
../../qt-models/models.h \
|
||||
../../qt-models/weightsysteminfomodel.h \
|
||||
../../qt-models/filterconstraintmodel.h \
|
||||
../../profile-widget/qmlprofile.h \
|
||||
../../profile-widget/diveprofileitem.h \
|
||||
../../profile-widget/profilewidget2.h \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue