mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 19:02:48 +00:00

most of the changes were done trought Katie's namefsck script which convertes forward class declarations to include directives, however other fixes here and there were needed as well as some questionable changes to Q_DECLARE_TYPEINFO() macro calls because they most likely have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and probably will be in Katie) meaning that some of the changes may be temporary and reverted later. Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
29 lines
557 B
C++
29 lines
557 B
C++
#ifndef KICONEFFECTTEST_H
|
|
#define KICONEFFECTTEST_H
|
|
|
|
#include <QtGui/QScrollArea>
|
|
#include <QtGui/QImage>
|
|
|
|
#include <QLabel>
|
|
|
|
class KIconEffectTestWidget : public QScrollArea
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
KIconEffectTestWidget(QWidget *parent=0);
|
|
private Q_SLOTS:
|
|
void slotGray(int);
|
|
void slotMonochrome(int);
|
|
void slotDesaturate(int);
|
|
void slotGamma(int);
|
|
void slotColorizeColor(const QColor &);
|
|
void slotColorizeValue(int);
|
|
private:
|
|
QImage img;
|
|
QLabel *lbl[6];
|
|
QColor colorizedColor;
|
|
float colorizedValue;
|
|
};
|
|
|
|
#endif
|
|
|