Changeset View
Changeset View
Standalone View
Standalone View
src/statistics/lessonstatisticsview.h
Show All 24 Lines | |||||
25 | class LessonStatisticsView : public ContainerView | 25 | class LessonStatisticsView : public ContainerView | ||
26 | { | 26 | { | ||
27 | Q_OBJECT | 27 | Q_OBJECT | ||
28 | 28 | | |||
29 | public: | 29 | public: | ||
30 | LessonStatisticsView(QWidget *parent); | 30 | LessonStatisticsView(QWidget *parent); | ||
31 | void setModel(ContainerModel *model) Q_DECL_OVERRIDE; | 31 | void setModel(ContainerModel *model) Q_DECL_OVERRIDE; | ||
32 | 32 | | |||
33 | private Q_SLOTS: | 33 | public Q_SLOTS: | ||
34 | void removeGrades(); | 34 | void adjustColumnWidths(); | ||
35 | void removeGradesChildren(); | | |||
36 | 35 | | |||
37 | protected: | 36 | protected: | ||
38 | void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE; | 37 | void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE; | ||
39 | 38 | | |||
40 | private Q_SLOTS: | 39 | private Q_SLOTS: | ||
40 | void removeGrades(); | ||||
41 | void removeGradesChildren(); | ||||
41 | void sectionResized(int index, int /*oldSize*/, int /*newSize*/); | 42 | void sectionResized(int index, int /*oldSize*/, int /*newSize*/); | ||
42 | void adjustColumnWidths(); | | |||
43 | 43 | | |||
44 | private: | 44 | private: | ||
45 | void setModel(QAbstractItemModel *model) Q_DECL_OVERRIDE { | 45 | void setModel(QAbstractItemModel *model) Q_DECL_OVERRIDE { | ||
46 | Q_UNUSED(model) | 46 | Q_UNUSED(model) | ||
47 | } | 47 | } | ||
48 | }; | 48 | }; | ||
49 | 49 | | |||
50 | #endif | 50 | #endif |