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.
tdelibs/kdeui/tests/kblendtest.h

25 lines
425 B

//
// 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