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.
25 lines
453 B
25 lines
453 B
15 years ago
|
//
|
||
|
// 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
|
||
|
|
||
15 years ago
|
#include <tqwidget.h>
|
||
15 years ago
|
#include <kpixmap.h>
|
||
|
|
||
14 years ago
|
class KGradientWidget : public TQWidget
|
||
15 years ago
|
{
|
||
|
public:
|
||
15 years ago
|
KGradientWidget(TQWidget *parent=0, const char *name=0)
|
||
|
: TQWidget(parent, name){;}
|
||
15 years ago
|
protected:
|
||
15 years ago
|
void paintEvent(TQPaintEvent *ev);
|
||
15 years ago
|
private:
|
||
|
KPixmap pix;
|
||
|
};
|
||
|
|
||
|
#endif
|