X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=src%2Fstatsmodel.h;fp=src%2Fstatsmodel.h;h=3a2b41b25c4e9acbec2ed3d66ce90a1342cc0f2c;hp=662cf79ab0ca79579f4d482d730119e91e32f518;hb=54ab3ebfadf8cb258561a4641249da8c6469dc0f;hpb=e6c4099f5bb1565a770e55d1dd671d846dcbd68b diff --git a/src/statsmodel.h b/src/statsmodel.h index 662cf79..3a2b41b 100644 --- a/src/statsmodel.h +++ b/src/statsmodel.h @@ -12,12 +12,13 @@ class StatsModel : public QAbstractListModel public: enum StatsRoles { TitleRole = Qt::UserRole + 1, - ValuesRole, + BarValuesRole, + LineValuesRole, LabelsRole, UnitsRole, MinValRole, MaxValRole, - StepRole + StepRole, }; QHash roleNames() const; @@ -37,6 +38,7 @@ public: private: QHash roles; QList stats; + int visibleIndex; }; #endif // STATSMODEL_H