20 d_mousePattern( MousePatternCount ),
21 d_keyPattern( KeyPatternCount )
109 Qt::MouseButton button, Qt::KeyboardModifiers modifiers )
128 int key, Qt::KeyboardModifiers modifiers )
150 const QVector<QwtEventPattern::MousePattern> &
157 const QVector<QwtEventPattern::KeyPattern> &
189 const QMouseEvent *event )
const 212 const QMouseEvent *event )
const 235 const QKeyEvent *event )
const 258 const KeyPattern &pattern,
const QKeyEvent *event )
const A pattern for mouse events.
QVector< KeyPattern > d_keyPattern
QVector< MousePattern > d_mousePattern
Number of mouse patterns.
A pattern for key events.
KeyPatternCode
Symbolic keyboard input codes.
void initMousePattern(int numButtons)
bool mouseMatch(MousePatternCode, const QMouseEvent *) const
Compare a mouse event with an event pattern.
bool keyMatch(KeyPatternCode, const QKeyEvent *) const
Compare a key event with an event pattern.
const QVector< KeyPattern > & keyPattern() const
MousePatternCode
Symbolic mouse input codes.
void setMousePattern(MousePatternCode, Qt::MouseButton button, Qt::KeyboardModifiers=Qt::NoModifier)
const QVector< MousePattern > & mousePattern() const
void setKeyPattern(KeyPatternCode, int keyCode, Qt::KeyboardModifiers modifierCodes=Qt::NoModifier)
virtual ~QwtEventPattern()
Destructor.