I am using a QMainWindow
with few QLineEdits
and with some QPushButtons
in it. When the focus is in a QLineEdit
(if I type something in the QLineEdit
) and if I press the F5 key, I want to show a QDialog
.
That QDialog
contains a QTableView
. My question is, when I press the F5 key, I want to move the focus from the QLineEdit
to the QTableView
's cell. How can I achieve this?