Warning, file /frameworks/kwidgetsaddons/tests/kpixmapsequenceoverlaypaintertest.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef _K_PIXMAPSEQUENCE_OVERLAY_PAINTER_TEST_H_ 0002 #define _K_PIXMAPSEQUENCE_OVERLAY_PAINTER_TEST_H_ 0003 0004 #include <QWidget> 0005 0006 class KPixmapSequenceOverlayPainter; 0007 class QComboBox; 0008 class QSpinBox; 0009 class QEvent; 0010 0011 class TestWidget : public QWidget 0012 { 0013 Q_OBJECT 0014 0015 public: 0016 TestWidget(); 0017 ~TestWidget() override; 0018 0019 bool eventFilter(QObject *, QEvent *) override; 0020 0021 private Q_SLOTS: 0022 void alignementChanged(int); 0023 void offsetChanged(); 0024 0025 private: 0026 KPixmapSequenceOverlayPainter *m_painter; 0027 0028 QWidget *m_widget; 0029 QComboBox *m_alignment; 0030 QSpinBox *m_offsetX; 0031 QSpinBox *m_offsetY; 0032 0033 bool m_draggingLeft; 0034 bool m_draggingRight; 0035 bool m_draggingTop; 0036 bool m_draggingBottom; 0037 }; 0038 0039 #endif