Home:ALL Converter>How to select a cell in QTableWidget programmatically

How to select a cell in QTableWidget programmatically

Ask Time:2021-05-15T22:33:18         Author:MOON

Json Formatter

I have an object of QTableWidget. Whenever, I click on a cell of the table, it becomes blue. How can I make a cell blue, say the cell located at row 1 and column 1, programmatically.

Author:MOON,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/67547830/how-to-select-a-cell-in-qtablewidget-programmatically
yy