/*************************************************************
*
* (c) 1999, 2000 Christoph Pinkel
* This is part of the VisKProg project.
*
* You may use it under the terms of the GPL licence.
* See COPYING for more details!
*
**************************************************************/

#ifndef SUBWIDGET_H
#define SUBWIDGET_H

#include <qwidget.h>
#include <qstring.h>

#include "wholder.h"
#include "prfilter.h"

/*********************************************************************************
	A widget looking like any sub widget (vkWidget):
*********************************************************************************/

class subWin : public widgetHolder
{
	Q_OBJECT

public:
	subWin( int, int, widgetHolder * );	

protected:
	virtual void newProperties( QString props[], QString vals[] );

private:
	void drawPix();

	int r, g, b;

	QPixmap pix;

};


#endif
