parley
practicemainwindow.cpp
Go to the documentation of this file.
50 m_stateMachine = new PracticeStateMachine(m_guiFrontend, mainWindow->parleyDocument(), options, testEntryManager, this);
88 toggleAnswerState->setHelpText(i18n("When you answered, Parley will display that the answer was right or wrong.\nThis shortcut changes how the answer is counted."));
117 m_animation->setStartValue(QRect(QPoint(0,-m_floatingToolBar->height()), m_floatingToolBar->size()));
128 if(m_animation->direction() == QAbstractAnimation::Backward && pos.y() <= m_floatingToolBar->height()) {
132 if (m_animation->direction() == QAbstractAnimation::Forward && pos.y() > (m_floatingToolBar->height()+20)) {
152 QString questionLocale = m_mainWindow->parleyDocument()->document()->identifier(Prefs::questionLanguage()).locale();
158 QString solutionLocale = m_mainWindow->parleyDocument()->document()->identifier(Prefs::solutionLanguage()).locale();
Definition: practiceoptions.h:22
Definition: guifrontend.h:33
void practiceFinished()
Definition: practicemainwindow.cpp:167
void stopPractice()
Definition: parleymainwindow.h:68
Definition: testentrymanager.h:31
~PracticeMainWindow()
Definition: practicemainwindow.cpp:64
PracticeMainWindow(TestEntryManager *m_testEntryManager, ParleyMainWindow *mainWindow=0)
Definition: practicemainwindow.cpp:38
void enterPressed()
virtual void setSolutionFont(const QFont &font)
Definition: guifrontend.cpp:235
virtual bool event(QEvent *event)
Definition: practicemainwindow.cpp:124
Definition: languagesettings.h:10
virtual void resizeEvent(QResizeEvent *e)
Definition: practicemainwindow.cpp:114
virtual void setQuestionFont(const QFont &font)
Definition: guifrontend.cpp:230
void startPractice()
Definition: practicemainwindow.cpp:150
ParleyDocument * parleyDocument()
Return the ParleyDocument member object.
Definition: parleymainwindow.cpp:412
void toggleFullScreenMode(bool fullScreen)
Definition: practicemainwindow.cpp:141
static int solutionLanguage()
Get The language in which the user has to answer.
Definition: prefs.h:1186
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
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.