/***************************************************************************
                          progressbarpreview.h -  description
                             -------------------
begin		: July 2004
copyright	: (C) 2004 by David Sansome
email		: me@davidsansome.com
description	: a preview widget for apollon progress bars

 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 PROGRESSBARPREVIEW_H
#define PROGRESSBARPREVIEW_H
 
#include <qpainter.h>
#include <kpixmapeffect.h>
#include <qwidget.h>
#include <qpixmap.h>

class ApollonProgressBarPreview : public QWidget
{
public:
	ApollonProgressBarPreview(QWidget* parent);
	void paintEvent(QPaintEvent* e);
	
private:
	QPixmap m_gradient;
	int m_lastWidth;
};

#endif
