projects
/
harbour-pedalo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add graph animation; support for line graphs
[harbour-pedalo.git]
/
src
/
statsmodel.h
diff --git
a/src/statsmodel.h
b/src/statsmodel.h
index
662cf79
..
3a2b41b
100644
(file)
--- a/
src/statsmodel.h
+++ b/
src/statsmodel.h
@@
-12,12
+12,13
@@
class StatsModel : public QAbstractListModel
public:
enum StatsRoles {
TitleRole = Qt::UserRole + 1,
public:
enum StatsRoles {
TitleRole = Qt::UserRole + 1,
- ValuesRole,
+ BarValuesRole,
+ LineValuesRole,
LabelsRole,
UnitsRole,
MinValRole,
MaxValRole,
LabelsRole,
UnitsRole,
MinValRole,
MaxValRole,
- StepRole
+ StepRole,
};
QHash<int, QByteArray> roleNames() const;
};
QHash<int, QByteArray> roleNames() const;
@@
-37,6
+38,7
@@
public:
private:
QHash<int, QByteArray> roles;
QList<Stats *> stats;
private:
QHash<int, QByteArray> roles;
QList<Stats *> stats;
+ int visibleIndex;
};
#endif // STATSMODEL_H
};
#endif // STATSMODEL_H