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

Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes

ExerciseConvert Class Reference

#include <exerciseconvert.h>

Inheritance diagram for ExerciseConvert:
Inheritance graph
[legend]
Collaboration diagram for ExerciseConvert:
Collaboration graph
[legend]

List of all members.

Public Slots

void update ()

Signals

void signalExerciseSkipped ()
void signalExerciseSolvedCorrect ()
void signalExerciseSolvedWrong ()

Public Member Functions

 ExerciseConvert (QWidget *parent=0)
void forceNewTask ()
 ~ExerciseConvert ()

Protected Member Functions

void showEvent (QShowEvent *event)

Private Slots

void denominatorReturnPressed (const QString &)
void numeratorReturnPressed (const QString &)
void slotCheckButtonClicked ()
void slotSkipButtonClicked ()

Private Member Functions

void createTask ()
void nextTask ()
void showResult ()

Private Attributes

QGridLayout * baseGrid
QGridLayout * checkLayout
QWidget * checkWidget
KLineEdit * deno_edit
QFrame * edit_line
QPushButton * m_checkButton
short m_currentState
QString m_number
uint m_periodLength
uint m_periodStart
RationalWidgetm_rationalWidget
ratio m_result
ResultWidgetm_resultWidget
QPushButton * m_skipButton
KLineEdit * numer_edit
QGridLayout * taskLayout
QWidget * taskWidget

Detailed Description

Construct the exercise widget to convert rational numbers into fractions

Author:
Sebastian Stein

Definition at line 50 of file exerciseconvert.h.


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

Generated by  Doxygen 1.6.0   Back to index