filter: add a filter constraint widget

This add a widget that represents a single filter constraint. Since
filter constraints are very general, the widget has to consider a
number of cases:
- numerical ranges
- star-widget ranges
- string lists
- multiple choice lists
Moreover, it supports units, which must be updated when the preferences
change.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-05-17 12:07:04 +02:00 committed by Dirk Hohndel
parent af9d379a41
commit c0af74ba88
3 changed files with 544 additions and 0 deletions

View file

@ -77,6 +77,8 @@ set(SUBSURFACE_INTERFACE
divesiteimportdialog.h
downloadfromdivecomputer.cpp
downloadfromdivecomputer.h
filterconstraintwidget.cpp
filterconstraintwidget.h
filterwidget2.cpp
filterwidget2.h
findmovedimagesdialog.cpp