mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 19:02:48 +00:00
39 lines
692 B
C++
39 lines
692 B
C++
#ifndef _K_PIXMAPSEQUENCE_OVERLAY_PAINTER_TEST_H_
|
|
#define _K_PIXMAPSEQUENCE_OVERLAY_PAINTER_TEST_H_
|
|
|
|
#include <QWidget>
|
|
|
|
class KPixmapSequenceOverlayPainter;
|
|
class QComboBox;
|
|
class QSpinBox;
|
|
class 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
|