In Qt, QKeySequence::Delete
corresponds to deleteForward:
message in MacOS.
What is the Qt equivalent of deleteBackward:
from MacOS? If there is no such thing, how to capture the deleteBackward:
event in Qt?
Qt documentation on key sequences does not mention this: http://qt-project.org/doc/qt-5.0/qtgui/qkeysequence.html
QKeySequence has a constructor that takes key codes:
For deleteBackward: you would use the Qt::Key_Backspace key code. If you for example whish to create a shortcut for a QAction object:
or simply: