mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
78ee3f40a5
commit
03e771066b
4 changed files with 18 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue