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

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

StatisticsView Class Reference

#include <statisticsview.h>

Collaboration diagram for StatisticsView:
Collaboration graph

List of all members.

Public Slots

void addCorrect ()
void addSkipped ()
void addWrong ()
void resetStatistics ()

Public Member Functions

 StatisticsView (QWidget *parent=0)
 ~StatisticsView ()

Private Member Functions

void calc ()

Private Attributes

QHBoxLayout * buttonLayout
QFont defaultFont
QLabel * info1Label
QLabel * info2Label
QLabel * info3Label
QLabel * info4Label
QGridLayout * labelGrid
QVBoxLayout * layout1
unsigned int m_correct
unsigned int m_count
unsigned int m_skipped
QPushButton * resetButton
QLabel * result1Label
QLabel * result2Label
QLabel * result3Label
QLabel * result4Label

Detailed Description

StatisticsView takes care of the statistics of a test. It saves the number of correct and wrong answers and displays this data to the user.

Sebastian Stein
Eva Brucherseifer

Definition at line 49 of file statisticsview.h.

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

Generated by  Doxygen 1.6.0   Back to index