diff options
Diffstat (limited to 'kdeui/tests/kdesattest.h')
-rw-r--r-- | kdeui/tests/kdesattest.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/kdeui/tests/kdesattest.h b/kdeui/tests/kdesattest.h new file mode 100644 index 000000000..71a51c0be --- /dev/null +++ b/kdeui/tests/kdesattest.h @@ -0,0 +1,31 @@ +// +// 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> +#include <knuminput.h> + +class KDesatWidget : public QWidget +{ +Q_OBJECT +public: + KDesatWidget(QWidget *parent=0, const char *name=0); + +public slots: + void change(double); + +protected: + void paintEvent(QPaintEvent *ev); +private: + float desat_value; + QImage image; + KDoubleNumInput *slide; +}; + +#endif |