diff options
Diffstat (limited to 'kdeui/tests/kgradienttest.h')
-rw-r--r-- | kdeui/tests/kgradienttest.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kdeui/tests/kgradienttest.h b/kdeui/tests/kgradienttest.h new file mode 100644 index 000000000..09b17ffc7 --- /dev/null +++ b/kdeui/tests/kgradienttest.h @@ -0,0 +1,24 @@ +// +// Simple little hack to show off new diagonal gradients. +// +// (C) KDE Artistic Daniel M. Duley <[email protected]> +// + +#ifndef __KGRADIENT_TEST_H +#define __KGRADIENT_TEST_H + +#include <qwidget.h> +#include <kpixmap.h> + +class KGradientWidget : public QWidget +{ +public: + KGradientWidget(QWidget *parent=0, const char *name=0) + : QWidget(parent, name){;} +protected: + void paintEvent(QPaintEvent *ev); +private: + KPixmap pix; +}; + +#endif |