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

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

ExerciseMixedNumbers Class Reference

#include <ExerciseMixedNumbers.h>

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

List of all members.

Signals

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

Public Member Functions

 ExerciseMixedNumbers (QWidget *parent=0)
void forceNewTask ()
virtual ~ExerciseMixedNumbers ()

Protected Member Functions

void showEvent (QShowEvent *event)

Private Slots

void denoReturnPressed (const QString &)
void integerReturnPressed (const QString &)
void numerReturnPressed (const QString &)
void slotCheckButtonClicked ()
void slotSkipButtonClicked ()

Private Member Functions

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

Private Attributes

QGridLayout * m_baseGrid
QPushButton * m_checkButton
QGridLayout * m_checkLayout
QWidget * m_checkWidget
short m_currentState
KLineEdit * m_denoEdit
QFrame * m_editLine
KLineEdit * m_integerEdit
bool m_isMixedTask
KLineEdit * m_numerEdit
ResultWidgetm_resultWidget
QPushButton * m_skipButton
task m_task
QGridLayout * m_taskLayout
TaskWidgetm_taskWidget
QWidget * m_tmpTaskWidget

Detailed Description

exercise to convert mixed numbers in ordinary ratios and vice versa

Author:
Sebastian Stein

Definition at line 45 of file ExerciseMixedNumbers.h.


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

Generated by  Doxygen 1.6.0   Back to index