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

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

MainQtWidget Class Reference

#include <mainqtwidget.h>

Collaboration diagram for MainQtWidget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MainQtWidget ()
 ~MainQtWidget ()

Static Public Member Functions

static QFont DefaultFont ()

Protected Member Functions

bool queryExit ()

Private Slots

void AdditionCheckSlot ()
void AnswerMixedCheckSlot ()
void DivisionCheckSlot ()
void goBack ()
void MaxMainDenominatorBoxSlot ()
void MultiplicationCheckSlot ()
void newTask ()
void NrOfTermsBoxSlot ()
bool OperationsCheck ()
void QuestionMixedCheckSlot ()
void ReducedFormCheckSlot ()
void SelectArithmetic ()
void SelectComparison ()
void SelectConversion ()
void SelectFactorization ()
void SelectMixedNumbers ()
void SelectPercentage ()
void slotAboutToShowPage ()
void slotApplySettings ()
void slotPrefs ()
void SubtractionCheckSlot ()

Private Member Functions

void readOptions ()
void setupActions ()
void writeOptions ()

Private Attributes

QFont defaultFont
AppMenuWidgetkbruchApp
bool m_addAdd
bool m_addDiv
QCheckBox * m_AdditionCheck
QLabel * m_AdditionLabel
bool m_addMult
bool m_addSub
QGroupBox * m_AnswerGroup
bool m_answerMixed
QCheckBox * m_AnswerMixedCheck
QLabel * m_AnswerMixedLabel
KAction * m_ArithmeticAction
QToolButton * m_ArithmeticButton
KAction * m_BackActionMenu
KAction * m_BackActionTool
QToolButton * m_BackTaskButton
KAction * m_ComparisonAction
QToolButton * m_ComparisonButton
KAction * m_ConversionAction
QToolButton * m_ConversionButton
QCheckBox * m_DivisionCheck
QLabel * m_DivisionLabel
ExerciseComparem_exerciseCompare
ExerciseConvertm_exerciseConvert
ExerciseFactorizem_exerciseFactorize
ExerciseMixedNumbersm_exerciseMixedNumbers
ExercisePercentagem_exercisePercentage
KAction * m_FactorizationAction
QToolButton * m_FactorizationButton
QFrame * m_footerline
QFrame * m_headerline
KAction * m_HintAction
unsigned int m_maxMainDenominator
KComboBox * m_MaxMainDenominatorBox
QLabel * m_MaxMainDenominatorLabel
KAction * m_MixedNumbersAction
QToolButton * m_MixedNumbersButton
QCheckBox * m_MultiplicationCheck
QLabel * m_MultiplicationLabel
KAction * m_NewTaskActionMenu
KAction * m_NewTaskActionTool
QToolButton * m_NewTaskButton
KComboBox * m_NrOfTermsBox
QLabel * m_NrOfTermsLabel
unsigned int m_nrRatios
QGroupBox * m_OperationsGroup
QLabel * m_OptionsLabel
KAction * m_PercentageAction
QToolButton * m_PercentageButton
QGroupBox * m_QuestionGroup
bool m_questionMixed
QCheckBox * m_QuestionMixedCheck
QLabel * m_QuestionMixedLabel
QCheckBox * m_ReducedCheck
bool m_reducedForm
QLabel * m_ReducedLabel
StatisticsViewm_statview
QCheckBox * m_SubtractionCheck
QLabel * m_SubtractionLabel
TaskViewm_taskview
QLabel * m_TitleLabel
ExerciseType selectedTask

Detailed Description

Constructs the main window and presents the user interface. The window is separated into 2 sections. In the left section is the statistic view and in the right section the task view.

Author:
Sebastian Stein
Eva Brucherseifer

Definition at line 67 of file mainqtwidget.h.


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

Generated by  Doxygen 1.6.0   Back to index