blob: ac8716d5913953e5401f887df139d14a585ff300 (
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 <tqwidget.h>
#include <tqimage.h>
#include <kpixmap.h>
class KColorWidget : public QWidget
{
public:
KColorWidget(TQWidget *parent=0, const char *name=0);
void doIntensityLoop();
protected:
void paintEvent(TQPaintEvent *ev);
private:
TQImage image, original;
KPixmap pixmap;
};
#endif
|