Logo Search packages:      
Sourcecode: parley version File versions  Download package

Public Slots | Signals | Public Member Functions | Protected Attributes

Practice::AbstractModeWidget Class Reference

Inheritance diagram for Practice::AbstractModeWidget:
Inheritance graph
[legend]
Collaboration diagram for Practice::AbstractModeWidget:
Collaboration graph
[legend]

List of all members.

Public Slots

virtual void showQuestion ()=0
virtual void showSolution ()=0
virtual void showSynonym ()=0

Signals

void continueAction ()
void hintAction ()
void skipAction ()

Public Member Functions

 AbstractModeWidget (GuiFrontend *frontend, QWidget *parent=0)
virtual void setFeedback (const QVariant &feedback)=0
virtual void setFeedbackState (AbstractFrontend::ResultState feedbackState)=0
virtual void setHint (const QVariant &hint)=0
virtual void setQuestion (const QVariant &question)=0
virtual void setQuestionFont (const QFont &font)=0
virtual void setQuestionPronunciation (const QString &pronunciationText)=0
virtual void setQuestionSound (const KUrl &soundUrl)=0
virtual void setResultPalettes (const QPalette &correctPalette, const QPalette &wrongPalette)
virtual void setResultState (AbstractFrontend::ResultState resultState)=0
virtual void setSolution (const QVariant &solution)=0
virtual void setSolutionFont (const QFont &font)=0
virtual void setSolutionPronunciation (const QString &pronunciationText)=0
virtual void setSolutionSound (const KUrl &soundUrl)=0
virtual void setSynonym (const QString &entry)=0
virtual QVariant userInput ()=0

Protected Attributes

QPalette m_correctPalette
GuiFrontendm_frontend
QPalette m_wrongPalette

Detailed Description

Definition at line 26 of file abstractwidget.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index