开发者

How could I select a row in QTableWidget?

开发者 https://www.devze.com 2023-02-18 13:34 出处:网络
I want to select a row in QTa开发者_开发技巧bleWidget in my program. How can I do it? Open Qt Assistant.

I want to select a row in QTa开发者_开发技巧bleWidget in my program. How can I do it?


  • 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消