Solved Table Navigation with NoItemFlags
-
@mrjj hmm that's not really an option. If I was content with that I wouldn't have asked :)
I guess the complaining users just have to live with it, unless I work around that issue by overriding the whole navigation (which seems overkill for that) -
@Megamouse
Well the tiny selection rect is far less intrusive than full one. hence i asked.You could try to fix the End key issue with scanning for
a new cell that can have focus. and handle that case your self and
else just call native keyhandling.https://forum.qt.io/topic/97293/qtableview-navigation-with-tab/3
-
@mrjj said in Table Navigation with NoItemFlags:
Home still works. ( to go back to first )
From what I can see in the code I would say Home is going to the first enabled + visible row but End or Ctrl+End goes simply to the last visible row / column without checking for enabled. Is this what you see?
-
@Christian-Ehrlicher
Hi
Actually if last cell is not selectable and or enabled, then the end key do nothing.
Meaning it wont go to last cell (in row) that can have focus/ be selected. -
Ah, I see.
@Megamouse : Can you please create a bug report for it so I've a reference for the bugfix. -
-
@Christian-Ehrlicher
sorry but i've never built Qt myself so i don't really know how to test your commit -
What OS are you on ?
-
@SGaist Windows 10
-
No problem. think the unit tests are enough :)