kdelibs/kdeui/tests/kpixmapsequenceoverlaypaintertest.h
Ivailo Monev 61333c4671 generic: namespaced Qt4/Katie build fixes
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>
2017-08-04 09:24:39 +00:00

39 lines
704 B
C++

#ifndef _K_PIXMAPSEQUENCE_OVERLAY_PAINTER_TEST_H_
#define _K_PIXMAPSEQUENCE_OVERLAY_PAINTER_TEST_H_
#include <QWidget>
class KPixmapSequenceOverlayPainter;
#include <QComboBox>
#include <QSpinBox>
#include <QEvent>
class TestWidget : public QWidget
{
Q_OBJECT
public:
TestWidget();
~TestWidget();
bool eventFilter(QObject*, QEvent*);
private Q_SLOTS:
void alignementChanged(int);
void offsetChanged();
private:
KPixmapSequenceOverlayPainter* m_painter;
QWidget* m_widget;
QComboBox* m_alignment;
QSpinBox* m_offsetX;
QSpinBox* m_offsetY;
bool m_draggingLeft;
bool m_draggingRight;
bool m_draggingTop;
bool m_draggingBottom;
};
#endif