【1】QTable简介
QTable是QT对话框设计中常用的显示数据表格的控件。
【2】QTable控件属性
(1)初始化表格
table ->setWindowTitle(tr("Table"));//设置表格标题
table ->setColumnCount(4);// 设置列数
table->setRowCount(10
【1】QTable简介
QTable是QT对话框设计中常用的显示数据表格的控件。
【2】QTable控件属性
(1)初始化表格
table ->setWindowTitle(tr("Table"));//设置表格标题
table ->setColumnCount(4);// 设置列数
table->setRowCount(10