/***************************************************************************
                          kquestion.h  -  description
                             -------------------
    begin                : Tue May 22 2001
    copyright            : (C) 2001 by Javier Campos Morales
    email                : javi_c@ctv.es
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/


#ifndef KQUESTION_H
#define KQUESTION_H

#include <qframe.h>

#include <qtextview.h>
#include <qlabel.h>

/**Question view
  *@author Javier Campos Morales
  */

class KQuestion : public QFrame  {
   Q_OBJECT
public: 
	KQuestion(QWidget *parent=0, const char *name=0);
	~KQuestion();
  /** Set pixmap */
  void setPixmap( const QString &pixmap);
  /** Set text */
  void setText( const QString &text);
private: // Private methods
  /** Init graphical interface */
  void initGUI();
private: // Private attributes
  /** Main View */
  QTextView *View;
  /** Main Picture */
  QLabel *Picture;
};

#endif
