开发者

How could I select a row in QTableWidget?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜