• 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
  • practice
practicemainwindow.h
Go to the documentation of this file.
1 /***************************************************************************
2  Copyright 2009 Daniel Laidig <d.laidig@gmx.de>
3  ***************************************************************************/
4 
5 /***************************************************************************
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef PRACTICE_MAINWINDOW_H
15 #define PRACTICE_MAINWINDOW_H
16 
17 #include <KXmlGuiWindow>
18 #include <QtGui/QKeyEvent>
19 #include "testentrymanager.h"
20 
21 class ParleyMainWindow;
22 class KToggleFullScreenAction;
23 class QPropertyAnimation;
24 
25 namespace Practice {
26  class PracticeStateMachine;
27  class GuiFrontend;
28 
29 class PracticeMainWindow : public KXmlGuiWindow
30 {
31  Q_OBJECT
32 public:
33  PracticeMainWindow(TestEntryManager* m_testEntryManager, ParleyMainWindow* mainWindow = 0);
34  ~PracticeMainWindow();
35 
36  void startPractice();
37 
38 public Q_SLOTS:
39  void toggleFullScreenMode(bool fullScreen);
40  void practiceFinished();
41 
42 Q_SIGNALS:
43  void enterPressed();
44  void stopPractice();
45 
46 protected:
47  virtual void resizeEvent(QResizeEvent *e);
48  virtual bool event(QEvent *event);
49 
50 private:
51  void initActions();
52 
53  GuiFrontend* m_guiFrontend;
54  PracticeStateMachine* m_stateMachine;
55  ParleyMainWindow* m_mainWindow;
56  QWidget* m_floatingToolBar;
57  KToggleFullScreenAction* m_fullScreenAction;
58  QPropertyAnimation* m_animation;
59 };
60 }
61 
62 #endif
Practice::GuiFrontend
Definition: guifrontend.h:33
Practice::PracticeMainWindow::practiceFinished
void practiceFinished()
Definition: practicemainwindow.cpp:167
Practice::PracticeMainWindow::stopPractice
void stopPractice()
testentrymanager.h
ParleyMainWindow
Definition: parleymainwindow.h:68
QWidget
Practice::TestEntryManager
Definition: testentrymanager.h:31
Practice::PracticeMainWindow::~PracticeMainWindow
~PracticeMainWindow()
Definition: practicemainwindow.cpp:64
Practice::PracticeStateMachine
Definition: practicestatemachine.h:27
KXmlGuiWindow
Practice::PracticeMainWindow::PracticeMainWindow
PracticeMainWindow(TestEntryManager *m_testEntryManager, ParleyMainWindow *mainWindow=0)
Definition: practicemainwindow.cpp:38
Practice::PracticeMainWindow::enterPressed
void enterPressed()
Practice::PracticeMainWindow::event
virtual bool event(QEvent *event)
Definition: practicemainwindow.cpp:124
Practice::PracticeMainWindow
Definition: practicemainwindow.h:29
Practice::PracticeMainWindow::resizeEvent
virtual void resizeEvent(QResizeEvent *e)
Definition: practicemainwindow.cpp:114
Practice::PracticeMainWindow::startPractice
void startPractice()
Definition: practicemainwindow.cpp:150
Practice::PracticeMainWindow::toggleFullScreenMode
void toggleFullScreenMode(bool fullScreen)
Definition: practicemainwindow.cpp:141
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