summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kblendtest.h
blob: 800f2d5624db9a93a9b3f5efaa6269cd0c690ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// Simple little hack to show off blending effects.
//
// (C) KDE Artistic Cristian Tibirna <tibirna@kde.org>
//

#ifndef __KBLEND_TEST_H
#define __KBLEND_TEST_H

#include <qwidget.h>
#include <qimage.h>

class KBlendWidget : public QWidget
{
public:
    KBlendWidget(QWidget *parent=0, const char *name=0);
protected:
    void paintEvent(QPaintEvent *ev);
private:
    QImage image, original;
    QColor bgnd;
};

#endif