2014-11-13 01:04:59 +02:00
|
|
|
#ifndef _K_PIXMAPSEQUENCE_OVERLAY_PAINTER_TEST_H_
|
|
|
|
#define _K_PIXMAPSEQUENCE_OVERLAY_PAINTER_TEST_H_
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class KPixmapSequenceOverlayPainter;
|
2017-08-04 09:17:49 +00:00
|
|
|
#include <QComboBox>
|
|
|
|
#include <QSpinBox>
|
|
|
|
#include <QEvent>
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
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
|