• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

parley

  • sources
  • kde-4.14
  • kdeedu
  • parley
  • src
  • statistics
lessonstatisticsview.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  Copyright 2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
4 
5  ***************************************************************************/
6 
7 /***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef LESSONSTATISTICSVIEW_H
17 #define LESSONSTATISTICSVIEW_H
18 
19 #include "containerview.h"
20 
25 class LessonStatisticsView : public ContainerView
26 {
27  Q_OBJECT
28 
29 public:
30  LessonStatisticsView(QWidget *parent);
31  void setModel(ContainerModel *model);
32 
33 private Q_SLOTS:
34  void removeGrades();
35  void removeGradesChildren();
36 
37 protected:
38  virtual void resizeEvent(QResizeEvent *event);
39 
40 private Q_SLOTS:
41  void sectionResized(int index, int /*oldSize*/, int /*newSize*/);
42  void adjustColumnWidths();
43 
44 private:
45  virtual void setModel(QAbstractItemModel *model) {
46  Q_UNUSED(model)
47  }
48 };
49 
50 #endif
QResizeEvent
QWidget
ContainerView
View for containers (KEduVocContainer).
Definition: containerview.h:31
ContainerModel
Model for the tree of containers (lessons, word types).
Definition: containermodel.h:33
LessonStatisticsView::setModel
void setModel(ContainerModel *model)
Set the model for the view.
Definition: lessonstatisticsview.cpp:110
LessonStatisticsView::resizeEvent
virtual void resizeEvent(QResizeEvent *event)
Definition: lessonstatisticsview.cpp:122
LessonStatisticsView::LessonStatisticsView
LessonStatisticsView(QWidget *parent)
Definition: lessonstatisticsview.cpp:77
containerview.h
QAbstractItemView::event
virtual bool event(QEvent *event)
LessonStatisticsView
View for the lesson list.
Definition: lessonstatisticsview.h:25
QAbstractItemModel
QAbstractItemView::model
QAbstractItemModel * model() const
QObject::parent
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal