1 /***************************************************************************
2 * ktouchstatistics.cpp *
3 * -------------------- *
4 * Copyright (C) 2000 by Håvard Frøiland, 2003 by Andreas Nicolai *
5 * haavard@users.sourceforge.net *
7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
11 ***************************************************************************/
13 #ifndef KTOUCHCHARTWIDGET
14 #define KTOUCHCHARTWIDGET
23 /// This is the chart widget and contains all chart drawing code.
24 class KTouchChartWidget
: public QFrame
{
34 KTouchChartWidget(QWidget
* parent
, const char *name
=0);
37 /// Sets the chart type and triggers an update.
38 void setChartType(chart_t type
);
40 KTouchTrainer
*m_trainer
; ///< Pointer to the trainer object
43 void paintEvent(QPaintEvent
*pe
);
46 chart_t m_chartType
; ///< Type of chart to draw
49 #endif // KTOUCHCHARTWIDGET