I want to develop a control that listen for keyPressEvent and displays the key combination entered. For example, if control and O is pressed, I want to display Ctrl + O.
I found a way to do this using a dummy QKeySequence to translate Qt::Key to string. However, when I hit Shift and ; I get "Shift + :" in the string returned. Is there a way when retrieving the key in key press event(or any other event) to not get the result of the key combination ?
Bookmarks