summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kalphaicontest.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests/kalphaicontest.h')
-rw-r--r--kdeui/tests/kalphaicontest.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kdeui/tests/kalphaicontest.h b/kdeui/tests/kalphaicontest.h
new file mode 100644
index 000000000..66d26e6f3
--- /dev/null
+++ b/kdeui/tests/kalphaicontest.h
@@ -0,0 +1,24 @@
+#include <kdebug.h>
+#include <qwidget.h>
+#include <qimage.h>
+#include <qpixmap.h>
+#include <kimageeffect.h>
+#include <kalphapainter.h>
+
+class KAlphaTest : public QWidget
+{
+ public:
+ KAlphaTest();
+ protected:
+ void paintEvent(QPaintEvent *);
+ private:
+ QImage m_image;
+ QPixmap m_pixmap;
+ QImage m_bg;
+
+ public:
+ static bool m_useDblBuffer;
+ static bool m_usePixmap;
+ static bool m_correctOverlapping;
+};
+