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

parley

  • sources
  • kde-4.12
  • kdeedu
  • parley
  • src
  • statistics
statisticsmainwindow.h
Go to the documentation of this file.
1 /***************************************************************************
2  copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
3  (C) 2005-2007 Peter Hedlund <peter.hedlund@kdemail.net>
4  Copyright 2008-2010 Frederik Gladhorn <gladhorn@kde.org>
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 STATISTICSMAINWINDOW_H
17 #define STATISTICSMAINWINDOW_H
18 
19 #include <KXmlGuiWindow>
20 
21 class ConjugationOptions;
22 class LessonStatisticsView;
23 class StatisticsModel;
24 class KEduVocDocument;
25 class ParleyMainWindow;
26 namespace Ui {
27  class StatisticsMainWindow;
28 }
29 
30 class StatisticsMainWindow : public KXmlGuiWindow
31 {
32  Q_OBJECT
33 public:
34  StatisticsMainWindow(KEduVocDocument* doc, ParleyMainWindow* parent);
35  ~StatisticsMainWindow();
36 
37  void setDocument(KEduVocDocument* doc);
38 
39  void syncConfig();
40 
41 Q_SIGNALS:
42  void languagesChanged(int, int);
43 
44 private slots:
45  void configurePractice();
46  void languagesChanged();
47  void practiceModeSelected(int mode);
48  void updateVisibleColumns();
49 
50 private:
51  void initActions();
52  void initPracticeModeSelection();
53  void initLanguages();
54  void showConjugationOptions(bool visible = true);
55 
56  ParleyMainWindow* m_mainWindow;
57  KEduVocDocument* m_doc;
58  StatisticsModel* m_statisticsModel;
59  Ui::StatisticsMainWindow* m_ui;
60  ConjugationOptions* m_conjugationOptions;
61 };
62 
63 #endif
StatisticsMainWindow::StatisticsMainWindow
StatisticsMainWindow(KEduVocDocument *doc, ParleyMainWindow *parent)
Definition: statisticsmainwindow.cpp:42
ParleyMainWindow
Definition: parleymainwindow.h:68
KXmlGuiWindow
StatisticsMainWindow::~StatisticsMainWindow
~StatisticsMainWindow()
Definition: statisticsmainwindow.cpp:68
ConjugationOptions
Definition: conjugationoptions.h:22
StatisticsMainWindow
Definition: statisticsmainwindow.h:30
StatisticsMainWindow::languagesChanged
void languagesChanged(int, int)
LessonStatisticsView
View for the lesson list.
Definition: lessonstatistics.h:25
StatisticsModel
Definition: statisticsmodel.h:23
StatisticsMainWindow::setDocument
void setDocument(KEduVocDocument *doc)
Definition: statisticsmainwindow.cpp:86
StatisticsMainWindow::syncConfig
void syncConfig()
Definition: statisticsmainwindow.cpp:78
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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