parley
#include <guifrontend.h>

Public Slots | |
| void | backgroundChanged (const QPixmap &pixmap) |
| virtual void | modeWidgetDestroyed (QObject *obj=0) |
| void | setBoxes (grade_t currentBox, grade_t newBoxIfCorrect, grade_t newBoxIfWrong) |
| void | setMode (Mode mode) |
| void | showQuestion () |
| void | showSetResultButtons (bool show) |
| void | showSolution () |
| void | showSynonym () |
| void | toggleResultState () |
Public Slots inherited from Practice::AbstractFrontend | |
| virtual void | setBoxes (grade_t currentBox, grade_t newBoxIfCorrect, grade_t newBoxIfWrong)=0 |
| virtual void | setMode (Mode mode)=0 |
| virtual void | showQuestion ()=0 |
| virtual void | showSolution ()=0 |
| virtual void | showSynonym ()=0 |
Public Member Functions | |
| GuiFrontend (QWidget *parent=0) | |
| virtual | ~GuiFrontend () |
| QFont | knownLangFont () const |
| QFont | learningLangFont () const |
| virtual ResultState | resultState () |
| virtual void | setFeedback (const QVariant &feedback) |
| virtual void | setFeedbackState (ResultState feedbackState) |
| virtual void | setFinishedWordsTotalWords (int finished, int total) |
| virtual void | setHint (const QVariant &hint) |
| void | setKnownLangFont (const QFont &font) |
| void | setLearningLangFont (const QFont &font) |
| void | setLessonName (const QString &lessonName) |
| virtual void | setQuestion (const QVariant &question) |
| virtual void | setQuestionFont (const QFont &font) |
| virtual void | setQuestionImage (const KUrl &img) |
| virtual void | setQuestionPronunciation (const QString &pronunciationText) |
| virtual void | setQuestionSound (const KUrl &soundUrl) |
| virtual void | setResultState (ResultState resultState) |
| virtual void | setSolution (const QVariant &solution) |
| virtual void | setSolutionFont (const QFont &font) |
| virtual void | setSolutionImage (const KUrl &img) |
| virtual void | setSolutionPronunciation (const QString &pronunciationText) |
| virtual void | setSolutionSound (const KUrl &soundUrl) |
| virtual void | setSynonym (const QString &entry) |
| void | showGrade (int preGrade, int grade) |
| virtual QVariant | userInput () |
| QWidget * | widget () |
Public Member Functions inherited from Practice::AbstractFrontend | |
| AbstractFrontend (QObject *parent=0) | |
| virtual | ~AbstractFrontend () |
Public Member Functions inherited from QObject | |
| QObject (QObject *parent) | |
| QObject (QObject *parent, const char *name) | |
| virtual | ~QObject () |
| bool | blockSignals (bool block) |
| QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
| const QObjectList & | children () const |
| const char * | className () const |
| bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| bool | disconnect (const QObject *receiver, const char *method) |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
| void | dumpObjectInfo () |
| void | dumpObjectTree () |
| QList< QByteArray > | dynamicPropertyNames () const |
| virtual bool | event (QEvent *e) |
| T | findChild (const QString &name) const |
| QList< T > | findChildren (const QRegExp ®Exp) const |
| QList< T > | findChildren (const QString &name) const |
| bool | inherits (const char *className) const |
| void | insertChild (QObject *object) |
| void | installEventFilter (QObject *filterObj) |
| bool | isA (const char *className) const |
| bool | isWidgetType () const |
| void | killTimer (int id) |
| virtual const QMetaObject * | metaObject () const |
| void | moveToThread (QThread *targetThread) |
| const char * | name () const |
| const char * | name (const char *defaultName) const |
| QString | objectName () const |
| QObject * | parent () const |
| QVariant | property (const char *name) const |
| void | removeChild (QObject *object) |
| void | removeEventFilter (QObject *obj) |
| void | setName (const char *name) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| bool | setProperty (const char *name, const QVariant &value) |
| bool | signalsBlocked () const |
| int | startTimer (int interval) |
| QThread * | thread () const |
Protected Member Functions | |
| bool | eventFilter (QObject *object, QEvent *event) |
Protected Member Functions inherited from QObject | |
| bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const char *signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const char *signal) |
| int | receivers (const char *signal) const |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| virtual void | timerEvent (QTimerEvent *event) |
Additional Inherited Members | |
Public Types inherited from Practice::AbstractFrontend | |
| enum | Mode { None, FlashCard, MixedLetters, MultipleChoice, Written, Conjugation, Comparison, ExampleSentence } |
| enum | ResultState { QuestionState, AnswerCorrect, AnswerSynonym, AnswerWrong } |
Signals inherited from Practice::AbstractFrontend | |
| void | continueAction () |
| void | hintAction () |
| void | skipAction () |
| void | stopPractice () |
Static Public Member Functions inherited from QObject | |
| bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Static Protected Member Functions inherited from QObject | |
| QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
| objectName | |
Detailed Description
Definition at line 35 of file guifrontend.h.
Constructor & Destructor Documentation
| GuiFrontend::GuiFrontend | ( | QWidget * | parent = 0 | ) |
Definition at line 35 of file guifrontend.cpp.
|
virtual |
Definition at line 69 of file guifrontend.cpp.
Member Function Documentation
|
slot |
Definition at line 182 of file guifrontend.cpp.
Reimplemented from QObject.
Definition at line 195 of file guifrontend.cpp.
|
virtual |
fonts for learning and known languages.
These will be used to set question and answer fonts for individual entries.
Implements Practice::AbstractFrontend.
Definition at line 213 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 218 of file guifrontend.cpp.
|
virtualslot |
To be called prior to deleting a modeWidget.
- Todo:
- When frameworks/kde5 is implemented remove this code, if the bug in Qt (returning a pointer to a deleted stylesheet) is fixed.
Definition at line 431 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 352 of file guifrontend.cpp.
|
slot |
Definition at line 174 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 304 of file guifrontend.cpp.
|
virtual |
The feedback state tells the user if the currently entered word is correct (independent of whether the word is counted as correct)
Implements Practice::AbstractFrontend.
Definition at line 309 of file guifrontend.cpp.
|
virtual |
The status such as lesson or number of words has changed.
Implements Practice::AbstractFrontend.
Definition at line 202 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 234 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 223 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 228 of file guifrontend.cpp.
|
virtual |
update lesson label
Implements Practice::AbstractFrontend.
Definition at line 128 of file guifrontend.cpp.
|
slot |
Definition at line 84 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 239 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 270 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 260 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 245 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 250 of file guifrontend.cpp.
|
virtual |
The result state indicated whether a word is counted as correct (and grades are raised) and can be changed by the user.
Implements Practice::AbstractFrontend.
Definition at line 315 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 255 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 275 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 265 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 294 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 299 of file guifrontend.cpp.
|
virtual |
set a new synonym that should be shown
Implements Practice::AbstractFrontend.
Definition at line 164 of file guifrontend.cpp.
|
virtual |
Implements Practice::AbstractFrontend.
Definition at line 134 of file guifrontend.cpp.
|
slot |
Definition at line 147 of file guifrontend.cpp.
|
slot |
Definition at line 187 of file guifrontend.cpp.
|
slot |
Definition at line 156 of file guifrontend.cpp.
|
slot |
Definition at line 169 of file guifrontend.cpp.
|
slot |
Definition at line 369 of file guifrontend.cpp.
|
virtual |
Enables access to the input of the user.
This is queried by the backend when it needs to evaluate the input.
Implements Practice::AbstractFrontend.
Definition at line 74 of file guifrontend.cpp.
| QWidget * GuiFrontend::widget | ( | ) |
Definition at line 79 of file guifrontend.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Slots inherited from