18 void setShortCut(Qt::KeyboardModifiers modifier, Qt::Key key);
19 void setShortCut(
const QString &sequenceString);
24 void shortcutChanged(Qt::KeyboardModifiers modifier, Qt::Key key);
25 void shortcutStringChanged(
const QString &sequenceString);
28 virtual void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
29 virtual void focusInEvent(QFocusEvent *e) Q_DECL_OVERRIDE;
30 virtual void focusOutEvent(QFocusEvent *e) Q_DECL_OVERRIDE;
31 virtual void keyPressEvent(QKeyEvent *e) Q_DECL_OVERRIDE;
32 virtual void mouseDoubleClickEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
34 void notifyShortcutChanged(Qt::KeyboardModifiers modifier, Qt::Key key);
37 QScopedPointer<ShortcutEditPrivate> d_ptr;