diff options
Diffstat (limited to 'kdeui/tests/kcolortest.h')
-rw-r--r-- | kdeui/tests/kcolortest.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kdeui/tests/kcolortest.h b/kdeui/tests/kcolortest.h new file mode 100644 index 000000000..52cce12cc --- /dev/null +++ b/kdeui/tests/kcolortest.h @@ -0,0 +1,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 |