parley
writtenpracticewidget.cpp
Go to the documentation of this file.
30 WrittenPracticeWidget::WrittenPracticeWidget(GuiFrontend *frontend, QWidget *parent, bool isExampleSentenceMode)
virtual void setSolutionSound(const KUrl &soundUrl)
Definition: writtenpracticewidget.cpp:198
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
void clear()
virtual void setQuestion(const QVariant &question)
Definition: writtenpracticewidget.cpp:94
const QPalette & palette() const
Definition: guifrontend.h:35
void continueClicked()
Definition: writtenpracticewidget.cpp:84
virtual void setSolutionFont(const QFont &font)
Definition: writtenpracticewidget.cpp:77
virtual void setQuestionPronunciation(const QString &pronunciationText)
Definition: writtenpracticewidget.cpp:209
virtual void setQuestionFont(const QFont &font)
Definition: writtenpracticewidget.cpp:72
virtual void setFeedback(const QVariant &feedback)
Definition: writtenpracticewidget.cpp:178
void continueAction()
void setAlignment(QFlags< Qt::AlignmentFlag >)
Definition: latexrenderer.h:27
virtual void setSynonym(const QString &entry)
Definition: writtenpracticewidget.cpp:154
void setResultLabel(QLabel *label)
Definition: latexrenderer.h:33
Definition: abstractwidget.h:27
bool isNull() const
void skipAction()
WrittenPracticeWidget(GuiFrontend *frontend, QWidget *parent=0, bool isExampleSentenceMode=false)
Definition: writtenpracticewidget.cpp:30
virtual void setResultState(AbstractFrontend::ResultState resultState)
Definition: writtenpracticewidget.cpp:188
void showSolution()
Definition: writtenpracticewidget.cpp:139
virtual void setQuestionSound(const KUrl &soundUrl)
Definition: writtenpracticewidget.cpp:193
void append(const T &value)
void setFocus()
QPalette m_correctPalette
Definition: abstractwidget.h:76
void setText(const QString &)
virtual void setHint(const QVariant &hint)
Definition: writtenpracticewidget.cpp:173
const QFont & font() const
virtual void setSolutionPronunciation(const QString &pronunciationText)
Definition: writtenpracticewidget.cpp:203
void showSynonym()
Definition: writtenpracticewidget.cpp:159
virtual void setFeedbackState(AbstractFrontend::ResultState feedbackState)
Definition: writtenpracticewidget.cpp:183
virtual void setSolution(const QVariant &solution)
Definition: writtenpracticewidget.cpp:134
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual QVariant userInput()
Definition: writtenpracticewidget.cpp:89
QString toString() const
void stopAudio()
static bool isLatex(const QString &tex)
Definition: latexrenderer.cpp:96
Ui::WrittenPracticeWidget * m_ui
Definition: writtenpracticewidget.h:72
void showQuestion()
Definition: writtenpracticewidget.cpp:108
virtual void objectDestroyed(QObject *)
To be called prior to focus change during deletion to switch focus away from the KLineEdit answer are...
singleShot
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.