Working with QTable Cellwidgets from keyboard
-
Hi all. Can anyone help me - is there any default way to move input focus onto and from cellWidgets (QLineEdits and QComboBoxes) by keyboard?
-
No, not strong focus.
I have table, in two columns there may be qlineedits or qcomboboxes. There are many rows and in most of them there are cellwidgets in those two columns.
When I'm moving focus between cells in table by using keyboard arrows I don't know if there is any way to move focus from cell to cell widget that is placed into that cell. So even when I move to cell with QLineEdit I can't start editing it's contents from keyboard (or I don't know how to do it) and I can't go back to moving between cells by arrows (escape just closes form).
Second problem is that when I start moving focus by pressing tab key it will move to first cell widget in first row of the table, to second, to last and then it will go back to first. I can't move focus by tabbing to cell widgets of second, third and all other rows, except for first and I can't move focus to other widget on that form, except for that cell widgets in first row of the table.