Thanks once again. I've found the issue and how to fix it.
Issue was: the event was sent to an object which was not in focus.
Resolution:
Before event sending I should have been get a pointer to the widget. And send event directly to this widget.
Qt Code:
void my_app::key_press_release(int key, Qt::KeyboardModifiers modifier) { }To copy to clipboard, switch view to plain text mode
Bookmarks