• 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
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 {
28 class StatisticsMainWindow;
29 }
30 
31 class StatisticsMainWindow : public KXmlGuiWindow
32 {
33  Q_OBJECT
34 public:
35 
36  StatisticsMainWindow(KEduVocDocument* doc, ParleyMainWindow* parent);
37  ~StatisticsMainWindow();
38 
39  void setDocument(KEduVocDocument* doc);
40 
41  void syncConfig();
42 
43 Q_SIGNALS:
44  void languagesChanged(int, int);
45 
46 private slots:
47  void configurePractice();
48  void languagesChanged();
49  void practiceModeSelected(int mode);
50  void practiceDirectionChanged(int mode);
51  void updateVisibleColumns();
52 
53 private:
54  void initActions();
55  void initPracticeModeSelection();
56  void initLanguages();
57  void initPracticeMode();
58  void showConjugationOptions(bool visible = true);
59 
60  ParleyMainWindow* m_mainWindow;
61  KEduVocDocument* m_doc;
62  StatisticsModel* m_statisticsModel;
63  Ui::StatisticsMainWindow* m_ui;
64  ConjugationOptions* m_conjugationOptions;
65 };
66 
67 #endif
StatisticsMainWindow::StatisticsMainWindow
StatisticsMainWindow(KEduVocDocument *doc, ParleyMainWindow *parent)
Definition: statisticsmainwindow.cpp:42
ParleyMainWindow
Definition: parleymainwindow.h:41
KXmlGuiWindow
StatisticsMainWindow::~StatisticsMainWindow
~StatisticsMainWindow()
Definition: statisticsmainwindow.cpp:70
ConjugationOptions
Definition: conjugationoptions.h:22
StatisticsMainWindow
Definition: statisticsmainwindow.h:31
StatisticsMainWindow::languagesChanged
void languagesChanged(int, int)
LessonStatisticsView
View for the lesson list.
Definition: lessonstatisticsview.h:25
StatisticsModel
Definition: statisticsmodel.h:22
StatisticsMainWindow::setDocument
void setDocument(KEduVocDocument *doc)
Definition: statisticsmainwindow.cpp:88
StatisticsMainWindow::syncConfig
void syncConfig()
Definition: statisticsmainwindow.cpp:80
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