QTableView change tab order direction to vertical instead of horizontal
I want to make it so that pressing the tab key in a QTableView makes focus move to the next cell down instead of the next cell to the right. Is there a simple way to do this? I could probably do it by putting in a tab key press event handler, but that would take a lot of coding and would be real easy to mess up. Not really worth the work.
Re: QTableView change tab order direction to vertical instead of horizontal
Could probably be done with an event filter.
Catch the tab event and send a down event instead.
Cheers,
_
Re: QTableView change tab order direction to vertical instead of horizontal
Quote:
Originally Posted by
anda_skoa
Could probably be done with an event filter.
Catch the tab event and send a down event instead.
Cheers,
_
Yeah, I thought of that one, I was just hoping there was a setting in table view I wasn't seeing that would do it. No such luck I see. Thanks for replying and thanks for verifying what I was thinking was the right path. Validation is always nice.:)
By the way, do you know if there's a way to mark a question as solved? I would have to say this one is.
Re: QTableView change tab order direction to vertical instead of horizontal
Quote:
Originally Posted by
TonyInSoMD
By the way, do you know if there's a way to mark a question as solved? I would have to say this one is.
No, I don't think there is.
Cheers,
_