summaryrefslogtreecommitdiff
path: root/src/statistics/StudiedPage.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2021-07-14 11:49:10 +1200
commitd24f813f3f2a05c112e803e4256b53535895fc98 (patch)
tree601e6ae9a1cd44bcfdcf91739a5ca36aedd827c9 /src/statistics/StudiedPage.h
Initial mirror commitHEADmaster
Diffstat (limited to 'src/statistics/StudiedPage.h')
-rw-r--r--src/statistics/StudiedPage.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/statistics/StudiedPage.h b/src/statistics/StudiedPage.h
new file mode 100644
index 0000000..5ccb59b
--- /dev/null
+++ b/src/statistics/StudiedPage.h
@@ -0,0 +1,18 @@
+#ifndef STUDIED_PAGE_H
+#define STUDIED_PAGE_H
+
+#include "TimeChartPage.h"
+
+class StudiedPage: public TimeChartPage
+{
+ Q_OBJECT
+public:
+ StudiedPage(const StatisticsParams* statParams);
+ QString getTitle() const { return tr("Studied cards"); }
+
+protected:
+ QList<QDateTime> getDates(const CardPack* pack) const;
+ int getDataDirection() const { return -1; }
+};
+
+#endif