You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
359 B
22 lines
359 B
15 years ago
|
#ifndef __KCOLORTEST_H
|
||
|
#define __KCOLORTEST_H
|
||
|
|
||
|
#include <qwidget.h>
|
||
|
#include <qimage.h>
|
||
|
#include <kpixmap.h>
|
||
|
|
||
|
class KColorWidget : public QWidget
|
||
|
{
|
||
|
public:
|
||
|
KColorWidget(QWidget *parent=0, const char *name=0);
|
||
|
void doIntensityLoop();
|
||
|
protected:
|
||
|
void paintEvent(QPaintEvent *ev);
|
||
|
private:
|
||
|
QImage image, original;
|
||
|
KPixmap pixmap;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|