diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-06-04 14:40:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-04 07:11:01 -0700 |
commit | 03e771066bf79c2f719b58948a55547f105f2dc2 (patch) | |
tree | 3ec16e166a6c0be31d6cf6d43fd74fe516118e16 /qt-models/diveimportedmodel.h | |
parent | 78ee3f40a5f3b55b9d98842f7e309b7bba9882c0 (diff) | |
download | subsurface-03e771066bf79c2f719b58948a55547f105f2dc2.tar.gz |
QML UI: show selection box on the Download from DC list
QML and C++ model don't interact too much, a new Rule
should be created and used on the QML
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveimportedmodel.h')
-rw-r--r-- | qt-models/diveimportedmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/diveimportedmodel.h b/qt-models/diveimportedmodel.h index 21674480d..3d128b074 100644 --- a/qt-models/diveimportedmodel.h +++ b/qt-models/diveimportedmodel.h @@ -8,7 +8,7 @@ class DiveImportedModel : public QAbstractTableModel { Q_OBJECT public: - enum roleTypes { DateTime = Qt::UserRole + 1, Duration, Depth}; + enum roleTypes { DateTime = Qt::UserRole + 1, Duration, Depth, Selected}; DiveImportedModel(QObject *parent = 0); void setDiveTable(struct dive_table *table); |