summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kgradienttest.h
blob: a793bfa5cfe4b9f7595e57de5e352a317df0f67f (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 new diagonal gradients.
//
// (C) KDE Artistic Daniel M. Duley <mosfet@kde.org>
//

#ifndef __KGRADIENT_TEST_H
#define __KGRADIENT_TEST_H

#include <tqwidget.h>
#include <kpixmap.h>

class KGradientWidget : public QWidget
{
public:
    KGradientWidget(TQWidget *parent=0, const char *name=0)
        : TQWidget(parent, name){;}
protected:
    void paintEvent(TQPaintEvent *ev);
private:
    KPixmap pix;
};

#endif