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

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

ExercisePercentage Class Reference

#include <exercisepercentage.h>

Inheritance diagram for ExercisePercentage:
Inheritance graph
Collaboration diagram for ExercisePercentage:
Collaboration graph

List of all members.

Public Slots

void update ()


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

Public Member Functions

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

Private Slots

void answerReturnPressed (const QString &)
void slotCheckButtonClicked ()
void slotSkipButtonClicked ()

Private Member Functions

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

Private Attributes

KLineEdit * answer_edit
QGridLayout * baseGrid
QGridLayout * checkLayout
QWidget * checkWidget
QFrame * edit_line
QPushButton * m_checkButton
short m_currentState
QString m_numberPercentage
QString m_numberPercentageOf
ratio m_result
QString m_resultPercentage
QPushButton * m_skipButton
QLabel * m_taskLabel
QGridLayout * taskLayout
QWidget * taskWidget

Detailed Description

Construct the exercise widget to work with percentage

Sebastian Stein
Tiago Porangaba

Definition at line 48 of file exercisepercentage.h.

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

Generated by  Doxygen 1.6.0   Back to index