11 #define QWT_PANNER_H 1 43 void setEnabled(
bool );
44 bool isEnabled()
const;
46 void setMouseButton( Qt::MouseButton,
47 Qt::KeyboardModifiers = Qt::NoModifier );
48 void getMouseButton( Qt::MouseButton &button,
49 Qt::KeyboardModifiers & )
const;
51 void setAbortKey(
int key, Qt::KeyboardModifiers = Qt::NoModifier );
52 void getAbortKey(
int &key, Qt::KeyboardModifiers & )
const;
54 void setCursor(
const QCursor & );
55 const QCursor cursor()
const;
57 void setOrientations( Qt::Orientations );
58 Qt::Orientations orientations()
const;
60 bool isOrientationEnabled( Qt::Orientation )
const;
62 virtual bool eventFilter( QObject *, QEvent * );
71 void panned(
int dx,
int dy );
80 void moved(
int dx,
int dy );
83 virtual void widgetMousePressEvent( QMouseEvent * );
84 virtual void widgetMouseReleaseEvent( QMouseEvent * );
85 virtual void widgetMouseMoveEvent( QMouseEvent * );
86 virtual void widgetKeyPressEvent( QKeyEvent * );
87 virtual void widgetKeyReleaseEvent( QKeyEvent * );
89 virtual void paintEvent( QPaintEvent * );
91 virtual QBitmap contentsMask()
const;
92 virtual QPixmap grab()
const;
96 void showCursor(
bool );
QwtPanner provides panning of a widget.