• 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
  • 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 "sessionmanagerbase.h"
20 
21 class ParleyMainWindow;
22 class KToggleFullScreenAction;
23 class QPropertyAnimation;
24 
25 namespace Practice
26 {
27 class PracticeStateMachine;
28 class GuiFrontend;
29 
30 class PracticeMainWindow : public KXmlGuiWindow
31 {
32  Q_OBJECT
33 public:
34  PracticeMainWindow(SessionManagerBase* sessionManager, ParleyMainWindow* mainWindow = 0);
35  ~PracticeMainWindow();
36 
37  void startPractice();
38 
39 public Q_SLOTS:
40  void toggleFullScreenMode(bool fullScreen);
41  void practiceFinished();
42 
43 Q_SIGNALS:
44  void enterPressed();
45  void stopPractice();
46 
47 protected:
48  virtual void resizeEvent(QResizeEvent *e);
49  virtual bool event(QEvent *event);
50 
51 private:
52  void initActions();
53 
54  GuiFrontend* m_guiFrontend;
55  PracticeStateMachine* m_stateMachine;
56  ParleyMainWindow* m_mainWindow;
57  QWidget* m_floatingToolBar;
58  KToggleFullScreenAction* m_fullScreenAction;
59  QPropertyAnimation* m_animation;
60 };
61 }
62 
63 #endif
QEvent
QResizeEvent
QWidget
Practice::GuiFrontend
Definition: guifrontend.h:35
Practice::PracticeMainWindow::practiceFinished
void practiceFinished()
Definition: practicemainwindow.cpp:175
Practice::PracticeMainWindow::stopPractice
void stopPractice()
ParleyMainWindow
Definition: parleymainwindow.h:41
Practice::PracticeMainWindow::~PracticeMainWindow
~PracticeMainWindow()
Definition: practicemainwindow.cpp:63
Practice::PracticeStateMachine
Definition: practicestatemachine.h:28
KXmlGuiWindow
QPropertyAnimation
Practice::PracticeMainWindow::enterPressed
void enterPressed()
Practice::PracticeMainWindow::event
virtual bool event(QEvent *event)
Definition: practicemainwindow.cpp:127
Practice::PracticeMainWindow
Definition: practicemainwindow.h:30
Practice::PracticeMainWindow::PracticeMainWindow
PracticeMainWindow(SessionManagerBase *sessionManager, ParleyMainWindow *mainWindow=0)
Definition: practicemainwindow.cpp:37
Practice::PracticeMainWindow::resizeEvent
virtual void resizeEvent(QResizeEvent *e)
Definition: practicemainwindow.cpp:117
sessionmanagerbase.h
Practice::PracticeMainWindow::startPractice
void startPractice()
Definition: practicemainwindow.cpp:155
Practice::SessionManagerBase
Definition: sessionmanagerbase.h:40
Practice::PracticeMainWindow::toggleFullScreenMode
void toggleFullScreenMode(bool fullScreen)
Definition: practicemainwindow.cpp:144
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