QTableWidget 剪接

QTableWidget 剪辑快速创建多个 页表 使用QStackedWidget 添加页, 页上在添加表for(i 0i (count - SE_

QTableWidget 剪辑

快速创建多个 页表

 使用QStackedWidget 添加页, 页上在添加表

for(i = 0;i< (count - SE_page_count*8);i++){for(j = 0;j < 3;j++){comp_one = show_Comp_info[SE_page_count*8+i+1].one;//  所刷新的 内容数据链表comp_two = show_Comp_info[SE_page_count*8+i+1].two;//  所刷新的 内容数据链表comp_three = show_Comp_info[SE_page_count*8+i+1].three;//  所刷新的 内容数据链表if(j==0)SE_Table[order][SE_page_count+1]->setItem(i,j,new QTableWidgetItem(comp_one));if(j==1)SE_Table[order][SE_page_count+1]->setItem(i,j,new QTableWidgetItem(comp_two));if(j==2)SE_Table[order][SE_page_count+1]->setItem(i,j,new QTableWidgetItem(comp_three));}}