parley
guifrontend.h
Go to the documentation of this file.
87 // show two buttons (i didn't know it, i knew it) instead of the continue button and disable the correct/wrong toggle (needed for flash card mode)
virtual void setResultState(ResultState resultState)
The result state indicated whether a word is counted as correct (and grades are raised) and can be ch...
Definition: guifrontend.cpp:315
Definition: guifrontend.h:35
virtual void setFeedback(const QVariant &feedback)
Definition: guifrontend.cpp:304
virtual void setSolutionSound(const KUrl &soundUrl)
Definition: guifrontend.cpp:299
virtual void setSolutionImage(const KUrl &img)
Definition: guifrontend.cpp:265
virtual void modeWidgetDestroyed(QObject *obj=0)
To be called prior to deleting a modeWidget.
Definition: guifrontend.cpp:431
virtual void setSolution(const QVariant &solution)
Definition: guifrontend.cpp:255
Definition: abstractwidget.h:27
void showSetResultButtons(bool show)
Definition: guifrontend.cpp:187
virtual bool event(QEvent *e)
virtual void setFinishedWordsTotalWords(int finished, int total)
The status such as lesson or number of words has changed.
Definition: guifrontend.cpp:202
virtual void setQuestion(const QVariant &question)
Definition: guifrontend.cpp:239
bool eventFilter(QObject *object, QEvent *event)
Definition: guifrontend.cpp:195
virtual void setSolutionPronunciation(const QString &pronunciationText)
Definition: guifrontend.cpp:294
virtual void setSolutionFont(const QFont &font)
Definition: guifrontend.cpp:275
void showGrade(int preGrade, int grade)
Definition: guifrontend.cpp:134
virtual void setSynonym(const QString &entry)
set a new synonym that should be shown
Definition: guifrontend.cpp:164
virtual void setFeedbackState(ResultState feedbackState)
The feedback state tells the user if the currently entered word is correct (independent of whether th...
Definition: guifrontend.cpp:309
void backgroundChanged(const QPixmap &pixmap)
Definition: guifrontend.cpp:182
Definition: abstractfrontend.h:26
virtual void setHint(const QVariant &hint)
Definition: guifrontend.cpp:234
virtual void setQuestionPronunciation(const QString &pronunciationText)
Definition: guifrontend.cpp:245
virtual void setQuestionFont(const QFont &font)
Definition: guifrontend.cpp:270
void setKnownLangFont(const QFont &font)
Definition: guifrontend.cpp:223
void setBoxes(grade_t currentBox, grade_t newBoxIfCorrect, grade_t newBoxIfWrong)
Definition: guifrontend.cpp:174
Definition: imagewidget.h:24
QFont learningLangFont() const
Definition: guifrontend.cpp:218
QObject * parent() const
virtual void setQuestionSound(const KUrl &soundUrl)
Definition: guifrontend.cpp:250
virtual void setQuestionImage(const KUrl &img)
Definition: guifrontend.cpp:260
void setLearningLangFont(const QFont &font)
Definition: guifrontend.cpp:228
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
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.