首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

QTableWidget 剪接

2012-12-24 
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));}}


热点排行