summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kcolortest.h
blob: 52cce12cccbb7080ff47e73301575ac19aeb579d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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