Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Automatically scroll to edited cell of QTableWidget?

$
0
0
Hi, I am using a QTableWidget in Main Window class. There are more cells than the screen can show, hence scroll bars are created automatically. Now I am changing certain cells text by code. This happens successfully, but the scroll bars don’t change automatically to show the edited cell. So if the cell is not in the visible region the user does not know which cell is getting changed. However when I manually scroll I find that the cell is selected automatically. So my question is what is the best way to update position of scroll bars, so that the cell that is selected may be visible to the user? Thanks!

Viewing all articles
Browse latest Browse all 13965

Trending Articles