wong2
wong2

Reputation: 35760

How could I select a row in QTableWidget?

I want to select a row in QTableWidget in my program. How can I do it?

Upvotes: 0

Views: 2135

Answers (1)

zkunov
zkunov

Reputation: 3412

  • Open Qt Assistant.
  • Look for QTableWidget
  • Find and click on 'List of all members, including inherited members', it is in the beginning.
  • Ctrl + F
  • enter 'selectrow'
  • click on the found function and see what it does

Alternative way is to look directly for 'selectRow' in the Qt Assistant, but then you will have to know that QTableWidget inherits QTableView.

Hope this helps.

Upvotes: 6

Related Questions