1 /***************************************************************************
2 kgroupeduca.h - description
5 copyright : (C) 2000 by Javier Campos Morales
6 email : javi@asyris.org
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 ***************************************************************************/
21 #include <qvbuttongroup.h>
22 #include <qscrollview.h>
26 *@author Javier Campos Morales
28 class KGroupEduca
: public QVButtonGroup
{
32 enum ButtonType
{ Radio
, Check
};
34 KGroupEduca(QWidget
*parent
=0, const char *name
=0);
36 /** Insert a check or radio button */
37 void insertAnswer( const QString
& text
);
39 void setType(ButtonType Type
);
40 /** Clear all kradio or kcheck answers */
42 /** Return if is checked radio or check buttons */
43 bool isChecked(int id
);