QTableView中添加基本控件 定制化表格

一、效果图 二、代码 for(int i=0;iview->model()->rowCount()

一、效果图
在这里插入图片描述
二、代码

for(int i=0;i<view->model()->rowCount()