diff options
Diffstat (limited to 'tdeui/tests/kgradienttest.h')
-rw-r--r-- | tdeui/tests/kgradienttest.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tdeui/tests/kgradienttest.h b/tdeui/tests/kgradienttest.h new file mode 100644 index 000000000..ba99c8313 --- /dev/null +++ b/tdeui/tests/kgradienttest.h @@ -0,0 +1,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 TQWidget +{ +public: + KGradientWidget(TQWidget *parent=0, const char *name=0) + : TQWidget(parent, name){;} +protected: + void paintEvent(TQPaintEvent *ev); +private: + KPixmap pix; +}; + +#endif |