1 /***************************************************************************
2 taskwidget.h - paint a task
5 copyright : (C) 2004 by Sebastian Stein
6 email : seb.kde@hpfsc.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
25 #include "fractionbasewidget.h"
30 /** important for add_sub and mul_div */
34 /** important for op_vector */
40 /*! class to paint task with fractions
42 * \author Sebastian Stein */
43 class TaskWidget
: public FractionBaseWidget
49 TaskWidget(QWidget
* parent
, const char * name
, const task para_task
);
54 /** set the task to be displayed */
55 void setTask(const task para_task
);
59 /** the task to be displayed */
62 /** overrideing the paint event of FractionBaseWidget */
63 void paintEvent(QPaintEvent
*);